Giter VIP home page Giter VIP logo

emmet-jsx-props's People

Contributors

ijigg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

emmet-jsx-props's Issues

Sublime incompatibilitie

The plugin seems to be not compatible with Sublime Text 3.. should i format my computer and start over?

Failed to activate the emmet-jsx-props package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.1 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: emmet-jsx-props package 1.2.5

Stack Trace

Failed to activate the emmet-jsx-props package

At Path must be a string. Received null

TypeError: Path must be a string. Received null
    at assertPath (path.js:7:11)
    at Object.resolve (path.js:186:7)
    at Object.activate (/packages/emmet-jsx-props/lib/emmet-jsx-props.js:6:28)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.23.1/resources/app/src/package.js:255:25)
    at ~/AppData/Local/atom/app-1.23.1/resources/app/src/package.js:227:38
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.23.1/resources/app/src/package.js:99:21)
    at ~/AppData/Local/atom/app-1.23.1/resources/app/src/package.js:220:32
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.23.1/resources/app/src/package.js:217:40)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.23.1/resources/app/src/package-manager.js:695:42)
    at config.transactAsync (~/AppData/Local/atom/app-1.23.1/resources/app/src/package-manager.js:670:36)
    at Config.module.exports.Config.transactAsync (~/AppData/Local/atom/app-1.23.1/resources/app/src/config.js:367:24)
    at PackageManager.activatePackages (~/AppData/Local/atom/app-1.23.1/resources/app/src/package-manager.js:668:23)
    at PackageManager.activate (~/AppData/Local/atom/app-1.23.1/resources/app/src/package-manager.js:647:50)
    at ~/AppData/Local/atom/app-1.23.1/resources/app/src/atom-environment.js:865:36

Commands

Non-Core Packages

css-snippets 1.1.0 
emmet 2.4.3 
emmet-jsx-css-modules 1.0.0 
emmet-jsx-props 1.2.5 
emmet-snippets-compatibility 1.0.6 
html-to-css 0.2.2 
jackhammer-syntax 1.1.0 

Problem with the className

This package works correctly but I don't want it to do this:

$ div.header
to
$ div className={header} < and the other stuff

I want this:

$ div.header
to
$ div className="header" < and the other stuff

And when I use [] do this:

$ div[prop=data]
to
$ div prop={data} < and the other stuff

I don't know if you understand me ๐Ÿคฆโ€โ™‚๏ธ
I'am using this on Atom

Does not work for nested operators

This:

div[foo=bar]

Produces:

<div foo={bar}></div>

However when we nest things it stops working:

div[foo=bar]>span[name=name]

Produces:

<div foo={bar}>
  <span name="name"></span>
</div>

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.