this post was submitted on 19 Oct 2023
74 points (91.1% liked)

Asklemmy

43989 readers
1480 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] baronvonj 6 points 1 year ago* (last edited 1 year ago) (2 children)

You should be able to setup WSLg then run the Linux Codium in WSL. Regular VS Code will work that way, it just gives a little "hey, you know you could use remote WSL right?" message then keeps chugging.

[โ€“] [email protected] 1 points 1 year ago (1 children)
[โ€“] baronvonj 1 points 1 year ago* (last edited 1 year ago)
[โ€“] [email protected] 1 points 1 year ago (2 children)

The benefit of the WSL (and SSH and Docker) integration is that you still run the native version of VS Code for your OS, and just the server portion of VS Code runs on the 'remote' server. Running the whole of VS Code (or Codium or whatever) in WSL probably works but there'll be little annoying things with it since it's not running natively, for example you can't drag files from Explorer into it, can't have a PowerShell terminal open alongside a WSL one, etc.

I don't think the SSH integration is locked down, so I wonder if you could install OpenSSHd in WSL and connect vis SSH.

[โ€“] baronvonj 1 points 1 year ago

For sure the remote extension option is better, just wanted to let TwinHaelix know the native Linux version is an option if the extension can't be loaded.

[โ€“] baronvonj 1 points 1 year ago

can't have a PowerShell terminal open alongside a WSL one, etc.

How are you getting this to work? According to only the default profile can be opened with the local integrated terminal. The default profile seems to be bash, so that fails. But I wouldn't want set my default profile to PowerShell when I'm in WSL.