You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For intelliSense to work, the used files functions have to be parsed.
Soo i have the "libraries" open in extra tab, and when i reopen VSCode i click on each of them and let them colorize.
And those LONG lines all together take up to 20 seconds to Finish.
And the results are not all the same, even tho all the lines (apart from the names and strings) are the same
My best Guess
The parser gets stuck on the '+' characters trying to do math inside of a string.
Which somehow messes with both speed and colorization.
Actual output
Additional context
im using V1, the linked script is also in V1
also checked: I dont have any other AHK related Extension in my VSCode
The text was updated successfully, but these errors were encountered:
Thank you for reporting this. I'm not surprised to see this behavior, there isn't extensive optimization done to handle edge cases of many lines like this these. I'll see what I can do.
yo, can we get an ETA for this please ?
im fine with a dirty workaround too, sth like if function followed by '(' read the rest as string untill ")[return|EOF]" or whatever :-)
Don't expect anything soon :/ a change here might be pretty difficult and I'm focusing on some other QoL stuff and AHK v2 support currently :( I'll be updating the https://github.com/orgs/mark-wiemer-org/projects/1 project soon to give a better visual of how issues are prioritized. You're welcome to research online and post any findings here, or even open a PR yourself :)
Description / Story?
For intelliSense to work, the used files functions have to be parsed.
Soo i have the "libraries" open in extra tab, and when i reopen VSCode i click on each of them and let them colorize.
One of them :
https://github.com/Spawnova/ShinsImageScanClass/blob/main/ShinsImageScanClass.ahk
has a LOT of LONG lines, which to my understanding, they import C++ code. They are essentially function calls with 1 OMEGA LARGE String passed in. They start around line 60 and the longest one is close to 5 000 chars long !
And those LONG lines all together take up to 20 seconds to Finish.
And the results are not all the same, even tho all the lines (apart from the names and strings) are the same
My best Guess
The parser gets stuck on the '+' characters trying to do math inside of a string.
Which somehow messes with both speed and colorization.
Actual output
Additional context
im using V1, the linked script is also in V1
also checked: I dont have any other AHK related Extension in my VSCode
The text was updated successfully, but these errors were encountered: