-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] New File and New Folder execute in project root if there's no selection #10864
Comments
Comment by ficristo I think the boolean argument in this case isn't nice. When reading |
Comment by MarcelGerber
|
Comment by ficristo It seems fine to me. |
Comment by MarcelGerber Thinking about that, you are right, that's the way it makes the most sense. |
Issue by MarcelGerber
Sunday Sep 04, 2016 at 22:34 GMT
Originally opened as adobe/brackets#12752
Fixes #9341 and #11472.
@
dangoor's comments in #9341 are interesting, but I think he over-thought this.The solution is actually as simple as providing an additional param to
ProjectManager.getSelectedItem()
, which is only false for this one call to the function, so it's not an API change.MarcelGerber included the following code: https://github.com/adobe/brackets/pull/12752/commits
The text was updated successfully, but these errors were encountered: