How to get intelisense suggestions for functions stored in '.\Documents\lib' ?
Opened this issue · 2 comments
First of all thank you for the efforts in writing this extension. It really makes programming a pleasure.
Ever since I started to use the extension. I have been getting bugged by this, and it has only gotten worse, now that I have quite a few functions in the \Lib
with tons of parameters I cant remember.
To be clear I am talking about this feature:
I have noticed that if I have a file that is stored in the \Lib
folder open in another tab/group it will sometimes be suggested in the active document but not always.
I would like all the functions in files stored in \Lib
folder to be suggested to me via Intelisense.
- I have tried including the
\Lib
folder in workspace - I have tried creating a new workspace, then adding the
\Lib
folder on there (Sidebar). - I have tried placing
"ahk++.intellisense.enableIntellisense": true
and"ahk++.intellisense.maximumParseLength": -1,
in myjson
settings and reloading Code
I dont mind parsing many files. I have a capable PC and even then I am fine with waiting, I just really need to know what parameter is what, default values etc.
Also is there a setting to define a set of directories to scan for files to be parsed, for use in Intelisense? I have a few files that are not placed in conventional AHK directories and would like to reference them as I work.
Latest AutHotkey V1
Latest AHK++ Extension Update
Code Version: 1.78.1
Code Electron: 22.5.1
Code Chromium: 108.0.5359.215
Code Node.js: 16.17.1
Windows 11
Any help would be greatly appreciated!
This is a great ask @GaryAtlan82 and would definitely provide a lot of value to folks. I can say the extension parses all files opened or saved in the VS Code workspace for use in IntelliSense/autocomplete, so you should have some luck for now by just manually opening those files when you'd like to reference them.
Adding a setting for additional libraries to parse sounds like a great idea, I'll see what I can do :)
Wondefull. I look forward to it. I am sure it will be a great addition to this extension.