Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HC32 Chip FilterNew to Visual Studio Code? Get it now.
HC32 Chip Filter

HC32 Chip Filter

launcher

|
2 installs
| (0) | Free
Fold inactive HC32/CD32 conditional compilation branches and highlight the selected chip macro.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HC32 Chip Filter

VS Code extension for reading HC32/CD32 DDL source files with many chip-specific conditional compilation branches.

Features

  • Right-click a chip macro such as HC32F451, then run Fold Other Chips.
  • Click the status bar item Chip: ALL to choose ALL or any chip macro detected in the current C/C++ file.
  • Non-matching #if / #elif / #else / #endif branches are folded only in the editor. File contents are not changed.
  • The selected chip macro is highlighted in the active editor.
  • UnFold All Chips restores all folded chip branches and clears the highlight.

Development

Open this directory in VS Code and press F5, or launch it from a terminal:

code --extensionDevelopmentPath .\hc32-chip-filter

Run parser tests:

npm test
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft