Microsoft/vscode

Shift + click the item in Outline view to select the related code (function, var...)

Open

#149.034 geöffnet am 8. Mai 2022

Auf GitHub ansehen
 (1 Kommentar) (7 Reaktionen) (2 zugewiesene Personen)TypeScript (10.221 Forks)batch import
feature-requesthelp wantedoutline

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

It would be nice if we could have a possibility to quickly select the whole functions. In the text editor that I have used it is double-click on the item in the functions panel which allows that.

However, since double-click action in the Outline view is reserved in VSCode for giving focus to the editor, I suggest that you implement Shift+click on the item in the Outline view for selecting the full code of functions. Or, if you do that on the item that represents the definition of var/const, then the line with that definition could be selected.

Contributor Guide