-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
No suggestion of built in variables without %% in include directive #108
Comments
This is not optional, |
What I meant is that the autohotkey interpreter does not see |
It's just that the wrong usage just doesn't cause an error in this case. Replacing |
Correct. I agree with that. So in the meantime (until that changes) the lexer should be a bit laxed with that usage. |
Issue Type: Bug
Steps
Expected
Suggestions should show up as percent signs are optional
Result
No suggestions are shown
Notes
After typing some variables errors are resolved (when the path exists)
Suggestions
One of the issues is that the lexer tries to validates paths and while they are not valid the lexer enters in to an error state and nothing else seems to work.
Probably the lexer should validate the path after a new line when the path is completed.
In the meantime suggestions should work as expected because according to the documentation:
And as shown in the previous example the percent signs seem to be optional. I get no errors when not using the percent signs on variables while doing an include.
Extension version: 1.3.6
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: