Code Monkey home page Code Monkey logo

emmet-atom's Introduction

Emmet package

Emmet support for Atom.

Features:

  • Multiple cursors support
  • Interactive actions (Interactive Expand Abbreviation, Wrap With Abbreviation, Update Tag) allows you to preview result real-time as you type
  • Better tabstops in generated content
  • User extensions support
  • CSP-compatible core, no need to manually patch it with loophole.

Installation

cd ~/.atom/packages
git clone https://github.com/emmetio/emmet-atom
cd emmet-atom
npm install

Please report any issues at https://github.com/emmetio/emmet-atom/issues

Default Keybindings

You can change these by simply making up your own keybindings in keymaps/emmet.cson.

'meta-E': 'emmet:expand-abbreviation'
'ctrl-d': 'emmet:match-pair-outward'
'alt-d': 'emmet:match-pair-inward'
'ctrl-alt-j': 'emmet:matching-pair'
'ctrl-alt-right': 'emmet:next-edit-point'
'ctrl-alt-left': 'emmet:prev-edit-point'
# 'command+/': 'emmet:toggle_comment' already exists in Atom
'meta-J': 'emmet:split-join-tag'
'meta-K': 'emmet:remove-tag'
'meta-Y': 'emmet:evaluate-math-expression'
'ctrl-shift-up': 'emmet:increment-number-by-1'
'ctrl-shift-down': 'emmet:decrement-number-by-1'
'alt-shift-up': 'emmet:increment-number-by-01'
'alt-shift-down': 'emmet:decrement-number-by-01'
'ctrl-alt-up': 'emmet:increment-number-by-10'
'ctrl-alt-down': 'emmet:decrement-number-by-10'
'alt-meta-.': 'emmet:select-next-item'
'alt-meta-,': 'emmet:select-previous-item'
'meta-R': 'emmet:reflect-css-value'
'ctrl-D': 'emmet:encode-decode-data-url' # decoding doesn't work--we need dialogs
'ctrl-I': 'emmet:update-image-size'
#'ctrl+alt+enter': 'emmet:expand_as_you_type' doesn't work--we need dialogs
# 'shift+ctrl+g': 'emmet:wrap_as_you_type' doesn't work--we need dialogs
# 'Tab': 'emmet:expand_abbreviation_with_tab'
# 'shift+ctrl+a': 'emmet:wrap_with_abbreviation' doesn't work--we need dialogs

emmet-atom's People

Contributors

benogle avatar cobyism avatar gjtorikian avatar kevinsawicki avatar leny avatar lucas-clemente avatar ruedap avatar sergeche avatar skalnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

emmet-atom's Issues

A lot of crashes and bugs when using multiple cursors

When you try write emmet function with multiple coursors, it will not be work.
Example:
If you try use emmet in next case, you get nothing, just ugly tabs

selector{
        height: 50px !|
        width: 50px !|
        top: -1px !|
}

Its very sadly, can you fix it?

'shift+ctrl+/' resolves as 'ctrl-?' on Windows

First of all, thank you for the great emmet tool Sergey.

I noticed an issue when using this atom package on Windows. The default 'shift+ctrl+/' keybinding to toggle comments for whole tags does not appear to work (I have ensured that 'use emmet comments' is enabled). I believe that this is because that key combination resolves as 'ctrl-?'. I tested with the keybinding resolver, and it appears to confirm this. I have changed the keybinding to 'ctrl+atl+/' and this has fixed the issue.

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.