Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Reline AutocompleteNew to Visual Studio Code? Get it now.
Reline Autocomplete

Reline Autocomplete

Geometric Applications

|
2,219 installs
| (2) | Free
Autocomplete using lines you've already written for JavaScript, TypeScript, React, CSS, Python, Ruby, C#, JSON and more. Analyze your codebase stats.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Reline Autocomplete Beta

Reline Autocomplete - Full-line Autocomplete for JS and TS

Demo

Reline is an auto-complete provider that allows you to auto-complete lines using any text you've already written in this project.

Enabled for TypeScript, JavaScript, Python and Ruby!

Reline is not smart. It's more like a Copy+Paste helper than a true auto-complete solution. If you want smart, look for one of the great AI-powered auto-complete solutions on the VSCode Marketplace.

Another way to think of Reline is it's like an automatic snippet manager. All of the lines you've written before in this project become mini-snippets that you can access just by starting to type them.

Find us on Twitter at @reLineCode

Features

Reline currently offers two key features: Autocomplete and Code Analysis.

Autocomplete

Reline will attempt to complete the full line you're currently typing, if any exact matches (by prefix) are found in your codebase elsewhere.

Reference code you've written elsewhere: JavaScript

Quick access to commonly used constants: CSS

Easily repeat yourself on your most-used snippets: React

  • Supported Extensions - *.html, *.ts, *.js, *.tsx, *.jsx, *.py, *.rb, *.css, *.less, *.scss, *.sass

  • Autocomplete - triggers for lines longer than 5 characters and shorter than 200 characters

  • Matching: Reline is case sensitive

Code Analysis

Use the shortcut menu to run command Reline: Analyze workspace code.

Reline offers overviews of your codebase and your code uniquness.

Analysis

Extension Settings

All settings require the extension to be reloaded before changes take effect.

Key settings These settings are useful to configure Reline to your preferences.

  • reLine.additionalExtensions: An array containing file extensions you'd like to include. Do not include a dot. Ex: ["rb", "py"]
  • reLine.maxResults: "Initially 2, the maximum number of results that will be returned at a time.
  • reLine.minCharactersToTrigger: Initially 4, the number of characters needed to be typed on a line to start seeing Reline results.
  • reLine.maxFiles: A number, ex 250. If defined, Reline will stop crawling after encountering maxFiles files in your project. Helps avoid performance problems for very large workspaces at the cost of missing project content. Opened files and saved files will always be added to the index.
  • reLine.excludePatterns: Add additional paths to be excluded. Ex; ["**/debug/**", "**/*.map.js"] would exclude any /debug directory and *.map.js files. The default exclusion list includes: **/node_modules/**,**/out/**,**/build/**,**/dist/**,**/.next/**,**/*.min.js,**/lib/** and cannot be overridden at the moment (only appended to). Each entry should be a single term GlobPattern Warning: If you make a mistake in your Glob formatting, the extension may fail to load or cause other problems loading

Additional Settings These settings can be changed, but I don't really know why anyone would.

  • reLine.enable: enable/disable this extension
  • reLine.minLineLength: Initially 5, can be used to exclude or include short lines from the index
  • reLine.maxLineLength: Initially 200, can be used to exclude or include long lines from the index

Known Issues

  • Reline's indexer only supports exact prefix matches. Advanced matching may be supported in future releases.
  • The Reline indexer will be slow for very large projects. If you experience latency, try modifying the settings to reduce the number of files.
  • Reline may not update properly when switching workspaces
  • Reline's suggestion ordering does not update properly across file changes. If the quality of suggestions degrades across a long working session, restart the extension or VSCode. Reline initializes itself using the frequencies of your code as an input to the suggestion quality ranking, but for performance reasons does not strictly maintain those counts as you add and remove lines.

Release Notes

Users appreciate release notes as you update your extension.

FAQs

Is my code kept private?

Yes. Reline is currently implemented locally only. There are no API calls or data logging.

Will my code be kept private in the future?

Your privacy is very important to us. If we ever release features that require us to make API calls or send any of your data to a server, those features will be opt-in only for any current users of the extension.

I love it. How can I support this project?

Thanks for your support! I don't currently have any method set up to accept payments or donations. You could tell your friends and colleagues about the extension, add it to your team's workspace by default, or otherwise get the word out.

I have a problem or concern. Can you help?

We monitor a twitter account @reLineCode and will respond to inquiries there as time permits.

We can receive emails at geometricapplications@gmail.com, but we can't promise that we'll be able to respond to email messages quickly or at all. We'll do our best.

Are there any similar extensions you'd recommend?

This software was inspired by TabNine and is intended to work alongside that software. TabNine provides really good results in many cases, but it isn't great at providing you exact matches based on other code you've already written. Reline is better with TabNine.

You should also check out Kite, which is another AI-powered auto-complete tool that will give you much better results than Reline alone will.

0.1.13

Adds a new command: Explore directory in Reline

  • Allows you to run the line analysis tool on the directory of the current file

0.1.12

Some small bug fixes to improve completion availability, correctness and reliability.

0.1.11

  • Completions are now managed per-language, so you only get relevant completions
  • Completions are shown even before you finish the first word

0.1.10

Official support for csharp and fixes a few small bugs to work better on that language.

0.1.9

Official support for Python and Ruby autocompletion and analysis

0.1.8

Improves compatibility with auto-brace matching and other auto-complete tools.

0.1.6

Add "Reline: Analyze workspace code" which will show you a quick overview of your codebase. Future releases will include a more interactive and explorable view.

0.1.5

Updated index engine powers next-line suggestions:

  • Trigger autocomplete (ctrl+space or just space) to see line suggestions that follow the previous line
  • When previewing a ReLine autocompletion, also see if there is a "next line" available

Also includes:

  • Better preview for long-line contents

0.1.4

Fixed a few bugs with autocomplete insertion

  • Insertions should no longer miss characters in the middle of the line
  • Autocomplete results should sort and filter more accurately in the VSCode UI

0.1.3

Significantly improved lookup and index-update performance to make the extension more usable on large projects with >20k LoC

0.1.2

Added support for configuration reLine.additionalExtensions to support any language.

0.1.1

Initial release of ReLine (Beta):

  • Minimal set of capabilities
  • Support for web languages only
  • Not yet tested across many projects

Credits

Thanks to TabNine which served as a learning experience to help me figure out how to write a VSCode extension: https://github.com/codota/tabnine-vscode

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft