You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They should only autocomplete when it’s the first character of the line or if a space precedes them, e.g. I can’t type “foo#bar” without triggering autocomplete on variables.
The text was updated successfully, but these errors were encountered:
This commit fixes an issue where autocompletion would incorrectly trigger when typing a variable character '#' in the middle of words (e.g., "Hello#").
Changes:
- Removed '#' from trigger characters in the variable argument completion provider
- Improved boundary detection in the variable argument picker to prevent triggering when '#' appears within words
- Added better context validation to ensure completion only happens in appropriate cases
- Fixed the implementation to maintain correct functionality for legitimate variable references like "#file:"
The fix ensures that autocompletion is only triggered in intended contexts while preserving all existing functionality.
Fixedeclipse-theia#15028
JonasHelming
changed the title
[Theia AI] Hashtags always autocomplete in the chat | They should only autocomplete when it’s the first character of the line or if a space precedes them, e.g. I can’t type “foo#bar” without triggering autocomplete on variables.
[Theia AI] Hashtags always autocomplete in the chat
Feb 25, 2025
They should only autocomplete when it’s the first character of the line or if a space precedes them, e.g. I can’t type “foo#bar” without triggering autocomplete on variables.
The text was updated successfully, but these errors were encountered: