vscode-smart-clicks
vscode-smart-clicks copied to clipboard
Does not work in files containing an ECMAScript decorator
Describe the bug
I have found that when a JavaScript or TypeScript file contains a decorator, this extension's features stop working in that file.
Minimal Reproduction
Double click the = for the x and notice the assignment is not selected. Now remove or comment out the first line and notice that double clicking the = now works as expected.
@SomeDecorator()
class SomeDecoratedClass {}
let x = 1;
Reproduction
See description
System Info
N/A
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.
We might need to upgrade our Babel parser. PR welcome :)