brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

Closing the only window quits Brackets #12238

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by appsforartists Monday Feb 11, 2013 at 22:13 GMT Originally opened as https://github.com/adobe/brackets/issues/2848


When I first open Brackets, my natural inclination is to close the Getting Started window, then open a new project to work on. Brackets quits itself if no windows are open. As a long-time Mac user, this feels alien to me.

core-ai-bot commented 3 years ago

Comment by pthiess Thursday Feb 14, 2013 at 00:25 GMT


@appsforartists I cannot reproduce this, I can close all documents in my project without closing Brackets (please test this with the Sprint 20 build coming out at the end of this week. In case you can reproduce please list exact steps.

Thanks a ton! Peter

core-ai-bot commented 3 years ago

Comment by appsforartists Thursday Feb 14, 2013 at 02:37 GMT


If I hit Cmd-W in Sprint 20, nothing happens (presumably because there's now a distinction between closing a window and closing a tab). If I click the red close dot, the app quits. For comparison, TextMate, Chrome (and most other Mac apps over the last 30 years) stay open even with all their windows closed and let me open a new window.

This is what I naturally think the first time I open Brackets:

It's very counter intuitive that a new project opens in the existing window. That should be for my old project.


I just realized that you can only have one project open at a time in Brackets. That's really dumb. What if I want to look at the source to a library in /Library/Python/2.7/site-packages while also looking at my source code in the relevant project? What if I want a scratch editor to work in temporarily (without cluttering up my hard disk with a file I don't need saved)?

I use empty windows in TextMate all the time to write some code I'm going to paste into a REPL, e-mail, or web app and never want saved locally. They're also useful to split a long URL into separate lines to make it easier to decipher. I shouldn't have to save a file to type in a window, and I definitely shouldn't have to abandon (or save) my changes in one project to read the source of another one.

I hope this doesn't come across as to harsh, but this design decision is cripples the likelihood that I'd switch to Brackets fulltime.

core-ai-bot commented 3 years ago

Comment by redmunds Thursday Feb 14, 2013 at 02:58 GMT


I just realized that you can only have one project open at a time in Brackets

It's an experimental feature (which is why it's in the Debug menu), but you can use Debug > New Brackets Window to open a second window which can switch to a different project.

core-ai-bot commented 3 years ago

Comment by njx Thursday Feb 14, 2013 at 03:53 GMT


Hi@appsforartists -- you might not be aware that Brackets is still early in its development, and a number of things you mention aren't design decisions, but rather things that we haven't gotten to yet. For example, the ability to create a new blank file without saving it is on our backlog here: https://trello.com/c/WUdhIRlh. I know I want this all the time too :)

As@redmunds mentioned, you can also open a second window and choose a separate project in there (though this isn't an "official" feature yet). Aside from the lack of a "new blank file" feature that you mentioned, would it be important to you to be able to open multiple folders in the same sidebar? If so, what would your expectations be as far as things like "Find in Files"--would you expect it to search all of the open folders?

Thanks for the feedback--we're constantly reprioritizing our work based on this kind of input.

core-ai-bot commented 3 years ago

Comment by appsforartists Thursday Feb 14, 2013 at 05:01 GMT


I'd like to see Cmd+N bound to New Tab and Cmd+Shift+N bound to New Window (both containing a blank document). I should then be able to save it and have it appear in the right place in the sidebar, if I save it into my project folder. I should also be able to right-click/ctrl-click the project sidebar to create a new file (touch, rename, open in current window).

Open should always create a new window, and I should be able to open a file or a folder with Cmd-O. (#2797)

My gut says it would be silly to have multiple folders open in the same window, but I'm open to persuasion if there's a compelling feature it enables.

core-ai-bot commented 3 years ago

Comment by albertxing Sunday Apr 07, 2013 at 04:06 GMT


Open should always create a new window, and I should be able to open a file or a folder with Cmd-O.

I've always been used to opening files in the same window, but folders/projects in a new one.

core-ai-bot commented 3 years ago

Comment by peterflynn Thursday May 22, 2014 at 21:20 GMT


Bumping up from 'no priority' since mismatching how most Mac native apps behave does seem like something we'd like to fix eventually (just not a major issue).

Also removing 'tracking' tag since there's no external bug this is waiting on.

core-ai-bot commented 3 years ago

Comment by jeremiahlee Saturday Jan 31, 2015 at 00:58 GMT


+1 on the non-Mac behavior of quitting the app when you close the window

+1 on being able to have multiple projects open at once. Prior to visiting this issue, I did not know about Debug > New Brackets Window. Only having one project open at once is my top complaint about Brackets.

core-ai-bot commented 3 years ago

Comment by peterflynn Saturday Jan 31, 2015 at 02:17 GMT


@jeremiahlee Note that the Debug menu item is not an official feature, and has serious bugs (you may lose preferences changes, you may lose work if you try to edit the same file in both windows, on Windows keyboard shortcuts won't work in the 2nd window, etc.). For an official feature that's safe to use, please upvote Multiple separate windows (official "New Window" command) on our feature backlog.