nodpc / jn-npp-plugin

Automatically exported from code.google.com/p/jn-npp-plugin
0 stars 0 forks source link

Expand Abbreviation not work with {} #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When input abbreviation like 'span{hello}' and then run the menu Expand 
Abbreviation or shortcut [Ctrl + E], it doesn't not work. 
It should output '<span>hello</span>', but nothing happened. It's still 
'span{hello}'.

My Notepad++ version is 6.6.9, and jN plugin is 2.0.122. My OS is Windows 8.

Original issue reported on code.google.com by benx.s...@gmail.com on 14 Oct 2014 at 11:23

GoogleCodeExporter commented 9 years ago
Expand Abreviation is part of Zen Coding functionality integrated via "Zen 
Coding.js" into jN. Where did you see that feature working? May be it cames 
later to Zen Coding?

Original comment by eugen.kr...@gmail.com on 14 Oct 2014 at 11:57

GoogleCodeExporter commented 9 years ago
Hi Eugen,

Please see https://code.google.com/p/zen-coding/

...
(v0.7) Text support: p>{Click}+a{here}+{to continue}.

And the new zen-coding is called 'Emmet' (http://docs.emmet.io/).

Although there is another plugin for NPP, I tried and found it's slow 
responsive when  Expand Abbreviation. jN is quick.

So, it will be good if the new features of Emmet/Zen-coding can be updated in 
the jN zen-coding module.

Thank you. :)

Original comment by benx.s...@gmail.com on 14 Oct 2014 at 11:24

GoogleCodeExporter commented 9 years ago
Please try attached Zen Coding.js with latest jN distribution. If it works for 
you I will update jN.zip 

Original comment by eugen.kr...@gmail.com on 15 Oct 2014 at 6:55

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the soon fix, Eugen. The new Zen Coding.js is working good. :)

Original comment by benx.s...@gmail.com on 15 Oct 2014 at 2:26

GoogleCodeExporter commented 9 years ago
Fixed with r146

Original comment by eugen.kr...@gmail.com on 21 Oct 2014 at 6:07