Giter Club home page Giter Club logo

andysublime's Introduction

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.

andysublime's People

Contributors

agibsonsw avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.