- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
pr:303, to search for pull request number, title, or description, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
Improves detection of whether tab-completion is in a string and supresses Jedi....
Improves detection of whether tab-completion is in a string and supresses Jedi.
Refs #10926 and #11530
Jedi results swamp file_matches and dict_key_matches in
tab-completion, which is a real nuisance. The logic in the jedi
completor tried to catch cases where it was "in a string", but that
logic only looked at the previous character, and was a little fragile,
breaking in lots of cases such as:
'./<tab>
"mypath/<tab>
etc.
This seems a bit more robust in that it searchs for the first token in
the current parser tree and checks if its value starts with ' or ".
This detection of "in a string" then turns of jedi and returns some
sanity to the set of matches.