Fundamentals 8 min read

Top 10 VSCode Extensions Every Embedded Developer Should Use

This guide lists ten essential VSCode extensions—ranging from serial terminals and Git integration to C/C++ support and documentation generators—that streamline embedded development workflows and boost productivity for engineers working with hardware code.

Liangxu Linux
Liangxu Linux
Liangxu Linux
Top 10 VSCode Extensions Every Embedded Developer Should Use

Overview

Visual Studio Code (VSCode) is a lightweight, extensible editor that can be tailored for embedded development through a set of specialized extensions. The following list describes ten extensions that address common embedded‑development tasks such as serial communication, source‑control insight, rapid code execution, remote development, documentation, and build‑system integration.

1. Serial Terminal

Serial Terminal
Serial Terminal

This extension provides an integrated serial‑port terminal. Key capabilities include:

Configurable baud rates, data bits, parity, and stop bits.

Bidirectional send/receive of raw bytes or ASCII strings.

Automatic line‑ending conversion and hex/ASCII view toggles.

Persisted session settings for quick reconnection to development boards.

Install via the VSCode Marketplace or run ext install serial-terminal from the command palette.

2. GitLens

GitLens
GitLens

GitLens enriches the built‑in Git experience with inline annotations and history navigation:

Shows the most recent commit author, timestamp, and commit message next to each line.

Clickable links open a detailed commit view, diff comparison, or file‑history explorer.

Provides a side‑bar for repository insights, branch visualisation, and blame heatmaps.

Command to install: ext install gitlens.

3. Code Runner

Code Runner
Code Runner

Code Runner enables one‑click execution of code snippets in many languages, including C/C++, Python, JavaScript, and Bash. It is useful for quick validation of algorithms or hardware‑interface prototypes without leaving the editor.

Configurable interpreter/compiler paths (e.g., gcc, g++, python).

Supports custom run arguments and environment variables.

Outputs results to the VSCode integrated terminal, preserving colour codes.

Install with ext install code-runner and optionally add a settings.json entry to specify the default C/C++ compiler flags.

4. Remote - SSH

Remote - SSH
Remote - SSH

Remote‑SSH lets you develop on any machine that runs an SSH server, turning it into a full VSCode workspace:

Open folders, edit files, and run build tasks on the remote host.

Leverages the remote host’s toolchain (cross‑compiler, JTAG server, etc.) without local installation.

Supports port forwarding for debugging interfaces such as GDB or OpenOCD.

Typical workflow: Ctrl+Shift+P → Remote-SSH: Connect to Host…. Install via ext install ms-vscode-remote.remote-ssh.

5. Markdown Preview Enhanced

Markdown Plugin
Markdown Plugin

The extension adds a rich preview engine for Markdown files, useful for writing embedded‑project documentation, README files, and hardware specifications.

Live preview with support for LaTeX math, Mermaid diagrams, and code block syntax highlighting.

Export to PDF, HTML, or PNG directly from VSCode.

Custom CSS injection for branding or theme consistency.

Install with ext install markdown-preview-enhanced.

6. C/C++

C/C++ Plugin
C/C++ Plugin

The official Microsoft C/C++ extension supplies the core language services required for embedded development:

IntelliSense based on the active c_cpp_properties.json configuration (include paths, defines, compiler).

Code formatting via clang-format or clangd.

Integrated debugging using GDB/LLDB with launch configurations for remote targets.

Hover tooltips, signature help, and refactoring actions.

Install via ext install ms-vscode.cpptools.

7. CMake Tools

CMake Tools
CMake Tools

CMake Tools streamlines the configuration, generation, and build steps for CMake‑based embedded projects:

Detects CMakeLists.txt and offers a status bar for selecting build type (Debug/Release) and target kit.

Runs cmake configure and build commands in the integrated terminal.

Provides a CMake cache editor and automatic re‑configuration on source changes.

Integrates with the C/C++ extension for IntelliSense based on the generated compile commands.

Install with ext install ms-vscode.cmake-tools.

8. DeviceTree

DeviceTree
DeviceTree

The DeviceTree extension adds syntax highlighting, validation, and code‑completion for Linux device‑tree source files ( .dts, .dtsi).

Highlights node names, property keys, and values according to the DT schema.

Provides hover documentation for standard properties.

Detects common errors such as missing semicolons or mismatched braces.

Install via ext install device-tree.

9. Chinese (Simplified) Language Pack

Chinese Language Pack
Chinese Language Pack

This language pack localises the VSCode UI to Simplified Chinese, which can be useful for teams whose primary language is Mandarin.

Install with ext install ms-ceintl.language-pack-zh-hans.

10. Doxygen Documentation Generator

Doxygen
Doxygen

Doxygen automates the creation of API documentation from annotated source code. The VSCode extension adds commands to run Doxygen and preview the generated HTML.

Configure Doxyfile paths directly from the command palette.

Generate documentation with a single click ( Ctrl+Shift+P → Doxygen: Run).

Open the resulting HTML index in an embedded webview.

Install via ext install cschlosser.doxygen.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

VSCodeToolingIDE ExtensionsEmbedded DevelopmentC/C++
Liangxu Linux
Written by

Liangxu Linux

Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.