-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emmet preferences config not working and get notice box! #15
Comments
I can't reproduce it with this example: body {
mr|
}
Try to create this file:
With following content: {
"css.valueSeparator": ":",
"css.propertyEnd": "; "
} This feature should be documented. See #16.
I think the problem is that Emmet is too slow (we had already rewritten the HTML matcher). Could you post the steps to reproduce? I can't promise when to rewrite the CSS matcher though. |
In my case, I open a .css file and type "mr" it will expand with "margin-right: ;". The error (see image above) will appear if I type "Ctrl + E" twice again (or using Ctrl + E multi times), after error notice I can't "mr" to expand text any more! Notice that: sometime it work properly, I don't know why!
After create "emmet.preferences.json", the preferences work well! Thank so much! P/S: I am using
|
Which command would be executed when you type "Ctrl + E"? Also, uploading the CSS file which generates the error would help. |
I am using default keymap: Expand Abbreviation (Ctrl +E), and I check it not conflict with any another in Notepad++ Shortcut Mapper
Here it is: http://www.mediafire.com/file/epwtiaw5qcli2ew/style.css Thank for your support! |
OK, I can reproduce the bug with following example: body {
margin-top|
} After expanding the expression (no matter which shortcut is used), Emmet stopped working. |
Could you try #17? |
After add some code as you mention, it work more properly! In the rare case, if I using unicode and click Ctrl+E it will notice, ex: typing "ôa" and Ctrl+E. It will be perfect if you can fix this, but I think it is not important! Another problem is much more keymap have been assigned, so that it conflict with Notepad++ core function, ex: Ctrl+D (duplicate line in Notepad++), I think you should set it is "null" as default value in /config/emmet.keymap.json. Because if I click "Ctrl+/" (toggle comment) in .css file (not in .html file), it will open notice pop-up. Thank so much for your hard working! |
Here is the issue for "out of stack space" bug: eight04/emmet#1.
How about Ctrl+Alt+D? It looks pretty consistent with "Balance inward" (Ctrl+Shift+D). |
Thank for your suggestion and your time, that is useful keymap! |
Released v1.2.2. |
Hi,
I type "mr" and using key trigger (Ctrl + `) many time, I get this:
I want update some Emmet preferences (https://docs.emmet.io/customization/preferences/) inside:
%appdata%\Notepad++\plugins\config\emmet.settings.json but it not work, ex:
Thank so much!
P/S: with long css file, it take some seconds for Emmet working!
The text was updated successfully, but these errors were encountered: