question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shortcuts being taken by Brackets core

See original GitHub issue

Hi,

As part of our work to implement multiple selection functionality in Brackets, we need to add a few keyboard shortcuts for new commands. Unfortunately, a number of these shortcuts conflict with Emmet shortcuts.

If it’s possible to change any of these shortcuts that are important for your users, that would be great. Otherwise, you can unregister the default Brackets shortcuts using KeyBindingManager.removeBinding() before registering your own, but that means users wouldn’t be able to access the Brackets functionality that uses these shortcuts.

Eventually we’ll have configurable shortcuts so this won’t be as much of an issue, but we just wanted to give you a heads-up. The new shortcuts will likely be added in Release 38, which should come out in a month or so.

The specific shortcuts that will conflict with existing Emmet shortcuts are:

  • Shift-Alt-Up (Add Previous Line to Selection)
  • Shift-Alt-Down (Add Next Line to Selection)
  • Ctrl-Alt-L (Split into Lines)
  • Ctrl-B (Add Next Match to Selection)
  • Ctrl-Shift-B (Skip and Add Next Match)

Of these, I’d say Ctrl-Alt-L is probably the least important to worry about. Ctrl-B/Ctrl-Shift-B are probably the most useful, followed by Shift-Alt-Up/Down.

<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3981897-shortcuts-being-taken-by-brackets-core?utm_campaign=plugin&utm_content=tracker%2F311111&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F311111&utm_medium=issues&utm_source=github). </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
davoscriptcommented, Mar 1, 2016

In case someone needs to implement a quick solution:

  1. In Brackets, go to Help -> Open extensions folder.
  2. Once opened, open user folder and find brackets-emmet folder.
  3. Open keymap.json file and change the key combinations (starting around line 19).
  4. Save and close the file.
  5. Restart or Reload brackets.

Hope it helps somebody 😃

1reaction
Lichtjaegercommented, Jan 15, 2016

There is also a conflict with increment_number_by_1 and decrement_number_by_1. They are used by edit.lineUp and edit.LineDown.

I would prefere the following configuration:

"increment_number_by_1": "Ctrl-Shift-+",
"decrement_number_by_1": "Ctrl-Shift--",
"increment_number_by_01": "Ctrl-Shift-Alt-+",
"decrement_number_by_01": "Ctrl-Shift-Alt--",
"increment_number_by_10": "Ctrl-Alt-+",
"decrement_number_by_10": "Ctrl-Alt--",
Read more comments on GitHub >

github_iconTop Results From Across the Web

Brackets - Is there a shortcut or simple way to auto format code ...
I recommend an installing the extension called Beautify by Drew Hamlet. Then with a quick keyboard shortcut (ctrl+shift+L) it will format ...
Read more >
19 Must-Know Visual Studio Keyboard Shortcuts Part 1
Contains examples for the most useful Visual Studio keyboard shortcuts for the ... Ctrl + Shift + } = Select text between matched...
Read more >
Brackets shortcuts - TutorialBrain
Editing Shortcuts ; Shortcuts, Description, Extra comments ; Ctrl+D · Duplicate a Line or Selection, Duplicates a selection if text is selected else...
Read more >
Square brackets for shortcodes can't be entered with default ...
It is about not being able to create shortcode (because of stupid shortcut that conflicts with shortcode creation). #4 @ocean90 Core Committer 7...
Read more >
how to create code shortcuts in adobe brackets - Stack Overflow
Use the extension manager and select the available panel in the dialog. Type "snippet" in the search box and install the Brackets Snippets ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found