zinggi / dictionaryautocomplete Goto Github PK
View Code? Open in Web Editor NEWThis adds dictionary entries to the completions inside comments. For lazy typers!
License: Other
This adds dictionary entries to the completions inside comments. For lazy typers!
License: Other
I installed this package in ST3 on OSX 10.9, but it is not working. I press ctrl+space, but always get the message "No available completion".
dictionaries baring appended endings such as /S , /M , /DGS , /GS dont seem to be supported.
Words that are appended place a CR at the end of the words. Is there a way to fix this?
the dictionary used in this case is titoBouzout/Dictionaries
Maybe its not really useful to already show suggestions after one or two types chars. This should be configurable in the settings. Just an idea...
Nice extension, I'd like to port it to vscode. But I can't find the dictionary. Where can I find it?
I have entry to my 'Settings - User' with setting. such as below:
{
"auto_complete_selector": "source, text"
}
but, When I restart sublime, it hasn't any change.
I like the functionality of the plugin. But the pop up is a little distracting when I am writing for a while. Is there any way to build in a delay for the pop up to appear? If I am typing and stop for a period of time (say, 5 seconds), the pop up appears.
Is that possible?
Great plugin!
A minor issue: when I type something like "Histo" and hit tab, it'll become lower case "history". Is there a way to make it case sensitive in this kind of scenario? I often need to re-capitalize it... Thanks!
This can not really be explained, only shown ;-) Please copy-paste the below instructions into a new document and follow the steps. I used ST3b3083 with the en_GB dictionary on both Win7 64bit and Mac OS X 10.11.1. The behavior described below stops only when I disable/remove DictionaryAutoComplete.
- 1a) move cursor in front of hyphen; 1b) press tab => inserts tab
- 2a) move cursor between tab and hyphen; 2b) press tab => auto-completion replaces hypen with 1st word in dictionary (use-defined
- 3) same effect with whitespace(s) instead of tab before hyphen
I hope whichever dictionary you use to test this has a less extreme word at the top than the one I noticed this bug with (en_GB) ;->
Are comments in JavaScript source files supposed to work?
Is there any way to make this plug-in only add dictionary entries to the completions on specific syntaxes?
I find DictionaryAutoComplete very useful, but I tend not to really need it when editing source files, as opposed to documentation (e.g. Markdown, Plain Text).
Hi,
I think that it would be better if you add the numbering or character navigation for the dropdown menu for example, I puting in "type"
1.type
2.typeahead
3.typecast
4.typedef
5...
..
0..
F1.
F2.
this should appear alike DiCOM or PhraseExpress program behaviors which are not available on linux.
Basically from 1-0, F1 - F12, we have ability to navigate through 22 option in the dropdown menu faster than normal a little bit. I know sublimetext has shortcuts but sometime not convenient in these cases.
As above if I want to type "typeahead", i can press "2".
Thanks for considering this request.
TN
I would like to make DictionaryAutoCompletion always active on plain text files.
What i need to modify in /DictionaryAutoComplete.py
file ?
Relevant code:
def get_autocomplete_list(self, word):
autocomplete_list = []
# filter relevant items:
for w in self.word_list:
It is obvious that the simple list structure used here is hugely inefficient. A suffix tree would have much lower lookup complexity and would not drag down the editor - autocompletion feels laggy on less than cutting edge machines and in high load environments.
Hello,
is it possible to make it ST3 compatible?
Thanks in advance.
Hi Zinggi,
I like this plugin very much.
Could you implement a fuzzy word completion such let us dont have to type "Complete" instead it show:
Thanks!
The plugin doesn't work for me at all. I tried to use English dictionary (set and not set in User prefs) as well as Russian (UTF-8), they work well in spell checking, but do not appear in autocomplete menu.
I also tried to remove all autocomplete-related settings from User prefs (auto_complete, auto_complete_delay, auto_complete_selector), but still no success. Tried to put
"auto_complete_selector": "source, text"
line.
I usually write in Markdown, but in plain text or any other mode it doesn't work too.
Could you please recommend something?
English is pretty exceptional in not requiring any accents. German, French, Spanish, they all require accents. But it seems that currently the plugin does no accent folding (it does case folding however).
For the plugin to work with languages besides English, “Théâtre” (note the accents) should be suggested when writing “Theatre” (note the absence of accents) if the proper dictionary is installed (French in this case). In other words, it has to do some degree of accent folding, otherwise it is not really useful as autocompletion in those languages.
Looking through the source, it seems like there is some case folding already going on in get_autocomplete_list
on line 59: if word.lower() in w.lower() :
. So might be as easy as swapping .lower()
with an accent folding function. Google suggested unidecode
. I suppose the words collection could be stored in a hash-like structure with the folded word as key and the real world as value for better performance, somewhere in load_completions
.
But then again, I know squat about Python :)
I have installed the package and each time I launch Sublime Text the following error message is thrown up:
"Error trying to parse settings: Unexpected character, expected a comma or closing bracket in Packages/User/DictionaryAutoComplete.sublime-settings:3:4"
I have not made any changes to this file.
The functionality after dismissing the error is good, i.e the package works as expected, but it is annoying to have the error message pop-up each time and I was wondering if there is a simple fix.
Thanks for your time
Murray
I use Github-Emoji plugin. After I wrote :
, in the auto complete options appear emoticons. But DictionaryAutoComplete autocomplete variants that prevent me preview emoticons. I think, will be good, if you added option disable_after_colon
.
Thanks.
Hi,
Just wondering how to use the plugin without having to press Ctrl + Spacebar to show up a list of words.
Thank a lot
change encoding don't seem to works:
I use french dictionary and when I start typing "ré" it suggest thinks like "récréation"
It don't works with ISO-8859-1
, ISO-8859-15
or UTF-8
Hi!
Just wanted to know does this work on ST3?
Chris
Is it possible to change Ctrl+Space combination to something another in config?
This one is already bound in OSX to spotlight.
What dictionary are you using?
I don't have the same results on my auto-complete as you...
Thanks for your time.
Great job by the way...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.