forked from eclipse-theia/theia
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Prevent autocompletion from triggering incorrectly within words
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. Fixed eclipse-theia#15028
- Loading branch information
Showing
1 changed file
with
110 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters