Closed albeva closed 11 years ago
I can see at emmetio/emmet-objc#3 that the latest communication was about 2 months ago, so I'm just wondering how it's coming along, any progress?
No progress yet. I’ll post something in the original thread when I have something to show.
Can't wait till it's finished. Always have to switch to ST2 when working with Stylus files (
:+1: Also looking further into Textmate2 support.
+1 :)
Made initial implementation of plugin for TM2: http://download.emmet.io/Emmet.tmplugin.zip
Should work on both TM1 and TM2. Let me know if there are any issues.
Thank you @sergeche I'll test it and report if there are any issues.
Yay, finally. The expanding works great. Tested in HTML and Stylus. Thanks! "Update Image Size" does not work though.
All file operations won’t work for now due to limited TM2 api.
div.|
press tab and get
<div class="|"></div>
type some characters
<div class="txt|"></div>
press tab and get
<div class="<txt></txt>|"></div>
instead of
<div class="txt">|</div>
Is there an issue opened about the limited TM2 api in their github bug tracker?
Looks like you’ve enabled Tab expander in preferences. With this option enabled, Emmet hijacks Tab key and don’t pass it to host editor. So tabstops won’t work.
So we should ask TM2 developers to implement some API to make "tab" work the way it should? Create an issue, let's ask them for that one.
I’m already writing an e-mail to devs
I’ve pushed update for current plugin (e.g. this repo), now it should work in TextMate 2 (with file actions like Update Image Size
too).
Still, proper Tab key API is required in TM2 in order to Emmet work properly with tab key. You should post this suggestion to TM2 repo.
Great! Did devs replied to your email? Did you create an issue about the API? I can ask Allan on the IRC for the needed stuff, I'm just not sure what specifically is needed. Btw if you want you can join #textmate IRC channel at http://freenode.net and talk do devs directly. No need to install any IRC client, there's an online interface at http://webchat.freenode.net/ It's very easy to catch Allan there
Thank you Sergey for the good work.
Yes, they told me to discuss this feature at http://lists.macromates.com/listinfo/textmate-dev Maybe I’ll write my suggestions there.
Btw, is there a way to change stuff from preferences.json in TM2?
Thanks! Sorry, rushed a bit, should've read the github page first. I was looking for some kind of "User Settings" like Sublime Text has. Creating a folder with files is much less intuitive. Anyway, got this working. Now I'll just wait for the correct tab implementation. Thanks for your hard work!
https://github.com/emmetio/emmet-objc/issues/3