Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get IntelliSense suggestions for functions stored in '.\Documents\lib' ? #395

Open
GaryAtlan82 opened this issue Aug 14, 2023 · 2 comments
Assignees
Labels
enhancement new feature or request intellisense autocompletion, suggestions, etc.

Comments

@GaryAtlan82
Copy link

GaryAtlan82 commented Aug 14, 2023

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 my json 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!

@GaryAtlan82 GaryAtlan82 added the enhancement new feature or request label Aug 14, 2023
@mark-wiemer
Copy link
Owner

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 :)

@mark-wiemer mark-wiemer moved this to Todo in (old) AHK++ Aug 14, 2023
@mark-wiemer mark-wiemer added the intellisense autocompletion, suggestions, etc. label Aug 14, 2023
@GaryAtlan82
Copy link
Author

Wondefull. I look forward to it. I am sure it will be a great addition to this extension.

@mark-wiemer mark-wiemer changed the title How to get intelisense suggestions for functions stored in '.\Documents\lib' ? How to get IntelliSense suggestions for functions stored in '.\Documents\lib' ? Oct 29, 2024
@mark-wiemer mark-wiemer moved this to To do in AHK++ Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new feature or request intellisense autocompletion, suggestions, etc.
Projects
Status: To do
Development

No branches or pull requests

2 participants