Move python contextual queries to lib folders#9838
Conversation
148c57d to
a25df96
Compare
This will ensure that python projects can use jump to ref/def in vscode when the core libraries are not installed.
a25df96 to
b897a40
Compare
tausbn
left a comment
There was a problem hiding this comment.
I'm happy with the move, but slightly confused as to the setup here. This PR only moves the Local... versions, leaving e.g. Definitions.ql in src/analysis/ (unless I've misread this somehow). Presumably Definitions.ql should also move into /lib?
|
Thanks for the review. Definitions.ql must remain in src in order for lgtm to be able to discover them. Also, ql files in *-all qlpacks are not pre-compiled. |
|
That comment was written from my phone. Here is a deeper explanation: The vscode extension requires the LocalDefs/Refs files to be in the lib folders (ie- For LGTM, we need the Definitions.qll in the |
This will ensure that python projects can use jump to ref/def in
vscode when the core libraries are not installed.
See also #9744. This PR does the same for python queries.