genius257 / vscode-autoit

AutoIt language extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=genius257.autoit
MIT License
4 stars 3 forks source link

IncludeStatement document links using backslash fails to resolve #15

Closed genius257 closed 1 year ago

genius257 commented 1 year ago

The resolve function taking the URI cannot handle backslash correctly and fails to resolve the correct file URI

Example:

#include "./json.au3"; Works
#include ".\json.au3"; Fails
genius257 commented 1 year ago

This does not seem to break on Windows, but breaks in web and linux