-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Project title in main window title #2281
Comments
We should merge this with the user story https://trello.com/card/update-native-window-title-to-show-current-document-file-name-path/4f90a6d98f77505d7940ce88/570 |
Reviewed. Move to backlog. |
Will consider this as part of https://trello.com/c/PIwkuyYM |
This task is set to Done on Trello (if I'm understanding it correctly), but Brackets still doesn't show the root/project folder name in the window title. This feature is really useful -- Here's another person's feedback who has asked for it: The editor I'm using for now (Sublime Text) has this. Can you create a new task in Trello for adding this? Thank you very much. |
@DEVTIME: Hmm... is this a Mac-only thing? When I launch Sublime on Windows, it shows the current filename's absolute path, but it doesn't include any succinct label for the root "project" folder. |
@peterflynn Did you save the file as part of a project? The command for this is: Project | Save Project As... |
@DEVTIME Oh, oops. If I use File > Open Folder I see something like this: () - Sublime Text 2 Is that what you're seeing? I guess one question I have is, how often is the current file's absolute path short enough that the folder name is visible in places like the OS X Dock labels, the Windows Taskbar butons, etc.? |
(Sorry for taking so long to answer... I was on vacation first, and then life got in the way...)
No, in OS X Sublime Text displays: <current file basename> — <project folder basename> It only displays a longer filename if there are two files with the same basename open in tabs for the current window. I like this, because it is both short, clear, and useful:
|
Reopening -- sorry this stalled. We'd like to add the project root's folder name to the titlebar, so the overall titlebar string should look like this: () - Brackets Whereas currently Brackets shows just this: - Brackets |
@peterflynn Thanks for picking this up again. Really appreciated. |
I've marked this a 'starter bug' since it should be an easy fix :-) |
@peterflynn Thank you so much for working on this. :) |
@peterflynn @DEVTIME I took a whack at this, see #6878. |
Assigning to me since I'm reviewing the PR |
Project name is now displayed, will be present in v1.1. 😃 |
Closing since the PR has been merged |
…or-logs * origin/master: (69 commits) Issue #2281, display project name in window title Remove the negative margin hack which is no longer needed Updated by ALF automation. Disable Mac-specific `backface-visibility` rules that cause Windows text rendering (on newer Chromiums) to strop doing subpixel antialiasing (aka ClearType) anywhere in the UI. Updated by ALF automation. JSDoc strip dirty dot from file name fix style sheet parsing remove unused var remove unnecessary call to EditorManager.getFocusedEditor() Updated by ALF automation. Validate maxResults is an integer ValidationUtils improvements Add new pref maxCodeHints Nits and doc. Use this.name for toString() instead of this.id. * Mark DocumentManager's old events as deprecated *before* extensions have a chance to register for them. Clean up docs. * Fix $() shim warning: it was incorrectly flagging r.js-concatenated extensions as core code, since the whole path prefix is wiped off in that case. Unfortunately the same is true of core code in production builds, making the two indistinguishable. So: only flag as core code when the path indicates a dev build Updated by ALF automation. Fix bug with detaching one() listeners via off(), spotted thanks to a question from @Mark-Simulacrum. With unit tests. - Convert PreferencesSystem & PrefixedPreferencesSystem to use EventDispatcher, while preserving their existing public API with nonstandard on()/off() APIs - Remove long-deprecated ability to create resizable bottom panels via makeResizable() without using createBottomPanel(). (Simplifies code a bit, but leave in a console error log in case anyone hits this in the future). - Fix Editor docs about keyboard events - Docs & error message tweaks from code review - Simplify assert() calls that are meant to force a debugger pause ... Conflicts: src/utils/AppInit.js
It would be nice to have the name of the current project in the title of the main window. I usually have several windows of brackets running and alt-tabbing between. It gets confusing without the title :)
The text was updated successfully, but these errors were encountered: