Underscores or special names with backticks are problematic with auto-completion #3406
Labels
Area-LangService-API
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
When you have a name of an identifier, field etc that has an underscore in it, auto-completion does not work as expected:
Special names (or whatever the term is for escaped names like these):
Names in backticks are especially useful when writing unit tests, and auto-complete can help tremendously with those readable, but awkward-to-type descriptive test-case names.
Repro steps
Similar things happen with escaped names, the backticks are sometimes even doubled.
Expected behavior
Whether or not there's an underscore in the name, auto-completion should work the same way.
Actual behavior
As described above and in the vidcap. Ctrl-space doesn't work properly when names have underscores in them or when they are specially escaped with double backticks.
Known workarounds
None. Or don't use autocomplete when names are created with backticks, or have underscores.
Related information
The text was updated successfully, but these errors were encountered: