Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Def/Decl SwitcherNew to Visual Studio Code? Get it now.
Def/Decl Switcher

Def/Decl Switcher

GrahamBenHarper

|
120 installs
| (1) | Free
Switch between def and decl files easily
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

def-decl-switcher

A VSCode extension to switch between *_def.hpp and *_decl.hpp files. This extension is designed primarily for use with the Trilinos library, although it should work in any other codes which follow a similar pattern.

animated

Features

Open the VSCode context menu with ctrl+P and enter >Switch Def/Decl to switch your file. It's that simple!

Note: This only works if your *_def.hpp and *_decl.hpp file are in the same directory as each other. There are no fancy tricks under the hood! This takes the full path of your editor's open file, replaces *_def.hpp with *_decl.hpp and vice versa, then opens it.

Compatibility

This extension requires VSCode 1.78 or later.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft