VS Code

Use Policy

  • Do not run large processing work on login nodes, this type of work should be run on compute nodes.

    Login nodes are intended for moving files around and setting up computational jobs, not for processing large amounts of data. Processes that do a lot of work on login nodes can interfere with other user login sessions and are subject to being killed without notice.

  • Be aware of VS Code plugins that may attempt to endlessly auto-reconnect to a system. Unusual activity like this can result in your access to the system being blocked until the issue is identified and resolved.

System-Specific Information

Troubleshooting

Cannot Log in with VS Code - Disk Quota Exceeded

When you log in to a system with VS Code, VS Code must be able to write to your home directory (~/) on log in. Therefore, if your home directory is at its quota/limit, you will not be able to log in to the system via VS Code. To resolve this:

  1. Use ssh to log in to the system in a terminal. Go to the system user guide for instructions on how to log in with ssh:

  2. Run the quota command on the system to see how much above the quota/limit you are in your home directory. Note, you may have reached your “Block Used” and/or “File Used” quota/limit. For a detailed explanation of the quota command output, see Quotas.

  3. Delete files in your home directory (or move them to the /projects, /scratch, or /work directory, as appropriate) until you are below the quota/limit.

  4. After you have returned your home directory below the quota/limit, try to log in to the system using VS Code.

We have also seen cases where it was necessary to remove $HOME/.vscode on the system, similar the VS Code documentation - clean uninstall.

VS Code Performance Issues

Go to Microsoft’s VS Code Performance Issues Guide for steps to try to resolve different performance issues.

You can run code --status in a VS Code terminal to display status information about your running VS Code and the workspace you have opened.

Using the code --status command with vscode.