elementary / elementary/code

Have an indentation guides option

未关闭
#1,054 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Needs Design Priority: Wishlist
主要语言
Vala
星标
521
派生
118
平均合并
1 天 8 小时
30 天内合并 PR
14

描述

## Problem

Some times extraneous spaces get inserted at the start of lines when cutting and pasting from another source. It is then hard to tell which lines are correctly indented by a multiple of 4 spaces.

## Proposal

Vertical dotted lines at the correct tab spacing in the space preceding indented lines would be useful for detecting extraneous spaces.

## Prior Art

Other IDEs like Geany implement this
![IndentationGuidesGeany](https://user-images.githubusercontent.com/10513844/120214710-c38bca00-c22c-11eb-9cc3-817d261af488.png)
You can easily see in the example that there is an extraneous space before a closing brace.

贡献指南

打开贡献指南

调研方向

首先检查 elementary/code 仓库中的编辑器视图及其现有的缩进或显示设置。当某个选项能够在缩进的行之前,按照配置的制表符间距显示垂直点状辅助线,并包含提案中所示的间距时,该功能即完成。

由索引模型根据 Issue 内容生成。

评估

领域
desktop
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。