the extension will search for all the sql files in your project and provide you with a list of file names to choose from when you type Version 1.2 optimized the performance of monitoring changes to SQL files. This requires some configuration of the solution file; simply add the relative path between the SQL file root directory and the solution file, as shown in the code below.
This VSIX extension will determine whether to enable it based on whether SQLRoot is set. Additionally, we need to add the following configuration to the .csproj file corresponding to the project containing the sql folder to ensure that all directories and sql files under the sql folder are completely output to the compiled folder after the project is compiled.
SqlLoader Codeyou need to create a class named
Features1.the extension will watch all sql files in your project, the extension will find all sql file's same parent folder as base directory and watch all sql file's change.
for example you store all sql files in a folder named
the extension will compose a list like below: [ "ListAreas", "Users.CreateUser" "Users.GetUsers", "Orders.CreateOrder", "Orders.UpdateOrder", "Orders.AfterSale.CreateAfterSale" ] When you type 2.the extension can help you goto the sql file when you press TipsI Just test the extension in Visual Studio 2022 Community Version, if you find any issue in other versions, please let me know. |