Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.61 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.61 KB

Add DbUp File (64 bit)

Download the original x86 (pre-VS2022) extension at the VS Gallery.

Download the new x64 (VS2022) extension at the VS Gallery.


Shamelessly tweaked and stripped down version of Mads Kristensen's excellent AddAnyFile extension. It has one simple purpose - to provide a way for easily adding new dbup sql and cs files to any project. Simply hit Shift+F2 to create an empty script file in the selected folder or in the same folder as the selected file.

See the changelog for updates and roadmap.

Features

  • Filenames are automatically prefixed with ccyymmdd_hhmmss_ and restricted to one period
  • Marks new sql files as embedded resources (but not cs files)
  • Sql and cs templates relevant to dbup

Add new file dialog

Show the dialog

A new button is added to the context menu in Solution Explorer.

Add new file dialog

You can either click that button or use the keybord shortcut Shift+F2.

Create folders

Create additional folders for your file by using forward-slash to specify the structure.

For example, by typing scripts/test in the dialog, the folder scripts is created if it doesn't exist and the file test.{selected ext} is then placed into it.

Contribute

Check out the contribution guidelines if you want to contribute to this project.

License

Apache 2.0