Closed
Description
Problem
Steps to reproduce the issue
- Type any code that includes a
@
symbol, e.g.@SomeAnnotation
in Java@Decorator
in Python,@instance_var
in Ruby, etc. - Observe special syntax highlighting from
@
character onwards, e.g. - Type enough characters so that word is not in the command picker, then
Spacebar
orTab
- Token starting at
@
is deleted
Expected behavior
- Either:
- Once the identifier was no longer in the command list, I would expect the token to lose syntax highlighting and to be left intact, allowing entry of such code elements into chat with the underlying service/model.
- Alternately, I would expect some combination of escape characters, e.g. `@backtick_fencing` or
\
prefixing, to allow the entry of@IdentifiersLikeThis
without command parsing.
System details
- OS: MacOS 14.5
- Tested environment:
- Web (Demo app)
- VSCode Amazon Q Chat
- JetBrains IntelliJ Amazon Q Chat
- Enviroment extension version (if applicable):
- Enviroment is remote