Difference between revisions of "Vscode"

From UFRC
Jump to navigation Jump to search
(Added information about un-setting the runtime temporary directory)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Software]][[Category:IDE]]
+
[[Category:Software]][[Category:Programming]]
 
{|<!--CONFIGURATION: REQUIRED-->
 
{|<!--CONFIGURATION: REQUIRED-->
 
|{{#vardefine:app|vscode}}
 
|{{#vardefine:app|vscode}}
Line 33: Line 33:
 
<!--Run-->
 
<!--Run-->
 
{{#if: {{#var: exe}}|==Additional Information==
 
{{#if: {{#var: exe}}|==Additional Information==
 +
 +
{{Note|You can set up VSCode Remote Development following the guide at [[VSCode Remote Development]]|info}}
 +
  
 
If you are using VSCode with [https://code.visualstudio.com/docs/remote/ssh Remote Development using SSH]  with the [https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh Remote-SSH Extension] make sure to enable 'view details' to see the 2FA prompt.
 
If you are using VSCode with [https://code.visualstudio.com/docs/remote/ssh Remote Development using SSH]  with the [https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh Remote-SSH Extension] make sure to enable 'view details' to see the 2FA prompt.
Line 43: Line 46:
  
 
<code>code</code>
 
<code>code</code>
 +
 +
'''Note: The [https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh vscode remote ssh] extension is only for code editing/development. Do NOT run full analyzes or jupyter notebooks when connected to HPG via that extension. See [[VSCode Remote Development]] for details.
  
 
|}}
 
|}}

Latest revision as of 14:15, 26 February 2024

Description

vscode website  

Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.

Environment Modules

Run module spider vscode to find out what environment modules are available for this application.

System Variables

  • HPC_VSCODE_DIR - installation directory
  • HPC_VSCODE_BIN - executable directory


Additional Information

You can set up VSCode Remote Development following the guide at VSCode Remote Development


If you are using VSCode with Remote Development using SSH with the Remote-SSH Extension make sure to enable 'view details' to see the 2FA prompt.

Please note, if you are using VSCode from the HiPerGator Desktop, please run the following command to ensure there are no conflicts with temporary directories before launching the application:

unset XDG_RUNTIME_DIR

Then launch the application by running the following in the same terminal:

code

Note: The vscode remote ssh extension is only for code editing/development. Do NOT run full analyzes or jupyter notebooks when connected to HPG via that extension. See VSCode Remote Development for details.