elementary / elementary/code

Sort symbols pane by location

オープン
#809 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Needs Design Status: Incomplete
主要言語
Vala
スター
521
フォーク
118
平均マージ
1日 8時間
マージ済み PR(30日)
14

説明

## Prerequisites
- [x] I have searched open and closed issues for duplicates.

## Feature
The symbols pane is very useful, but I find it difficult to use because it sorts the symbols alphabetically. In other code editors (like Builder and Visual Studio), the symbols outline is sorted by where it appears in the code, or there's an option to do so. So functions that appear at the top of the file appear at the top of the outline, and so on. I think of my code spatially, so this is much more natural to me than alphabetically hunting down the function I'm looking for.

Here's what it looks like in Visual Studio Code. I've included the file with functions collapsed, so you can see how the outline maps functions to their locations in code exactly.
![Screenshot from 2020-05-04 10 28 41](https://user-images.githubusercontent.com/29022469/80989519-47893d80-8df2-11ea-8e6e-8c3da97e67ef.png)

I don't expect this to be the only option, so it would probably require a switching interface of some sort. Again, here's what Visual Studio Code does:
![Screenshot from 2020-05-04 10-21-48_modified](https://user-images.githubusercontent.com/29022469/80989975-e150ea80-8df2-11ea-83ba-de0571f3ab64.png)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。