maximalism2 / elmmet Goto Github PK
View Code? Open in Web Editor NEWVS Code extension to compile emmet snippets to composition of elm functions
Home Page: https://marketplace.visualstudio.com/items?itemName=necinc.elmmet
VS Code extension to compile emmet snippets to composition of elm functions
Home Page: https://marketplace.visualstudio.com/items?itemName=necinc.elmmet
Use case 1 (using $)
Steps to reproduce
Use the following pattern:
ul>li.item$*3
The expected result:
ul [] [ li [ class "item1" ] [] , li [ class "item2" ] [] , li [ class "item3" ] [] ]
The actual result:
ul [] [ li [ class "item$" ] [] , li [ class "item$" ] [] , li [ class "item$" ] [] ]
Use case 2 (using @)
Steps to reproduce
Use the following pattern:
ul>li.item$@2*3
The expected result:
ul [] [ li [ class "item2" ] [] , li [ class "item3" ] [] , li [ class "item4" ] [] ]
The actual result:
ul [] [ li [ class "item$@2" ] [] , li [ class "item$@2" ] [] , li [ class "item$@2" ] [] ]
Hi,
I am a developer on VSCode and wanted to reach out to inform you that this extension is either using or having a dependency to a node module "natives
" that will soon no longer be supported in VSCode once we updated to node.js 8.x (as part of our Electron 2.0 update which is planned for the near term).
The full graph is:
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
It would be great if this dependency could be avoided by either not depending on it anymore or updating the dependencies to newer versions so that this module is no longer pulled in.
As soon as any code in your extension (including node_modules
) calls require("natives")
we will throw an exception to prevent this module from getting loaded.
If this is just a devDependency
and the module is never loaded in production, then you can ignore this issue and just close it!
More details in microsoft/vscode#47569
Thanks!
Ben
VSCode Team
Hey there,
wanted to reach out and ask if this is still maintained? :)
Hi,
This looks really useful, however I cannot get it to work. I have it installed and I can see and select the "Emmet to Elm" option but nothing happens. Do I need to install some other plugins to make this work?
VSC 1.25.1
Since elm-format
is not always available on users' machines, requires extra code pre-formating and then cleaning up, also requires executing of shell command it would be better to use Prettier with prettier-plugin-elm
and its API to format the extension's output
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.