microsoft / microsoft/vscode-cpptools

Group source and header in open editor tabs

Offen
#2,307 8 Kommentare 9 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Feature Request Language Service
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

Type: LanguageService

Hello,
i posted the following request in the VSCode repository, but they said it is an issue for the extension, therefore i would like to request this feature here:

Issue Type: Feature Request

Hello,

when editing C++ projects most times i have the implementation and header file for the classes (i am currently editing) open at the same time. I like to have the editor tabs grouped so that the header is next to the implementation file (xx.cpp | xx.h | xy.cpp | xy.h ...).

Is it possible if a new tab is openend that it is moved automatically right beside the one with the same name (except for the file extension)? And e.g. if i Ctrl+Click on a Symbol in xy.cpp the file where the symbol is declared will be opened to the right, could this be changed so that the new editor tab would be opened at the right edge of all opened editors or to the right of the "Group" of implementation and header?

Best regards,
Jan Masak

VS Code version: Code 1.25.0 (0f080e5, 2018-07-05T13:11:58.697Z)
OS version: Windows_NT x64 6.1.7601
C/C++ Extension Version: 0.17.6

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es werden keine Quelldateien oder Tests genannt. Beginne damit zu prüfen, wie die C/C++-Erweiterung die VS Code-Editor-Tabs und die Symbolnavigation per Ctrl+Click behandelt; als abgeschlossen gilt die Aufgabe, wenn .cpp- und .h-Dateien nebeneinander geöffnet werden und neu geöffnete Deklarations-Tabs dem angeforderten Gruppen- oder Randverhalten folgen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, vscode
Bereich
desktop, developer-experience
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.