3 ms·
I imagine most web developers would have Python, Ruby, Elixir or whatever they use installed on Linux. That would be both the run time as well as all packages r
by nickjj 10y ago
I imagine most web developers would have Python, Ruby, Elixir or whatever they use installed on Linux. That would be both the run time as well as all packages required for their projects.
Then they would have their app level code off in a Windows folder to avoid corruption and having it accessible on both sides (makes 100% sense).
The confusing part is understanding how VSCode running in Windows is able to make sense of all of that.
That would mean VSCode would need to know that the runtime and packages are at "the private Linux FS path from within Windows", while app level code is at "some Windows path of your choosing". You're saying it does this flawlessly, and then there's no need to even mess around with xserver?
I don't use VSCode but I would guess it needs to know things like your Python path or Ruby path, etc.. These are things that would be installed on the Linux side of things. That's where it falls apart in my head.
- wvenable 10y agoVS Code isn't going to be able to read any files on the Linux side but it can execute Linux applications against your Windows working folder. So having VS code run Linux Python to test will work. If code-completion works by reading package source files installed in the Linux partition, it's not going to be able to do that. For my development needs (embedded C/C++) this is not an issue. > These are things that would be installed on the Linux side of things. That's where it falls apart in my head. You setup your environment to run Bash.exe with the appropriate parameters to start the Linux application. bash -c "linux command here" http://winaero.com/blog/run-linux-commands-from-cmd-exe-prompt-in-windows-10/ http://winaero.com/blog/run-linux-commands-from-cmd-exe-prom...
- nickjj 10y agoYeah, it would need to reference package source files from Linux for code complete to properly work. Thanks for the replies, that clears things up.