Print this article Edit this article

Using VSCode

Using VS Code on an ECN machine

If you wish to use VS Code on an ECN CentOS 7 host you will need to do these operations:

  1. open a terminal
  2. run "module load gcc"
  3. run "code"

Changes were made in VS Code that required some libraries that aren't available on Centos 7. Loading a newer version of gcc makes those newer libraries available.

This is a workaround until Centos 7 makes a change in their system libraries.

This also means the VS Code found in the menu won't work because it will only have system libraries available.

An overview of the lmod system

 

Another (as yet untested option) is using vscode remotely via SSH. This should allow for all VS Code features and can be used without root access remotely.
Here's a guide: https://code.visualstudio.com/docs/remote/ssh

Last Modified: Jul 31, 2023 9:12 am GMT-4
Created: Mar 16, 2021 10:28 am GMT-4 by admin
JumpURL: