Description
Pasting whitespace (e.g. " ") in an AutoHotkey 2 file triggers a popup, resulting in this error in the Output:
[Error - 11:51:12 AM] Request textDocument/rangeFormatting failed.
Message: Request textDocument/rangeFormatting failed with message: Cannot read properties of undefined (reading 'text')
Code: -32603
This is annoying.
Reproduction steps
Steps to reproduce the behavior:
- Create an AutoHotkey 2 file with this content:
- Copypaste a single space inside the function body.
Description
Pasting whitespace (e.g. " ") in an AutoHotkey 2 file triggers a popup, resulting in this error in the Output:
This is annoying.
Reproduction steps
Steps to reproduce the behavior:
Test() { }