gotosql README
This extension allows the user to navigate to an SQL file in VSCode.
- Right-click on the line containing the filename, e.g.
myfile.sql
or a string in double quotation marks, e.g."my_module"
. - Choose
GoTo SQL File
If there is no sql file under the given name, we'll see an error message.
If there is one sql file with the given name in the workspace, we navigate to that file.
If there are more than one file with the given name in the workspace, the file menu will open, prefilled with that filename.
how do I install this
- Clone this repo and navigate to the folder.
- Install npm
- Run
npm install vsce
- Run
vsce package
to build the extension - Run
code --install-extension <path-to-vsix-file>
untested, but probably working alternative
- Download only the
vsix
file from this repo - Run
code --install-extension <path-to-vsix-file>