Open dflock opened 7 years ago
More generally, this exception is thrown very commonly in "mixed mode" contexts where Emmet shouldn't really be invoked. I can see it happening in Markdown if Emmet is enabled. Sometimes you want to write HTML in Markdown.
I almost always hit this when writing Angular templates.
If I'm trying to type <td>{{filingDate | date}}</td>
in an Angular template, I will probably be about this far <td>{{filingDate |}}</td>
, then fat-finger "shift+space" by not quite letting off the the shift key while coming off the pipe. That causes Emmet to try to expand and kaboom — I have to dismiss this error.
In this circumstance, Emmet shouldn't be invoked inside the Angular template string. I fat fingered it, but I do still want Emmet to write the HTML in the Angular template.
If Emmet could be disabled inside Angular template strings ({{}}
) or at least not produce the error dialog, that'd neat.
[Enter steps to reproduce:]
Atom: 1.16.0-beta0 x64 Electron: 1.3.13 OS: Ubuntu 16.04.2 Thrown From: emmet-simplified package 2.5.0
Stack Trace
Uncaught Error: Invalid abbreviation
Commands
Non-Core Packages