Open canadaduane opened 6 years ago
Same issue here
I had this same issue until I noticed that the "macros" section in settings has a warning on it (the squiggly green underline in your first screen-cap).
This usually means VS Code doesn't know what that setting is - i.e. VSCode isn't loading the extension. In my case, all I had to do was uninstall/reinstall the extension.
It's working for me on both macOS and Ubuntu 16.04.
I had the exact same issue as well. Restarting Visual Studio Code fixed it.
For me, I had to make sure that that the source was User
and not Default
under Keyboard Settings
. That fixed it. Basically, instead of hand-editing the keybindings.json
file, I used the GUI to set the binding and it worked.
Same problem. The macro autocompletes in the user keybindings gui and will add it correctly to the settings file, but as soon as it's added to the file I get a "Value is not accepted" green squiggly (tried restarting).
Same problem. The macro autocompletes in the user keybindings gui and will add it correctly to the settings file, but as soon as it's added to the file I get a "Value is not accepted" green squiggly (tried restarting).
Hi, this is not exactly the same issue. Hi have what you have : basically, settings.json is accepted (no green underline), the extension SEEMS to be loaded ... but the keybindings.json refuses the command, stating that for "macros.xxxx" "value is not accepted". So keybindings.json is not aware of the macros extensions (altough keybindings UI is, but same conclusion once the settings file is written)
Same here. I moved my config from one Windows 10 machine to another. Doesn't work on the second machine.
geddski.macros installed and enabled. No obvious issues. Have restarted VS Code multiple times.
%APPDATA%\Code\User\settings.json
%APPDATA%\Code\User\keybindings.json
There's a squiggle under the keybinding, the tooltip says "Value is not accepted", and the binding doesn't work.
I am having the same trouble but instead of green squiggle I am getting red squiggle. And key definition is not in blue color. I tried reinstalling Macros restarting VS code but it didn't work. I have installed the geddski Macros extension.
Any suggestions? How to solve this problem?
I'm using vscode 1.19.0 on Mac OS X. I've added the "macros" key and "commentDown" example macro to my user
settings.json
file:I've also added example shortcut to my
keybindings.json
But when I press
cmd+ctrl+/
vscode complains withcommand 'macros.commentDown' not found
:Have I configured something incorrectly? I'm expecting it to comment the line, not show the above error.