<div dir="ltr">Ah, so that's Emmet that does this, I saw it in action in Sublime but didn't realise what was doing it.<div><br></div><div>Plugin doesn't work for me, installed fine, but stops bundles loading and after quiting I got a warning saying it had stopped it from exiting properly. Shame, as I'd love this functionality. Seems like it works fine in Sublime, can we copy their implementation? Or <span style="line-height:1.5">could it be migrated to a bundle somehow?</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 15 Jul 2016 at 00:39 Graham Heath <<a href="mailto:graham.p.heath@gmail.com">graham.p.heath@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hello!</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">A couple of days ago my Emmet Plugin stopped working.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="margin:0px">This might not seem like a big deal, but I love Emmet, and so do many of my web-dev cohorts.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I traced the error down to explicit blacklisting of this plugin in TextMate.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="margin:0px"><div style="margin:0px"><a href="https://github.com/textmate/textmate/commit/4b19e404403c0d237578ecac583796d9c3f40a88" target="_blank">https://github.com/textmate/textmate/commit/4b19e404403c0d237578ecac583796d9c3f40a88</a></div><div style="margin:0px"><a href="https://github.com/textmate/textmate/commit/81d2586ffcfc9385d9bb362febda7c7ec8925557" target="_blank">https://github.com/textmate/textmate/commit/81d2586ffcfc9385d9bb362febda7c7ec8925557</a> </div></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">This blacklisting is intentional, and rational. Apparently users have had the plugin installed and its been crashing for years. I’m not sure if this is because its crashing in use, or if its because the plugin was installed, but doesn’t support the OS and therefore it crashes in the background without issue, or if there are other crashes.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">What I do know is that the plugin isn’t really being updated, its sort of frozen in time, but it does work if you use @pingjiang’s custom built binary from <a href="https://github.com/emmetio/Emmet.tmplugin/issues/10" target="_blank">https://github.com/emmetio/Emmet.tmplugin/issues/10</a>.  @pingjiang Had gone in and updated the plugin, I’m not exactly sure what was required for him to do, but it was at least partially just a recompilation on a newer machine (updating the release targets).</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Is there any way to know if this custom built plugin is causing crash reports, or is it just the original?</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="margin:0px">Given that it takes some effort to get a working version, I totally get if this plugin remains blacklisted <i>but </i>I’d like to see a path to Emmet becoming easy to get working on TextMate sometime soon.</div><div style="margin:0px"><br></div><div style="margin:0px">What I’ve discovered so far is that the blacklisting uses "contains" rather than "equals" so updating the Bundle identifier to 'io.emmet.EmmetTextmate2' was not enough as it still contained the original "io.emmet.EmmetTextmate" so in my new bundle i’m using "io.emmet.EmmetTM2" instead. Could this be changed to equals?</div><div style="margin:0px"><br></div><div style="margin:0px">My modified plugin is available here;</div><div style="margin:0px"><br></div><div style="margin:0px"><a href="https://github.com/loadedsith/emmet-objc/releases/tag/v10.11.1" target="_blank">https://github.com/loadedsith/emmet-objc/releases/tag/v10.11.1</a> </div><div style="margin:0px"><span style="white-space:pre-wrap">   </span>or more directly </div><div style="margin:0px"><a href="https://github.com/loadedsith/emmet-objc/releases/download/v10.11.1/Emmet.tmplugin.zip" target="_blank">https://github.com/loadedsith/emmet-objc/releases/download/v10.11.1/Emmet.tmplugin.zip</a> </div><div style="margin:0px"><br></div><div style="margin:0px">My change; <a href="https://github.com/loadedsith/emmet-objc/commit/4791f1f6b5f5bc286754fed5f9b50020db9ad50a" target="_blank">https://github.com/loadedsith/emmet-objc/commit/4791f1f6b5f5bc286754fed5f9b50020db9ad50a</a></div><div style="margin:0px"><br></div><div style="margin:0px">And the original supporting changes; <a href="https://github.com/pingjiang/emmet-objc/commit/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f" target="_blank">https://github.com/pingjiang/emmet-objc/commit/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f</a> </div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><span style="font-family:helvetica,arial">Thanks,</span></div><div><div style="font-family:helvetica,arial;font-size:13px"><br>Graham Heath<br><br></div></div></div>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" rel="noreferrer" target="_blank">http://lists.macromates.com/listinfo/textmate</a></blockquote></div>