Comments (8)
I see the shortcut listed on my English Win7 system. The shortcuts are passed to brackets-shell to register in the native code, so it's probably because it's not valid with a german keyboard.
from brackets-display-shortcuts.
Hm, I tried to find the error codes of brackets.app.setMenuItemShortcut, but I haven't found them (and yes, I searched for them in brackets-shell). Does anybody know them?
from brackets-display-shortcuts.
brackets.app.setMenuItemShortcut
calls the platform-specific implementation of SetMenuItemShortcut
On Windows, look in appshell/appshell_extensions_win.cpp:
Take a look at UpdateAcceleratorTable()
. It only return true/false and most of the logic is in there -- mostly to do with virtual key mappings and unicode characters.
On Mac, look in appshell/appshell_extensions_mac.mm:
It does not seem to return an error for any shortcut.
from brackets-display-shortcuts.
Hm, seems the comment on line 1297 explains why it doesn't work. But it's weird too because the shortcuts "Toggle Line Comment" and "Toggle Block Comment", which also use / as base key, are shown correctly (and there is no console output for them). Are they registered on another way?
from brackets-display-shortcuts.
Most builtin shortcuts are defined using the base-config/keyboard.json file. I thought that they would use same underlying code path, but may not. Or maybe they are, but the console messages are suppressed.
from brackets-display-shortcuts.
Yes, it seems they are handled on another way (_handleCommandRegistered
in src/command/KeyBindingManager.js registers the shortcut for them, addMenuItem
is called with only one param).
from brackets-display-shortcuts.
@SAplayer I just noticed this issue is still open. Were you waiting on me for something?
from brackets-display-shortcuts.
No, I just forgot to close it.
Closing.
from brackets-display-shortcuts.
Related Issues (20)
- Table does not take up 100% of width HOT 1
- Table no longer has zebra striping HOT 1
- Remove unused reference to DocumentManager HOT 1
- Add the ability to change shortcuts HOT 2
- It is possible to use second keystroke like ctrl+K, ctrl+D? HOT 1
- css anomaly affects left panel HOT 1
- Remove + from Key Binding listing please? HOT 3
- Warning on the console HOT 2
- Request: Add link to Extension HOT 3
- Add no-width spaces to output for better line breaking
- Suggestion: copy as Json HOT 8
- Change shortcut so it doesn't conflict with Code Folding HOT 1
- Update Shortcuts panel when KeyBindings are updated HOT 1
- Copy to Current Document is broken HOT 1
- [reccomendation] enter shortcut in search bar HOT 2
- [Bug] Shortcut OSX doesnt work HOT 11
- main.js:165 Uncaught TypeError: Cannot read property 'on' of undefined HOT 2
- Add package.json file HOT 1
- Getting deprecation warning in Dev Tools console HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brackets-display-shortcuts.