Skip to content

Bash script to install Visual Studio Code and set up CMake on Ubuntu

License

Notifications You must be signed in to change notification settings

ClaireGuerin/bash-install-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash-install-vscode

Bash scripts to install Visual Studio Code and set up CMake on Ubuntu

Install

  1. Download this repository onto your local machine.
  2. Open your terminal and navigate to where the repository is with cd path/to/repo/bash-install-vscode
  3. Make sure the file install_vscode.sh is executable with ls -al. x should indicate execute mode. If not, make the file executable with chmod +x install_vscode.sh. make file executable
  4. Execute bash file with source install_vscode.sh. You'll need admin rights and will be prompted for your password if not in root.

Restricted mode

It might be that upon opening Visual Studio Code, some of the installed extensions are disabled. This is because you are using VS code in restricted mode.

From the Visual Studio Code documentation on Workspace Trust:

Restricted Mode tries to prevent automatic code execution by disabling or limiting the operation of several VS Code features: tasks, debugging, workspace settings, and extensions.

To view the list of disabled extensions, go to Extensions on the left-hand side menu (Ctrl+Shift+X), the search @workspaceUnsupported.

restricted

You can circumvent this problem by selecting Trust in the central panel:

enabled

More information:

About

Bash script to install Visual Studio Code and set up CMake on Ubuntu

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published