Skip to content

madskristensen/PkgdefLanguage

Repository files navigation

Pkgdef Language for Visual Studio

Build

Download this extension from the Visual Studio Marketplace or get the CI build.


This extension provides basic language support for .pkgdef and .pkgundef files in Visual Studio.

Syntax highlighting

Syntax highlighting makes it easy to parse the document. Here's what it looks like:

Colorization

IntelliSense

Full completion provided for variables and registry keys.

IntelliSense

Validation

There's validation for both syntax errors, unknown variables, and more to help you avoid mistakes.

Validation

Outlining

Collapse sections for better overview of the document.

Outlining

Notice how only comments starting with a semicolon is correctly identified as a comment.

Formatting

You can format the whole document Ctrl+K,Ctrl+D or the current selection Ctrl+K,Ctrl+F. It will add a line break between registry key entries, trim whitespace, and other clean-up formatting.

Formatting

How can I help?

If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace.

Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist.

Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited.

Another way to help out is to sponsor me on GitHub.