Introduction

.

VS Code is a source-code editor developed by Microsoft which provides features including support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded version control with Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add functionality.

Getting Started

Installation

Install VS Code in Ubuntu

Basic Editing

https://code.visualstudio.com/docs/editor/codebasics

Keyboard shorcuts

keyboard shortcuts reference

The command Selection / Add Cursors to Line Ends Alt+Shift+i will put a cursor on every line in the current selection. Hit the Home key after to move to the beginning

Tip: You can pull up the keyboard shortcut reference sheet with Ctrl+K,Ctrl+S

Code Snippets

Snippets in Visual Studio Code

Use built-in snippets (templates) or create custom ones to streamline your coding process. To use a code snippet, simply type a snippet’s prefix (short code) and press Tab or Enter to expand it into the full code template. See Snippets

VS Code Extensions

Remote- SSH Extension

Remote- SSH

ROS Snippets

ROS Snippets

12/24/24

Arduino Maker Workshop

Arduino Maker Workshop

Arduino Maker Workshop Extension Reddit- New Extension For VsCode

picture 4

  • Use compile button on bottom right corner to compile picture 5

6/22/25

Live Server

Live Server

Live Server Launch a local development server with live reload feature for static & dynamic pages. picture 0

  • Start/Stop live server
    • Right-click on the index.html file and select “Open with Live Server”
    • Or click the Go Live button in the bottom-right corner of VS Code
  • View page by opening the URL in the browser
http://127.0.0.1:5500/index.html