Autocomplete removing preceding space
See original GitHub issueWhen I try and set a value using autocomplete, sometimes the editor removes the preceding space. If I want something that looks like note.x = dropAreaBG.x
, if I autocomplete on dropAreaBG
, the end results looks like note.x =dropAreaBG.x
.
I’ve added a gif that illustrates what I’m seeing. Since this doesn’t seem to happen when editing js, it feels like a dart extension issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Remove space in my autocompletextview when I search
If you want to remove whitespace from the begining and ending of the string use .trim(). Like the regex, put it after your...
Read more >Remove space autocomplete from M-x - Emacs Stack Exchange
I use Plover steno (https://www.openstenoproject.org/) with Emacs (i.e. mapping key strokes to words/phrases). Plover automatically puts spaces ...
Read more >autofill adds trailing space to each field | Firefox Support Forum
When autofill adds text to web forms, it adds a trailing space to each entry. This triggers checks for mal-formed email and phone...
Read more >Trim search value in AutoComplete in Kendo UI for jQuery
is there a way to trim search value in autocomplete? The scenario is that as first thing when I use autocomplete I press...
Read more >Remove whitespaces between two or more words
You could use below mentioned function to remove empty spaces between input string value... Function Name = stripNonAlphaNumericChars. Capture.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, definitely a bug! Possibly related to us putting a space in
filterText
(suggested at https://github.com/Microsoft/vscode/issues/66860#issuecomment-456208542). I’ll see what I can find. Thanks!Unfortunately VS Code doesn’t handle what we were trying to do here very well, so I’ve had to remove
=
and:
as trigger completion characters. This means completion won’t open automatically after typing those (but will when you type another character, or manually invoke with Ctrl+Space).