Skip to content
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] Fix Issue #2877: Debug menu shortcuts are enabled even when Debug menu is hidden #2731

Open
core-ai-bot opened this issue Aug 29, 2021 · 3 comments

Comments

@core-ai-bot
Copy link
Member

Issue by TomMalbran
Friday Feb 15, 2013 at 21:36 GMT
Originally opened as adobe/brackets#2888


This fixes adobe/brackets#2877 by disabling the "Refresh Brackets" and "Show Developer Tools" commands after they are created using the brackets.config.show_debug_menu value.


TomMalbran included the following code: https://github.com/adobe/brackets/pull/2888/commits

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Tuesday Feb 19, 2013 at 18:52 GMT


For future-proofing, should we do the same thing for all the other debug-menu commands, in case we ever add shortcuts to any of them?

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Tuesday Feb 19, 2013 at 21:37 GMT


@peterflynn I have an alternative suggestion as #2902. Would this fix from@TomMalbran as-is be appropriate if the long term goals is to externalize the debug commands?

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Feb 20, 2013 at 22:54 GMT


@jasonsanjose I'd imagine if we did #2902 we could eliminate the whole show_debug_menu config flag, along with the code in this patch. And it would definitely eliminate my concern, since this bug couldn't easily regress with other Debug menu items. Seems worth merging this patch in the meantime, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant