Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Sublime Text 2 Completions
Branch: master
Failed to load latest commit information.
HTML Added list of types
LanguageHelp Re-ordering help files
images Re-organise - add images folder
AndyCSS.sublime-completions Added completions for SASS.
AndyJS3.sublime-completions Used abbreviations like Func for Function
AndyJS4.sublime-completions JS3 but simplified
AndyPHP.sublime-completions mail PHP function add header param
AndyjQuery.sublime-completions Minus meta.selector Jump to file, listed alpha. or by
PHPComp.txt Also commented out 'msql'.
README Update master Simple sorting of tabs
function (anon).sublime-snippet JS snippet for anonymous function


CSS and JavaScript completions for Sublime Text 2. Installation just requires copying the 
file(s) to your User or CSS/JavaScript folder within Sublime\Packages.

It is recommended to adjust the setting "auto_complete_delay" to prevent the completions 
(particularly the JS ones) not appearing too quickly.

With the JS completions, typing, for example 'aler' for 'window.alert()' will automatically 
pre-pend 'window'. However, typing 'mywin.aler' will just complete 'alert()'.

The CSS completions will complete many values for you. For example, the border property 
allows you to type the single letter 'm' for medium, 't' for 'thin' and 'th' for 'thick'. 
There are many such abbreviations.

Another example: Using the 'borderwidth4' trigger, if you type '10px' it will write 
'10px px px px' and you can tab to the other three positions to add the number of pixels. 
If you don't want pixels for all four then you should modify it once you've tabbed out of 
the completion.

When, for example, typing a color you might type 'b' and it will change to 'blue'. Continue 
typing 'bl' and it will change to 'black', but if you press Backspace it will revert to 'blue'.

    overflow: Hidden/Scroll/Auto/Visible;

 - the capital letters indicate that pressing, for example, 'h' will complete the word 'hidden'. 
(You don't have to type them in capitals, this is just the notation used to confirm the letters 
you need to type.) Again, you can press Backspace and type a different letter and it will correct 
the value for you.

My Wiki contains some more information for the different completion files.
Something went wrong with that request. Please try again.