Skip to content

VS Code integration #21119

@andrewboie

Description

@andrewboie

Visual Studio Code is a really nice development environment, even someone such as myself who has stuck with vim for many years is considering switching over to it.

It would be cool if we could provide some documentation and/or VS Code extensions to make VS Code more zephyr-aware. This ticket can be a catch-all for integration tasks/ideas. So far I can think of:

  • Best way to get tab settings correct across different file types in Zephyr
  • Somehow populate header information to provide those definitions only provided by Kconfig, so we can correctly see what preprocessor directives are active, right now they are all greyed out for CONFIG_* variables. Probably need to be able to set what board/project configuration we are building for.
  • Integration for interacting with west
  • Integration for running CMake and doing builds for a particular project directory
  • Interactive debugging to connected hardware
  • Integration to run an emulator (and interactively debug it if desired) for QEMU or other emulation targets
  • Some kinds of lintian checks can be shown directly in the editor GUI - wonder if we could integrate checkpatch into this

Other ideas, please comment!

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions