Open jgrg opened 3 years ago
A description of what the bug is.
Run Sublime Text 4107 in safe mode, edit a Perl source file, and with the cursor at the end of tsv at the end of this example:
tsv
use My::Utils "tsv_row_fetcher_from_file"; my $fetcher = tsv
and press <Tab>
Completion of word tsv_row_fetcher_from_file
tsv_row_fetcher_from_file
No completion is offered. Spaces are inserted.
Same happens in JSX files too, so it seems that the general case:
Text completion in the source scope does not suggest words that are in quoted or comment scope elsewhere in the file.
may be true. In both Perl and JSX tab completion continues to work on any word in the source file when the cursor is in quoted or comment scope.
https://github.com/sublimehq/sublime_text/issues/4291#issuecomment-850414563
Description
A description of what the bug is.
Steps to reproduce
Run Sublime Text 4107 in safe mode, edit a Perl source file, and with the cursor at the end of
tsv
at the end of this example:and press <Tab>
Expected behavior
Completion of word
tsv_row_fetcher_from_file
Actual behavior
No completion is offered. Spaces are inserted.
Same happens in JSX files too, so it seems that the general case:
may be true. In both Perl and JSX tab completion continues to work on any word in the source file when the cursor is in quoted or comment scope.
Environment