Skip to content

Add guide for VS Code#987

Open
aowen-uwmad wants to merge 1 commit into
masterfrom
preview-vs-code
Open

Add guide for VS Code#987
aowen-uwmad wants to merge 1 commit into
masterfrom
preview-vs-code

Conversation

@aowen-uwmad

@aowen-uwmad aowen-uwmad commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Documents how to connect to CHTC via VS Code, best practices, and troubleshooting.

Preview should be at https://chtc.github.io/web-preview/preview-vs-code/uw-research-computing/vs-code .

Also check the HTC/HPC navigation pages under the "Get started" section.

Documents how to connect to CHTC via VS Code, best practices, and troubleshooting.

@xamberl xamberl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of my comments are stylistic choices and links. Very comprehensive guide! 🥳

- hpc
- htc
---

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Introduction

Added for consistency with other guides.

Comment on lines +17 to +18
{% capture content %}
- [Requirements](#requirements)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% capture content %}
- [Requirements](#requirements)
{% capture content %}
- [Introduction](#introduction)
- [Requirements](#requirements)

Added for consistency with other guides.

- htc
---

VS Code and similar "IDE" programs make it easy to develop and manage coding projects.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
VS Code and similar "IDE" programs make it easy to develop and manage coding projects.
VS Code and similar Integrated Development Environment (IDE) programs make it easy to develop and manage coding projects.


* VS Code or similar IDE installed on your local computer
* Login access to the HTC or HPC system (requires a [CHTC account](form.md))
* How to use VS Code's "command palette"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* How to use VS Code's "command palette"

IMO we can show them how to access it in the guide.

Comment on lines +42 to +45
1. Install the "Remote-SSH" extension
2. Add access point as a new SSH host
3. Login
4. Login with the file viewer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Install the "Remote-SSH" extension
2. Add access point as a new SSH host
3. Login
4. Login with the file viewer
1. [Install the "Remote-SSH" extension](#install-the-remote-ssh-extension)
2. [Add access point as a new SSH host](#add-access-point-as-a-new-ssh-host)
3. [Log in](#log-in)
4. [Log in with the file viewer](#log-in-with-the-file-viewer)

Adding some links to the anchors will be nice!

Comment on lines +217 to +219
| "Kill VS Code Server on Host" | Built-in command that attempts to login and automatically shut-down VS Code on the remote server |
| "Uninstall VS Code Server from Host" | Built-in command that attempts to login, shut-down, and uninstall VS Code on the remote server |
| Manual clean-up | You login with a plain terminal to shut-down and uninstall VS Code from the remote server |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| "Kill VS Code Server on Host" | Built-in command that attempts to login and automatically shut-down VS Code on the remote server |
| "Uninstall VS Code Server from Host" | Built-in command that attempts to login, shut-down, and uninstall VS Code on the remote server |
| Manual clean-up | You login with a plain terminal to shut-down and uninstall VS Code from the remote server |
| ["Kill VS Code Server on Host"](#kill-vs-code-server-on-host) | Built-in command that attempts to login and automatically shut-down VS Code on the remote server |
| "[Uninstall VS Code Server from Host"](#uninstall-vs-code-server-from-host) | Built-in command that attempts to login, shut-down, and uninstall VS Code on the remote server |
| [Manual clean-up](#manual-clean-up) | You login with a plain terminal to shut-down and uninstall VS Code from the remote server |

```
{:.term}

This command looks for left-over processes from your VS Code on the server and then removes ("kill") them.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This command looks for left-over processes from your VS Code on the server and then removes ("kill") them.
This command looks for leftover processes from your VS Code on the server and then removes ("kill") them.


If you have a lot of files in your directory on the access point, then VS Code may struggle to list and scan those files for the file viewer.

If this is causing you problems, here are some things to try:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If this is causing you problems, here are some things to try:
If this is causing problems, here are some things to try:


* Reduce the number of files on the server.
* Open a specific directory in the file viewer, instead of the default home directory. ("Connect to host" then "Open Folder" and select a sub-directory in the dialog.)
* Configure VS Code to ignore the directories that contain a lot of files.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any instructions or links to how to do this?


The facilitation team may be able to help you figure out the process, but keep in mind that we do not explicitly support these tools.

## Related pages

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also add the "AI Agents on CHTC" page here!

@ChristinaLK

Copy link
Copy Markdown
Contributor

LGTM!! Thank you for writing this up - will be useful to a lot of users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants