Hello Everyone.!! (first post here and excuse my bad use of the language i am greek)
As the tittle of the topic describes neither comment shortcut (Ctrl + /)
nor block comment (Ctrl + Shift + /) shortcut works for .s files (assembly files)
Any ideas how i can solve this?
Comment Shortcut does not for .s files (Assembly)
NikosDallas
#1
0 Likes
bschaaf
#2
ST doesn’t ship with any assembly language syntax definitions. It’s up to the syntax definition to tell ST how comments are formatted.
0 Likes
regas
#3
In case the keyboard lay out is the cause, I had success with changing the comment shortcut, following these instructions:
With a non-US keyboard layout the default shortcut Ctrl+/ (Win/Linux) does not work.
I managed to change it into Ctrl+1 as per Robert’s comment by writing
[ { "keys": ["ctrl+1"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+1"], "command": "toggle_comment", "args": { "block": true } } ]to
Preferences -> Key Bindings(on the right half, the user keymap).
0 Likes