All Projects → atishay → vscode-allautocomplete

atishay / vscode-allautocomplete

Licence: MIT license
Autocomplete from open files for VSCode

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vscode-allautocomplete

fast-autocomplete
Fast Autocomplete: When Elastcsearch suggestions are not fast and flexible enough
Stars: ✭ 201 (+123.33%)
Mutual labels:  autocomplete, autocompletion
Autocomplete
Suggests and completes words as you type! Write faster and more efficiently.
Stars: ✭ 18 (-80%)
Mutual labels:  autocomplete, autocompletion
CLI-Autocomplete
Cross-platform flexible autocomplete library for your CLI applications.
Stars: ✭ 21 (-76.67%)
Mutual labels:  autocomplete, autocompletion
Glyphfriend
Glyphfriend is a Visual Studio Extension to add previews for various icon/glyph fonts to Visual Studio.
Stars: ✭ 157 (+74.44%)
Mutual labels:  visual-studio, autocompletion
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (+52.22%)
Mutual labels:  autocomplete, autocompletion
Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (+612.22%)
Mutual labels:  autocomplete, autocompletion
django-search-admin-autocomplete
Simple django app that add autocomplete to search inside admin panel.
Stars: ✭ 28 (-68.89%)
Mutual labels:  autocomplete, autocompletion
Vim You Autocorrect
Why should smartphones get all the fun?
Stars: ✭ 173 (+92.22%)
Mutual labels:  autocomplete, autocompletion
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (-75.56%)
Mutual labels:  autocomplete, autocompletion
Cmake Ide
Use Emacs as a C/C++ IDE
Stars: ✭ 661 (+634.44%)
Mutual labels:  autocomplete, autocompletion
Modernsearchbar
The famous iOS search bar with auto completion feature implemented.
Stars: ✭ 167 (+85.56%)
Mutual labels:  autocomplete, autocompletion
zsh-yarn-completions
Yarn completions for Z-shell that supports yarn workspaces
Stars: ✭ 35 (-61.11%)
Mutual labels:  autocomplete, autocompletion
vscode-exts
Visual Studio Code Extensions
Stars: ✭ 33 (-63.33%)
Mutual labels:  visual-studio
dt-sql-parser
SQL Parsers for BigData, built with antlr4.
Stars: ✭ 135 (+50%)
Mutual labels:  autocomplete
PrivateGalleryCreator
Create private extension galleries for Visual Studio
Stars: ✭ 96 (+6.67%)
Mutual labels:  visual-studio
Pycraft
Pycraft is the OpenGL, open world, video game made entirely with Python. This project is a game to shed some light on OpenGL programming in Python as it is a seldom touched area of Python's vast amount of uses. Feel free to give this project a run, and message us if you have any feedback!
Stars: ✭ 39 (-56.67%)
Mutual labels:  visual-studio
slntools
Solution Tools for Visual Studio - manages solution files
Stars: ✭ 25 (-72.22%)
Mutual labels:  visual-studio
AT-NetCore-NotepadPlusPlus
Notepad++ Editor is one of the most important programs on any computer that everyone uses every day. The most popular and popular editor in Windows operating systems is Notepad, which is definitely familiar to everyone.
Stars: ✭ 42 (-53.33%)
Mutual labels:  visual-studio
TheVimIDE
Modern Vim IDE with support for C/C++, Java, Python, Lua, PHP, JavaScript, Ruby and much more ...
Stars: ✭ 33 (-63.33%)
Mutual labels:  autocompletion
FRC-Java-Tutorial
A tutorial on how to program a robot for use in the FIRST Robotics Competition
Stars: ✭ 52 (-42.22%)
Mutual labels:  visual-studio

Now present as a feature in VSCode natively. Use editor.wordBasedSuggestionsMode setting and set this to allDocuments

VSCode All Autocomplete

Provides autocompletion in Visual Studio Code items based on all open editors.

Features

Items in the Cmd+P Menu

  • Toggle Suggestions From The Current File
  • Cycle Open Editors

Extension Settings

This extension has the following settings:

  • AllAutocomplete.minWordLength: Minimum word length to keep in autocomplete list.
  • AllAutocomplete.maxLines: Maximum number of lines to read from a file.
  • AllAutocomplete.maxItemsInSingleList: Maximum number of items sent to autocomplete in a single API call (Autocomplete might not complete more items than this in a call).
  • AllAutocomplete.whitespace: Regex to use for splitting whitespace.
  • AllAutocomplete.cycleOpenDocumentsOnLaunch: Cycles through open documents on launch to enable autocomplete to include those documents on restore.
  • AllAutocomplete.showCurrentDocument: Show results from the current document in the autocomplete results.
  • AllAutocomplete.ignoredWords: Words to ignore(separated by AllAutocomplete.whitespace) from autocomplete.
  • AllAutocomplete.updateOnlyOnSave: Do not update the autocomplete list unless the document is saved.
  • AllAutocomplete.excludeFiles: Glob pattern for files to exclude from autocomplete search.
  • AllAutocomplete.languageWhitespace: Regex for splitting whitespace (Language specific). Specify as a map with a language ID and regex.
  • AllAutocomplete.languageSpecialCharacters: Regex for finding special characters that languages treat differently in autocomplete. For example, . in CSS.
  • AllAutocomplete.wordListFiles: Array of strings that represent path to files that behave as if they are always open. These can be used as stores for headers, word lists etc. for autocomplete. Absolute paths can be used here or if the workspace consists of a single folder, relative paths to the folder can also be used.
  • AllAutocomplete.nonContributingLanguages List of languages that do not contribute words but can consume words from the autocomplete list.
  • AllAutocomplete.nonContributingToSelfLanguages List of languages that do not supply word lists to the files of the same language but can consume words from All Autocomplete as well as supply word lists to other files.
  • AllAutocomplete.dontContributeToSelf Disables supplying word lists to files of the same language. Equivalent to putting all languages in AllAutocomplete.nonContributingToSelfLanguages.

Suggestions in comments/strings

  • Autocomplete can provide suggestions within suggestions/strings. To get those, please enable the following settings:
  // Controls whether suggestions should automatically show up while typing.
  "editor.quickSuggestions": {
    "other": true,
    "comments": true,
    "strings": true
  }

Needs Suggestions

If you feel that the whitespace splitter is wrong in some language, please report a github issue or better a pull request with the correct regex in package.json.

Known Issues

Documents do not show up in autocomplete on restore.

Upon restoring Visual Studio, the documents that have never been opened do not appear in autocomplete. (VSCode Issue#15178)

Click on open tabs to enable them in the document. Alternatively, you can use the Cmd+P menu and select Cycle Open Editors. You can enable this to be done on launch with AllAutocomplete.cycleOpenDocumentsOnLaunch.

Emmet collision

The emmet plugin takes over the special character # in CSS and therefore that cannot be auto-completed.

Performance Impact

CPU

  • When using real-time mode by setting AllAutocomplete.showCurrentDocument = true, the plugin tries to update the index on each addition/deletion.
  • When AllAutocomplete.showCurrentDocument = false, the index updates itself on each change to focussed editor.
  • When AllAutocomplete.updateOnlyOnSave = true, the index is updated only on save and open/close of documents.

RAM

  • AllAutocomplete.maxItemsInSingleList controls the number of items populating the autocomplete list.
  • AllAutocomplete.maxLines control the number of lines to read in a document. Longer documents can be ignored.

TODO

  • Support completion of the license header.
  • Investigate Ctags for autocomplete indexing from folders.
  • Fix issues with backspace and completions removing/adding wrong items.

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].