vscode-lean4 icon indicating copy to clipboard operation
vscode-lean4 copied to clipboard

Working with lean/git installed in WSLv1 or WSLv2 instance

Open vadimkantorov opened this issue 8 months ago • 2 comments

Could you please advise if vscode-lean4 can work with a WSLv1 (or WSLv2) instance

E.g. I have a VS Code running in Windows, code stored in NTFS home dir C:\Users\vadim (/mnt/c/Users/vadim), but would like to have git/lean/lean language server running in my WSLv1 instance?

It appears that this is supported when I connect to Remote Host in bottom-left Image

but it would be nice to have this explicitly explained in README - especially in README popping up when accidentally installing the vscode-lean4 extension when not connected to Remote Host

vadimkantorov avatar Mar 28 '25 15:03 vadimkantorov

If I am understanding correctly, then the request of this issue is that the Lean VS Code extension should explain somewhere how to use the VS Code Remote Development extensions?

especially in README popping up when accidentally installing the vscode-lean4 extension when not connected to Remote Host

I'm not sure if I am understanding this correctly, but I don't think that this should be a popup. Using Lean on native Windows without WSL works just fine.

mhuisi avatar Apr 15 '25 08:04 mhuisi

the request of this issue is that the Lean VS Code extension should explain somewhere how to use the VS Code Remote Development extensions

Or at least just mention that there are several ways of operation:

  • native Windows
  • local WSL via Remote Host Extension
  • and maybe also Remote Host which runs the prover on a remote big linux server? (as laptops sometimes get quickly overheated when running lean locally)

vadimkantorov avatar Apr 15 '25 10:04 vadimkantorov