Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tabbing through all levels for completions in a path #8792

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

rchiodo
Copy link
Contributor

@rchiodo rchiodo commented Jan 25, 2022

Fixes #7816

Thanks @misolori. I used the html extension and figured out what it was returning differently. Its completion items include a command to run when they are completed.

@rchiodo rchiodo requested a review from a team as a code owner January 25, 2022 01:35
} else {
// If inside a string and ending with '/', then add a command to force a suggestion right after
result = result.map((r) => {
if (r.itemText.endsWith('/')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if a path ends with \, or is this specific to just /

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jupyter always returns paths with '/' on them.

@codecov-commenter
Copy link

Codecov Report

Merging #8792 (5ed507c) into main (79486ab) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##            main   #8792   +/-   ##
=====================================
  Coverage     71%     71%           
=====================================
  Files        382     382           
  Lines      24690   24694    +4     
  Branches    3804    3805    +1     
=====================================
+ Hits       17655   17658    +3     
- Misses      5506    5512    +6     
+ Partials    1529    1524    -5     
Impacted Files Coverage Δ
...ook/intellisense/pythonKernelCompletionProvider.ts 77% <100%> (+3%) ⬆️
src/client/datascience/dataScienceSurveyBanner.ts 69% <0%> (-7%) ⬇️
src/client/datascience/jupyter/kernels/helpers.ts 72% <0%> (-2%) ⬇️
src/client/datascience/baseJupyterSession.ts 76% <0%> (+<1%) ⬆️
src/client/common/process/baseDaemon.ts 45% <0%> (+1%) ⬆️
...lient/datascience/variablesView/notebookWatcher.ts 93% <0%> (+2%) ⬆️

@rchiodo rchiodo merged commit cae887e into main Jan 25, 2022
@rchiodo rchiodo deleted the rchiodo/string_suggest branch January 25, 2022 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IntelliSense for data files does not work on subfolders
3 participants