ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Dictionary​Auto​Complete

by Zinggi ST2/ST3

This adds dictionary entries to the completions inside comments. For lazy typers!

Details

  • 2015.01.01.20.28.30
  • github.​com
  • github.​com
  • 3 years ago
  • 58 minutes ago
  • 5 years ago

Installs

  • Total 14K
  • Win 8K
  • OS X 4K
  • Linux 3K
Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2
Windows 4 3 1 6 5 8 4 11 9 8 4 6 5 6 5 7 5 5 3 7 6 5 9 8 9 9 7 6 5 2 9 4 10 9 8 9 2 2 5 8 8 4 6 5 5 6
OS X 1 2 4 2 1 0 2 2 3 3 2 3 3 1 2 2 4 4 7 4 0 3 8 4 2 5 2 1 4 2 1 3 3 3 2 0 0 0 2 2 2 3 3 1 1 3
Linux 1 3 0 2 2 3 3 2 2 3 0 3 3 0 5 0 3 0 1 2 1 3 2 2 4 1 2 2 2 4 3 0 0 2 6 2 1 1 1 3 0 1 0 2 1 1

Readme

Source
raw.​githubusercontent.​com

Dictionary Auto-Complete

Pic

This plug-in adds auto-completion entries from the dictionary file if you are typing inside comments, strings or in text files. Useful for very lazy typers like me or if you're searching for a particular word.

In a comment, string or text file, just type Ctrl + Space to show auto-completion.

Alternatively, you can add this entry to your 'Settings - User' to always show auto-completion, regardless where you're typing:

"auto_complete_selector": "source, text"

DictionaryAutoComplete takes the suggestions from the dictionary used for spell-checking, so if you want to use another dictionary, change

"dictionary": "Packages/Language - English/en_US.dic"
to your preferred dictionary. If you do so, you might also have to change the encoding setting under 'Preferences' -> 'Package Settings' -> 'DictionaryAutoComplete' -> 'Settings User' to the encoding of your dictionary file. (try UTF-8)
{
    "encoding": "ISO-8859-1"
}
After changing the encoding you'll have to restart Sublime!

Installation

Very easy with Package Control right inside Sublime Text 2/3 (Package Control needs to be installed):

  1. Ctrl + shift + P
  2. Search for “inst”, hit enter
  3. Search for “DictionaryAutoComplete”, hit enter

Manually (not recommended):

  1. Clone or download this package
  2. Put it into your Packages directory (find using 'Preferences' -> 'Browse Packages…')

This was really easy to develop compared to UnrealScript IDE. If you still think I've earned a beer, there you go: :wink:
Donate


License

Dictionary Auto-Complete for Sublime Text 2/3 Copyright © 2013 Florian Zinggeler

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.