-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an option to always show parent folder for files in tabs #12965
Comments
Currently there is no setting for this. |
Also interested in seeing this! Should it be a feature or extension? |
seems a bit much to make it an extension. i'd vote for a configurable option |
Either a feature or an extension would be great... I have to say, for index files it'd I'd really love it if the parent folder name was emphasized over the "index" file name (e.g., if "index" was greyed out a bit) This would really set apart vscode for me, as working in multiple index files requires a significant cognitive load |
One of those things that not many people will think to search/vote for, but I think a lot of people would gain value from. |
+1, especially useful for components like |
For reference, tabsTitleControl.ts#L272 would be the place to check for a config setting:
|
I need this feature only for children folders of speciefed folder (for domain based structure of components). example (only for "components" folder): /components/Footer/Copyright.tsx > Footer/Copyright.tsx and if Folder == File, then only File: /components/Footer/Footer.tsx > Footer.tsx |
An Atom plugin exists for this. If someone makes an equivalent plugin for VSC first -- great -- if not, it'd be nice to see it become an editor setting. |
#33718 provides a simple boolean configuration which controls whether tab descriptions are always shown. A more complicated followup PR could provide a template system similar to |
* Add template system for tab descriptions. (#12965) * Add a boolean flag to onConfigurationChanged to prevent updates during initialization. * - Change configuration key to 'workbench.editor.tabSubtitle'. - Change configuration type to the enum ['default', 'short', 'medium', 'long'] - Move path logic into FileEditorInput. - Move configuration handling into GroupService/ITabOptions. - Refactor duplicate path shortening logic. * Don't consider empty-string descriptions during de-duplication. Don't show subtitle when all descriptions are identical. * Minor fixes and documentation.
Pushed the changes, a new setting |
Verification: play around with the |
Going along with this I find myself getting confused by fuzzy find really
often here because it doesn't prioritize index.js files. Would be
dramatically helpful if it weighted those as high as regular files, and
highlighted them more clearly too.
…On Thu, Sep 21, 2017 at 9:12 AM Benjamin Pasero ***@***.***> wrote:
*Verification*: play around with the workbench.editor.labelFormat setting
and see that the description portion of the editor label in the tab well
changes depending on the setting. Also verify for when tabs are disabled.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12965 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAvRIO9tBhDzhFVoCRLCiwdzxLIktMkks5skorhgaJpZM4KJfJ7>
.
|
This is a fantastic feature for js devs - is there a way to always turn this on so all file tabs show the parent directory name not just when dupe filenames are open?
https://www.dropbox.com/s/oqgf7tdqg5vsm7b/Screenshot%202016-09-28%2018.23.16.png?dl=0
The text was updated successfully, but these errors were encountered: