tabeyti / jenkins-jack

Jack into your Jenkins to execute Pipeline scripts, provide Pipeline step autocompletions, pull Shared Library step documenation, run console groovy scripts across multiple nodes, and more! Honestly, not that much more.
Other
97 stars 32 forks source link

Can't use jenkins-jack commands #8

Closed paulthvt closed 4 years ago

paulthvt commented 4 years ago

Hi,

I installed your extension and filled the extension settings in the settings.json as explained in the documentation. Unfortunately, I can't make it work. Every jenkins-jack command returns an error message like "command 'extension.jenkins-jack.jacks' not found".

jenkins-jack-error-msg

Am I missing something? Thanks in advance for your help. Regards,

Paul

carter-clearlabs commented 4 years ago

Having similar issue as @pault1337 - Tool looks amazing - can't wait to try it out.

rmn-nknv commented 4 years ago

The same problem. VsCode 1.38.1, extension 0.1.5

tabeyti commented 4 years ago

Hey @pault1337 , @carter-clearlabs , and @n-roman !

Apologies for the late reply. I think the issue is that the commands don't display unless you are in an active text view that has groovy language mode.

I have a fix for this which I'll try to shoot out tonight.

In the interim, can one of you validate this is the case by opening an actual .groovy file and executing the keyboard shortcut ctrl+shift+j?

tabeyti commented 4 years ago

Fix should be in 0.1.6

Changelog

Keeping the issue open until someone is able to verify the fix.

rmn-nknv commented 4 years ago

@tabeyti I can confirm that commands work in groovy language mode in 1.5. And I tested 1.6 just now, the bug is fixed. Thank you!

paulthvt commented 4 years ago

@tabeyti same here. Works with 1.5 in groovy language mode. Thanks ! Extension looks awesome !

betterversion commented 4 years ago

@tabeyti The default keybinding overrides Jacks keybinding istead I get editor.remove-line-underneath . Is the way to provide it explicitly. Thanks

tabeyti commented 4 years ago

@n-roman and @pault1337 ,

Thanks for checking that. You guys rock!

@betterversion ,

If the command is being overwritten by another keyboard shortcut, you can change this by reassigning the hot keys for the jenkins-jack.jacks command to something different:

https://code.visualstudio.com/docs/getstarted/keybindings#_detecting-keybinding-conflicts

If i'm wrong and this isn't the problem you are experiencing, open another issue with the deets and we'll figure it out.

Closing this ticket as the issue for the original request has been fixed.

jdhzzz commented 4 years ago

Hi, I am using code Version: 1.44.2. I run 1.0.1 and it reports 'extension.jenkins-jack.jacks' not found. If I select 0.16, it works (?!).