davidnussio / vscode-jq-playground

Visual Code Studio jq playground
https://marketplace.visualstudio.com/items?itemName=davidnussio.vscode-jq-playground
MIT License
46 stars 8 forks source link

Keyboard shortcuts for Windows? #72

Closed pixtur closed 3 years ago

pixtur commented 3 years ago

I really love your extension. But for me the Ctrl+Enter hotkey doesn't work (it just inserts a new line). Is it supported under windows, too?

I'm using v4.1

Clicking the link above the line works:

image

davidnussio commented 3 years ago

Yes, is it. I used it on windows too. After I recover the Windows pc and check if it still works (there has just been a vscode update ...)

davidnussio commented 3 years ago

I just tested it on windows and it's working correctly. I suppose you are using jq language mode instead jqpg because the filter string is not highlighted and the ctrl+enter keymap is binded to languageId jqpg. Try to change language mode to jqpg you would be see the jq filter line highlighted and try again.

Let me know, thank you

pixtur commented 3 years ago

Ah excellent! I didn't pay attention to the language mode and didn't notice that there are two jq languages installed.