Code completion should automatically appear in strings when typing $ or ${
See original GitHub issueAssume a class foo:
class foo {
static const var1 = 42;
void bar() {
print('foobar: ');
}
}
Now try to extend the string inside print from 'foobar: '
to 'foobar: $var1'
.
After typing $v
I would expect to be able to code complete to $var1
, but that does seem to happen.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Code completion | IntelliJ IDEA Documentation - JetBrains
Type the initial string and do one of the following: Press Alt+/ or choose Code | Code Completion | Cyclic Expand Word to...
Read more >Auto-completion - Notepad++ User Manual
Notepad++ offers automatic completion of various sorts of text after you have entered an initial substring (or prefix), which can save you having...
Read more >IntelliSense in Visual Studio Code
The editor supports "tab completion" which inserts the best matching completion when pressing Tab. This works regardless of the suggest widget showing or...
Read more >[typescript autocomplete] take "literal" | string as a hint ... - GitHub
Autocomplete is not shown automatically, triggering it with <ctrl+space> shows a bunch of strings used in the project: "random string 1"; " ...
Read more >Code Completion - IBM
Typing curly braces will auto indent to accommodate indentation of blocks. When you type an opening curly brace and hit enter, tabs will...
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
@Skylled Good call! We actually set trigger characters for completion. They’re currently
".", ":", " ", "=", "("
and it seems like adding$
and{
causes the completion event even without the setting mentioned above.I’ll do a little more testing later, but I think adding these is a better idea than override the setting.
Seems to work well with no negatives in my testing; so I’ve added those chars.