Description
When managing a large number of cql files, a single flat folder of cql files can get unwieldy. Having nested sub-folders can help.
When searching for diagnostics (red squiggles) with the following directory strucutre:
- cql
- file1-0.0.1.cql
- /sub-folder
- file2-0.0.1.cql
file1.cql WILL properly include file2.cql. But file2.cql WILL NOT properly include file1.cql.
The following line shows that "root" is being searched recursively, however root is not called with with the /cql directory but the directory of the current file's parent. In other words file1 will look anywhere in /cql, but file2 will only look in /sub-folder.
Firstly, is this uni-directional resolution intentional?
Second, are there already thoughts on nested folders in cql? It would probably be pretty easy to pass in the /cql folder always as "root" in the above function, but there may be issues such as test/execute folder locations and the requirement that no two files can have the same {name}-{version}.cql in multiple folders.