Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Windows WSL #3

Closed
sylbae opened this issue Jan 15, 2020 · 2 comments
Closed

Compatibility with Windows WSL #3

sylbae opened this issue Jan 15, 2020 · 2 comments
Assignees

Comments

@sylbae
Copy link

sylbae commented Jan 15, 2020

Hello,

I am using Windows + WSL for Splunk development
Therefore I am using VS Code with WSL-mode to directly edit my Splunk files.

I tried to install your new extension... I can see basic features work (syntax highlighting) but I am being prompt to install missing extensions (not all extensions are installed by default when VS Code is working in WSL "remote" mode):

  1. First I have been asked to enable Python extension --> ok no problem for this one
  2. But now I am asked to enable the "Remote - SSH" extension. And I cannot do that, likely because I am running in WSL mode.

The exact error message is:

Cannot active the 'Splunk Extension' extension because it depends on the 'Remote - SSH' extension which is not loaded. Would you like to reload the window to load the extension?

I tried already reload as suggested but it does not work.

@JasonConger JasonConger self-assigned this Jan 15, 2020
@JasonConger
Copy link
Collaborator

Thanks for the feedback. In the meantime, you can remove the Remote SSH dependency by editing the package.json file located in your extension directory . Remove ms-vscode-remote.remote-ssh from the extensionDependencies section. It should look like this:

"extensionDependencies": [
        "ms-python.python"
    ],

@sylbae
Copy link
Author

sylbae commented Jan 17, 2020

@JasonConger , Thanks a lot, it did solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants