loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

ALT+I on Include path like "..\..\##xxx##\xxx.au3" does not work #175

Closed GrandStrateguerre closed 11 months ago

GrandStrateguerre commented 1 year ago

Hello,

image

for a path like "....\foder\file.au3" the shortcut doesnot work

I also add, the folder path of the include file in autoit.includePaths : image

But with no sucess.

Best regards

Danp2 commented 1 year ago

Hi @GrandStrateguerre,

Thanks for the report. Unfortunately, I'm not able to reproduce on this end. I assume that you are running the latest version of this extension. Are you sure that the relative path is valid, filenames are spelled correctly, etc?

FYI, you shouldn't need to add the directory to autoit.includePaths for this to work correctly.

Regards, Dan

GrandStrateguerre commented 1 year ago

Hello Dan,

I think, I found it, this is when you have a # in the path like : C:\User\abcd\##ABCD##....

Since I remove the folder with # , it works good.

Have a good wee-end :)

Thanks, Eric