{"_id":"@builtbygio/autocomplete-plus","name":"@builtbygio/autocomplete-plus","dist-tags":{"latest":"2.42.7"},"versions":{"2.42.7":{"name":"@builtbygio/autocomplete-plus","version":"2.42.7","main":"./lib/main","description":"Display possible completions in the editor while typing","repository":{"type":"git","url":"git+https://github.com/builtbygio/autocomplete-plus.git"},"license":"MIT","engines":{"atom":">=0.189.0 <2.0.0","chevron":"*"},"dependencies":{"atom-slick":"^2.0.0","dompurify":"3.4.13","fuzzaldrin":"^2.1.0","fuzzaldrin-plus":"^0.6.0","grim":"^2.0.1","marked":"4.3.0","minimatch":"^3.0.3","selector-kit":"^0.1","stable":"^0.1.5","underscore-plus":"^1.6.6"},"devDependencies":{"fs-plus":">=2.4.0","standard":"^8.3.0","temp":">=0.7.0"},"providedServices":{"autocomplete.watchEditor":{"versions":{"1.0.0":"provideWatchEditor"}}},"consumedServices":{"autocomplete.provider":{"versions":{"1.0.0":"consumeProvider_1","1.1.0":"consumeProvider_1_1","2.0.0":"consumeProvider_2","3.0.0":"consumeProvider_3","4.0.0":"consumeProvider_4"}},"snippets":{"versions":{"0.1.0":"consumeSnippets"}}},"configSchema":{"enableAutoActivation":{"title":"Show Suggestions On Keystroke","description":"Suggestions will show as you type if this preference is enabled. If it is disabled, you can still see suggestions by using the keymapping for 'autocomplete-plus:activate' (shown below).","type":"boolean","default":true,"order":1},"autoActivationDelay":{"title":"Delay Before Suggestions Are Shown","description":"If you are experiencing performance issues when typing, you should try increasing this value to a non-zero number (e.g. 100).","type":"integer","default":0,"order":2},"maxVisibleSuggestions":{"title":"Maximum Visible Suggestions","description":"The suggestion list will only show this many suggestions.","type":"integer","default":10,"minimum":1,"order":3},"confirmCompletion":{"title":"Keymap For Confirming A Suggestion","description":"You should use the key(s) indicated here to confirm a suggestion from the suggestion list and have it inserted into the file.","type":"string","default":"tab and enter","enum":["tab","enter","tab and enter","tab always, enter when suggestion explicitly selected","none"],"order":4},"useCoreMovementCommands":{"title":"Use Core Movement Commands","description":"Disable this if you want to bind your own keystrokes to move around the suggestion list. You will also need to add definitions to your keymap. See: https://github.com/atom/autocomplete-plus#remapping-movement-commands","type":"boolean","default":true,"order":5},"fileBlacklist":{"title":"File Blacklist","description":"Suggestions will not be provided for files matching this list, e.g. `*.md` for Markdown files. To blacklist more than one file extension, use comma as a separator, e.g. `*.md, *.txt` (both Markdown and text files).","type":"array","default":[".*"],"items":{"type":"string"},"order":6},"scopeBlacklist":{"title":"Scope Blacklist","description":"Suggestions will not be provided for scopes matching this list. See: http://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/","type":"array","default":[],"items":{"type":"string"},"order":7},"includeCompletionsFromAllBuffers":{"title":"Include Completions From All Buffers","description":"For grammars with no registered provider(s), the default provider will include completions from all buffers, instead of just the buffer you are currently editing.","type":"boolean","default":true,"order":8},"strictMatching":{"title":"Use Strict Matching For Built-In Provider","description":"Fuzzy searching is performed if this is disabled; if it is enabled, suggestions must begin with the prefix from the current word.","type":"boolean","default":false,"order":9},"minimumWordLength":{"description":"Only autocomplete when you've typed at least this many characters. Note: May not affect external providers.","type":"integer","default":3,"order":10},"extraWordCharacters":{"description":"Characters to consider part of words for the purpose of autocomplete, even if they are included in the editor.nonWordCharacters setting","type":"string","default":"","order":10.5},"enableBuiltinProvider":{"title":"Enable Built-In Provider","description":"The package comes with a built-in provider that will provide suggestions using the words in your current buffer or all open buffers. You will get better suggestions by installing additional autocomplete+ providers. To stop using the built-in provider, disable this option.","type":"boolean","default":true,"order":11},"builtinProviderBlacklist":{"title":"Built-In Provider Blacklist","description":"Don't use the built-in provider for these selector(s).","type":"string","default":".source.gfm","order":12},"backspaceTriggersAutocomplete":{"title":"Allow Backspace To Trigger Autocomplete","description":"If enabled, typing `backspace` will show the suggestion list if suggestions are available. If disabled, suggestions will not be shown while backspacing.","type":"boolean","default":false,"order":13},"enableAutoConfirmSingleSuggestion":{"title":"Automatically Confirm Single Suggestion","description":"If enabled, automatically insert suggestion on manual activation with 'autocomplete-plus:activate' when there is only one match.","type":"boolean","default":true,"order":14},"suggestionListFollows":{"title":"Suggestions List Follows","description":"With 'Cursor' the suggestion list appears at the cursor's position. With 'Word' it appears at the beginning of the word that's being completed.","type":"string","default":"Word","enum":["Word","Cursor"],"order":15},"suppressActivationForEditorClasses":{"title":"Suppress Activation For Editor Classes","description":"Don't auto-activate when any of these classes are present in the editor.","type":"array","default":["vim-mode.command-mode","vim-mode.visual-mode","vim-mode.operator-pending-mode"],"items":{"type":"string"},"order":17},"consumeSuffix":{"title":"Consume suggestion text following the cursor","description":"Completing a suggestion consumes text following the cursor matching the suffix of the chosen suggestion.","type":"boolean","default":true,"order":18},"useAlternateScoring":{"description":"Prefers runs of consecutive characters, acronyms and start of words. (Experimental)","type":"boolean","default":true,"order":19},"useLocalityBonus":{"description":"Gives words near the cursor position a higher score than those far away","type":"boolean","default":true,"order":20},"enableExtendedUnicodeSupport":{"description":"Identifies non-latin alphabet characters as letters","type":"boolean","default":false,"order":21},"similarSuggestionRemoval":{"description":"Should similar suggestions be removed from the list? If so how to determine they are similar.","type":"string","default":"none","enum":[{"value":"none","description":"Do not remove similar suggestions"},{"value":"textOrSnippet","description":"Remove when the insertion text or snippet match"}],"order":22},"moveToCancel":{"description":"Moving up when the first item is selected or down when the last item is selected cancels the suggestion list.","type":"boolean","default":false,"order":23}},"standard":{"globals":["CustomEvent","HTMLElement","advanceClock","atom","getComputedStyle","waitsForPromise"],"ignore":["**/spec/fixtures/**"]},"_id":"@builtbygio/autocomplete-plus@2.42.7","bugs":{"url":"https://github.com/builtbygio/autocomplete-plus/issues"},"homepage":"https://github.com/builtbygio/autocomplete-plus#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-FizFrxsjTCTUWfTXS+qXW0UQ4lYQdWWQTXjWTiBIpNLexsjdy0Ttb+n0n9olSN8KTV4t3BNIKKe/KrzLsZy6zg==","shasum":"c1610b77ba43ef370d8385e986a310a1b3d17cce","tarball":"https://registry.npmjs.org/@builtbygio/autocomplete-plus/-/autocomplete-plus-2.42.7.tgz","fileCount":29,"unpackedSize":132271,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCCPvxqY31wi+lrYjH/gp1HqBILfYFL22AvdX30mIWHuAIhAOtZnV7/abXVjcnFV5mVtATI5zJPnTsFZaGfd6paSTLk"}]},"_npmUser":{"name":"giobuilds","email":"giova19@proton.me"},"directories":{},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/autocomplete-plus_2.42.7_1787781239562_0.40613313185422273"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T21:53:59.388Z","2.42.7":"2026-08-26T21:53:59.703Z","modified":"2026-08-26T21:53:59.965Z"},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"description":"Display possible completions in the editor while typing","homepage":"https://github.com/builtbygio/autocomplete-plus#readme","repository":{"type":"git","url":"git+https://github.com/builtbygio/autocomplete-plus.git"},"bugs":{"url":"https://github.com/builtbygio/autocomplete-plus/issues"},"license":"MIT","readme":"# Autocomplete+ package\n[![macOS Build Status](https://travis-ci.org/atom/autocomplete-plus.svg?branch=master)](https://travis-ci.org/atom/autocomplete-plus) [![Windows Build status](https://ci.appveyor.com/api/projects/status/9bpokrud2apgqsq0/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/autocomplete-plus/branch/master) [![Dependency Status](https://david-dm.org/atom/autocomplete-plus.svg)](https://david-dm.org/atom/autocomplete-plus)\n\nDisplays possible autocomplete suggestions on keystroke (or manually by typing `ctrl-space`) and inserts a suggestion in the editor if confirmed.\n\n![autocomplete+](https://cloud.githubusercontent.com/assets/744740/7656861/9fb8bcc4-faea-11e4-9814-9dca218ded93.png)\n\n[Changelog](https://github.com/atom/autocomplete-plus/releases)\n\n## Installation\n\n`autocomplete+` is bundled with Atom. You don't have to do anything to install it.\n\n## Providers\n\n`autocomplete+` has a powerful autocomplete provider API, allowing provider authors to add language-specific behavior to this package.\n\nYou should *definitely* install additional providers (the default provider bundled with this package is somewhat crude): https://github.com/atom/autocomplete-plus/wiki/Autocomplete-Providers\n\n## Usage\n\nJust type some stuff, and autocomplete+ will automatically show you some suggestions.\nPress `UP` and `DOWN` to select another suggestion, press `TAB` or `ENTER` to confirm your selection. You can change the default keymap in `Preferences`:\n\n* Keymap For Confirming A Suggestion\n\nAdditionally, the confirm keymap can be customized in your keymap.cson:\n\n```coffeescript\n'atom-text-editor.autocomplete-active':\n  'tab': 'unset!'\n  'ctrl-shift-a': 'autocomplete-plus:confirm'\n```\n\nIf setting custom keybindings, use the `none` setting for the confirmation keymap. All this option does is not set any other keybindings. This allows the `TAB` and `ENTER` keys to be used like normal, without side effects.\n\n### Remapping Movement Commands\n\nBy default, autocomplete-plus commandeers the editor's core movement commands when the suggestion list is open. You may want to change these movement commands to use your own keybindings.\n\nFirst you need to set the `autocomplete-plus.useCoreMovementCommands` setting to `false`, which you can do from the `autocomplete-plus` settings in the settings view.\n\n![core-movement](https://cloud.githubusercontent.com/assets/69169/8839134/72a9c7e6-3087-11e5-9d1f-8d3d15961327.jpg)\n\nOr by adding this to your config file:\n\n```coffee\n\"*\":\n  \"autocomplete-plus\":\n    \"useCoreMovementCommands\": false\n```\n\nThen add these to your keymap file:\n\n```coffeescript\n'body atom-text-editor.autocomplete-active':\n  'ctrl-p': 'autocomplete-plus:move-up'\n  'ctrl-n': 'autocomplete-plus:move-down'\n  'pageup': 'autocomplete-plus:page-up'\n  'pagedown': 'autocomplete-plus:page-down'\n  'home': 'autocomplete-plus:move-to-top'\n  'end': 'autocomplete-plus:move-to-bottom'\n```\n\n## Features\n\n* Shows suggestions while typing\n* Includes a default provider (`SymbolProvider`):\n  * Wordlist generation happens when you open a file, while editing the file, and on save\n  * Suggestions are calculated using `fuzzaldrin`\n* Exposes a provider API which can be used to extend the functionality of the package and provide targeted / contextually correct suggestions\n* Disable autocomplete for file(s) via blacklisting, e.g. `*.md` to blacklist Markdown files\n* Disable autocomplete for editor scope(s) via blacklisting\n* Expands a snippet if an autocomplete+ provider includes one in a suggestion\n* Allows external editors to register for autocompletions\n\n## Provider API\n\nGreat autocomplete depends on having great autocomplete providers. If there is not already a great provider for the language / grammar that you are working in, please consider creating a provider.\n\n[Read the `Provider API` documentation](https://github.com/atom/autocomplete-plus/wiki/Provider-API) to learn how to create a new autocomplete provider.\n\n## `SymbolProvider` Configuration\n\nIf the default `SymbolProvider` is missing useful information for the language / grammar you're working with, please take a look at the [`SymbolProvider` Config API](https://github.com/atom/autocomplete-plus/wiki/SymbolProvider-Config-API).\n\n## The `watchEditor` API\n\nThe `watchEditor` method on the `AutocompleteManager` object is exposed as a [provided service](http://flight-manual.atom.io/behind-atom/sections/interacting-with-other-packages-via-services/), named `autocomplete.watchEditor`. The method allows external editors to register for autocompletions from providers with a given set of labels. Disposing the returned object will undo this request. External packages can access this service with the following code.\n\nIn `package.json`:\n```\n{\n  \"consumedServices\": {\n    \"autocomplete.watchEditor\": {\n      \"versions\": {\n        \"1.0.0\": \"consumeAutocompleteWatchEditor\"\n      }\n    }\n  }\n}\n```\nIn the main module file:\n```\nconsumeAutocompleteWatchEditor(watchEditor) {\n  this.autocompleteDisposable = watchEditor(\n    this.editor, ['symbol-provider']\n  )\n}\n```\n","readmeFilename":"README.md","_rev":"1-a86f34ad4102e4d5caf174e7fbe18ba2"}