feat: go to definition for source in $ref{("MY_SOURCE")}. When the user is on a line where a source in the format of $ref{("MY_SOURCE")} they can right click and select Go to definition or press F12 when the word under the cursor is MY_SOURCE. If the source is either defined as a file in definitions directory it will take you to top of that file or if it is defined as source in sources.js then it will take you to the line where the MY_SOURCE is defined in sources.js. If the source for some reason cannot be found the editor will remain at the current file and inform you at the cursor from where go to definition is invoked that the definition can not be found for the word under the cursor.
fix: do not show user warning message if user is on wrong file
feat: create file association for .sqlx files to .sql by default ( if works is a good default)
This merge request:
feat: go to definition for source in
$ref{("MY_SOURCE")}
. When the user is on a line where a source in the format of$ref{("MY_SOURCE")}
they can right click and selectGo to definition
or press F12 when the word under the cursor isMY_SOURCE
. If the source is either defined as a file in definitions directory it will take you to top of that file or if it is defined as source insources.js
then it will take you to the line where theMY_SOURCE
is defined insources.js
. If the source for some reason cannot be found the editor will remain at the current file and inform you at the cursor from where go to definition is invoked that the definition can not be found for the word under the cursor.fix: do not show user warning message if user is on wrong file
feat: create file association for
.sqlx
files to.sql
by default ( if works is a good default)