-
Notifications
You must be signed in to change notification settings - Fork 9
Sublime JS completions (setting up)
Hello. I've managed to upload my JavaScript completions file (version 3) for Sublime Text onto Git. I'm assuming this Wiki area might be the place for me to provide some guidance notes.
Firstly, my completions may not sit well with the CodeIntel package. However, I assume it is possible with that package to disable it for .js files(?).
My '.sublime-completions' file should be copied to your '\AppData\Roaming\Sublime Text 2\Packages\JavaScript' folder. It can be renamed, as long as it keeps the extension 'sublime-completions'. If you already have a completions file in this folder you might want to move it out temporarily.
You also might want to consider adjusting your JS settings for: auto_complete_delay - perhaps increase it from 50ms, so the list doesn't appear too quickly; disable_completions - this can disable the inbuilt completions (examining words within the current file). I leave this working, personally; auto_complete_with_fields - I turn this off, but if I want to use a completion within a 'snippet' I press Ctrl-Space. auto_complete_triggers - you can tell ST to display the completions list as soon as you press a dot '.'. I don't recommend this as it just shows the full list; you should at least type one or two letters before the list appears.