Skip to content

GrahamBenHarper/def-decl-switcher

Repository files navigation

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.

How to use

The easiest way to use this extension is to simply download it through the VSCode extension marketplace, listed as "Def/Decl Switcher" with a Trilinos icon.

image

Compatibility

This extension requires VSCode 1.78 or later.

About

A VSCode extension to switch between _def.hpp files and _decl.hpp files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published