CMSC 141: Introduction to Python • editing your files from your own computer
The editor we use in class, Visual Studio Code ("VS Code"), runs on your own computer. With one extension it can also reach across the network and edit files that live on the UChicago CS Linux servers, which is where your coursework lives. This page walks you through installing VS Code, adding that extension, and connecting.
If you've already set up the Remote-SSH extension and just want to reconnect, skip to Connecting each time.
Go to the VS Code website and download the version for your computer. The site usually detects your operating system, so you'll see a button like "Download Mac Universal" or "Download for Windows."
Open VS Code once it's installed. It may ask you to pick a color theme; choose whatever you like and skip past the rest until you reach the welcome page. At this point you can edit files on your own computer, but not yet on the CS servers. That's the next step.
Remote - SSH.eduroam, not uchicago. The uchicago
network blocks SSH, so connections to the CS servers will silently time out on it.
CNETID with your CNetID in lowercase, then press Enter:
ssh CNETID@linux.cs.uchicago.edu
Once it's configured, here is the routine every time you want to work on your files:
linux.cs.uchicago.edu from the list./home/CNETID/; add your course folder so it reads /home/CNETID/cmsc141/ and press Enter. You may be asked for your password again..py file, VS Code may offer to install the Python extension. Say yes.You'll know you're connected to the server because the bottom-left corner shows the host name, and the file
explorer lists your files from /home/CNETID/ rather than your laptop.
Out of the box, VS Code tries to finish your code for you: it pops up autocomplete menus, suggests whole lines, and, if an AI extension is installed, writes code in faint gray text ahead of your cursor. In a course where the point is to learn to write the code yourself, that help gets in the way, and the AI suggestions cross the line our academic integrity policy draws around generative tools. Here is how to quiet it down.
First, don't install an AI assistant. If GitHub Copilot or a similar extension is already installed, open the Extensions panel, find it, and click Uninstall (or Disable). Using it on coursework is not allowed in this class.
Then turn off the auto-suggestions. Open the Command Palette with Cmd+Shift+P (Mac) or
Ctrl+Shift+P (Windows), type Open User Settings (JSON), and press Enter. Add these lines
inside the outermost curly braces, then save:
{
"editor.inlineSuggest.enabled": false,
"github.copilot.enable": { "*": false },
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.parameterHints.enabled": false,
"editor.tabCompletion": "off"
}
What each line does, in plain terms:
editor.inlineSuggest.enabled and github.copilot.enable stop the gray AI "ghost text" suggestions.editor.quickSuggestions and editor.suggestOnTriggerCharacters stop the dropdown menu that guesses what you're typing.editor.acceptSuggestionOnEnter and editor.tabCompletion stop Enter or Tab from silently accepting a suggestion you didn't mean to take.editor.parameterHints.enabled stops the floating box that lists a function's arguments for you.You can also do all of this through the settings screen instead of the JSON file: open Settings with
Cmd+, or Ctrl+, and search for each setting by name. If you ever want a feature back, set its
value to true (or "on") again, or just delete the line.