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
File names with square brackets, used in Fresh and other frameworks for dynamic file based routing, seem to break the extension.
Could not convert URL "file:///home/jtrns/tmp/deno-lsp-brackets/[main].tsx" to URI: unexpected character at index 41
Unable to convert fix: unexpected character at index 41
[Error - 11:30:53 AM] Request textDocument/codeAction failed.
Message: Internal error
Code: -32603
Describe the bug
File names with square brackets, used in Fresh and other frameworks for dynamic file based routing, seem to break the extension.
file:///home/jtrns/tmp/deno-lsp-brackets/[main].tsx".indexOf("[") // 41
To Reproduce
[main].ts
Expected behavior
The LSP should be able to parse paths that contain brackets.
Versions
vscode:
Version: 1.93.0 (system setup)
Commit: 4849ca9bdf9666755eb463db297b69e5385090e3
Date: 2024-09-04T13:02:38.431Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
deno:
Version: 1.46.3 (stable, release, x86_64-unknown-linux-gnu)
v8 12.9.202.5-rusty
typescript 5.5.2
extension: v3.39.0
The text was updated successfully, but these errors were encountered: