Autocomplete for symbols from package:charcode ends up with duplicated dollar ($) characters #3943
Labels
in editor
Relates to code editing or language features
in lsp/analysis server
Something to be fixed in the Dart analysis server
is bug
Milestone
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
import 'package:charcode/charcode.dart';
to some.dart
file.$ba
. The autocomplete list appears, listing$backquote
,$backslash
, ...$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 frompackage:charcode
are autocompleting differently.Versions
The text was updated successfully, but these errors were encountered: