问题
I'm using Sublime Text 2 (version 2.0.1) on Windows 7, and I haven't installed any plugins for this software. I can use menu to open the console, but I cannot open console via ctrl + ` shortcut. How to fix this problem?
回答1:
Magic Keyboard - US English - Apple
The title itself causes this answer to show up in Google search results for any operating system. So even though the details ask about Windows 7, I am including picture of the shortcut to the Mac because it will save some people a lot of time.
回答2:
UK Keyboard
Use Ctrl+' to open the console.
When Ctrl+` is pressed, Sublime Text does not receive anything. It is therefore impossible to use this key combination for anything.
When Ctrl+' is pressed, Sublime Text actually receives Ctrl+` instead.
Debuging Keyboard Shortcuts
To see what Sublime Text is receiving, enter sublime.log_input(True)
at the console.
Obviously change True
to False
to turn this off.
Other programs can receive the physical Ctrl+` combination so it would seem the issue is within Sublime Text.
回答3:
If all else fails, try View > Show Console.
When I run conemu at the time, it seems to grab the ctrl-` and use it for minimize\restore. So I do get a console, just not the Sublime Text one...
回答4:
Solution/Workaround: using preferences options, you can change the key binding. I've changed mine to ctrl+f1
回答5:
This question is old but I just noticed that on windows 7 for me, ctrl + ' (apostrophe) opens the console not ctrl + ` (backtick) as seems to be documented everywhere.
I am using sublime text 3 though not 2. Also a UK keyboard.
Hope this makes things a little bit simpler for everyone.
回答6:
Finnish / Swedish / German / Hungarian layout:
ctrl + ö
回答7:
On Turkish Keyboard this can be achieved by pressing
Ctrl + Alt Gr + ,
回答8:
Brazilian Portuguese (ABNT2) shortcut is Control + Shift + Alt Gr (right) + `. It's so complicated that it's worth reassigning the shortcut to something more intuitive as Control + ' (the key on top of the Tab key).
回答9:
The shortcut for the console is
ctrl + `
not
ctrl + '
Notice the difference?
Also see here: http://sublimetext.info/docs/en/basic_concepts.html
回答10:
In French KB (Azerty), please use 'ctrl'+ 'ù' combinaison
回答11:
Portuguese keyboard (Sublime Text 3 in a Mac):
CTRL + <
回答12:
Spanish keyboard (Sublime 2, Mac)
ctrl + <
回答13:
I am using Sublime Text 3 build 3156 on Windows 8.1 system. My keyboard layout is us keyboard style. After enabling sublime.log_input(True)
, I find that pressing Ctrl+` shows nothing in the sublime text console.
Eventually, I just use Ctrl+' to bring up the console. Go to Preferences -> Key Bindings
, add the following to user key binding setting:
{ "keys": ["ctrl+'"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
Then everything works fine.
回答14:
For UK Keyboard
Ctrl + ~
For Hungarian Keyboard
Ctrl + ö
For Finnish Keyboard
Ctrl + ö
For Swedish Keyboard
Ctrl + ö
For German Keyboard
Ctrl + ö
回答15:
For Sublime Text 3 on a Windows machine and using an azerty keyboard, CTRL+! is the shortcut that works for me.
回答16:
Norwegian keyboard:
Ctrl+alt+´ (That's the key between +andDelete)
回答17:
The best way for user like me on AZERTY and Mac is too change the link to open it.
For this, go to Preferences > Key Bindings - Default Dont modify it it's useless it would be refreshed when you lunch Sublime Text.
There do a simple cmd+f and look for "console" Once you got it, copy past this and go too the Key Bindings - User just under the previous Key Bindings.
There you can modify it as you wish.
回答18:
Using Spanish layout (Qwerty), the shortcut key to open the console (confirmed with Sublime Text 3) is:
CTRL + ñ
回答19:
Danish keyboard (Mac):
Ctrl+Shift+´ (Apostrophe? Accent aigu? - the key between +andBackspace)
来源:https://stackoverflow.com/questions/13965877/the-shortcut-key-to-open-console-in-sublime-text-2-does-not-work