Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Line CompletionNew to Visual Studio Code? Get it now.

Line Completion

rioj7

|
68 installs
| (0) | Free
Suggest a completion of the line that starts the same
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Line Completion

Suggest a line that starts the same as the current line.

  • the starting whitespace is ignored
  • the comparison is case insensitive (lowercase compare)
  • configure for which files it provides a suggestion
  • configure how many characters it should match minimally

Configuration

The extension has the following settings:

  • line-completion.documentSelector : An array of DocumentFilter objects. It determines for which files a suggestion is provided.
    Default:
    [{ "language": "plaintext", "scheme": "file" }]
    In the documentation you can find a list of language identifiers. There are more language identifiers if you have additional language extensions installed.
  • line-completion.minimalCharacterCount : How many characters to type before a completion suggestion is made. (default: 3)

If you change any setting you have to restart VSCode. This can be done with the command Developer: Reload Window

TODO

  • configure workspace relative selector
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft