question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support line and file completion

See original GitHub issue
  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

In stock Vim you can press <C-X><C-L> to complete the rest of the current line from all matching lines in all open buffers. You can also press <C-X><C-F> to complete the current path from matching paths on the filesystem. Might there be any interest in adding support here for these powerful features? Thanks for your consideration and for the great work on VSCodeVim!

Environment:

  • VSCode Version: 1.18.0
  • VsCodeVim Version: 0.10.2
  • OS: macOS 10.12.6

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:9
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
shawnaxsomcommented, Sep 6, 2018

I can take this one. I looked at a line completion solution this morning. I have line completion working by just going through lines of visible editors and matching startsWith of the current line. If performance is fine with many files open then hopefully that is all we need.

0reactions
shawnaxsomcommented, Sep 13, 2018

PR is up with #3048 for line completion. I may look at file completion after that is merged. It will likely behave similarly, using Quick Pick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command-line completion - Wikipedia
Command-line completion allows the user to type the first few characters of a command, program, or filename, and press a completion key (normally...
Read more >
Completion Files - Gentoo Development Guide
Completion -Related Internal Bash Variables ; COMP_LINE, The current command line. ; COMP_POINT, The index of the current cursor position relative to the...
Read more >
How to ensure file write completion before END PROGRAM
My program always works correctly using a two-stratum variable, but fails on a 4-stratum variable when run internally (only the results for the...
Read more >
20 Completion System - zsh
20.1 Description. This describes the shell code for the 'new' completion system, referred to as compsys. It is written in shell functions based...
Read more >
IntelliSense in Visual Studio Code
Learn about Visual Studio Code IntelliSense (intelligent code completion). ... You can change these settings in your settings.json file as described in User ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found