-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bug
Milestone
Description
Describe the bug
When I attempt to autocomplete the generated symbols from package:charcode that start with a $ character, the autocompleted symbol ends up with $$.
To Reproduce
- Add
import 'package:charcode/charcode.dart';to some.dartfile. - Start typing
$ba. The autocomplete list appears, listing$backquote,$backslash, ... - Press Tab.
$ba gets autocompleted to $$backquote.
Expected behavior
$ba should have been autocompleted to $backquote.
Other notes
Strangely, if I define my own variable (e.g. var $foo = 'bar';), then that seems to autocomplete fine. I'm not sure why the symbols from package:charcode are autocompleting differently.
Versions
- Operating System and version: Ubuntu 20.04.4 LTS (x64)
- VS Code version: 1.66.2
- Dart extension version: 3.38.2
- Dart/Flutter SDK version: Dart 2.16.2
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bug