reesef / php-twig

This is a conversion of Anomareh / PHP-Twig.tmbundle for atom
35 stars 19 forks source link

Emmet doesn't work when using Twig syntax highlighting #11

Open adiachenko opened 9 years ago

adiachenko commented 9 years ago

I've tried Atom v0.159.0 today and it seems that Emmet doesn't work as expected when choosing HTML(Twig) syntax. I hit Tab on something like ul>li*5 and nothing happens except of invoking Atom's default expand on Tab functionality. Please note, that I don't use Atom on a regular basis (although some experience with PHP-Twig bundle in Sublime Text 3 is present) and I installed it on 32-bit Ubuntu 14.04.1 using ppa:webupd8team/atom repository so it might be some user specific issue but it'll still be nice if you check things out.

markgoodyear commented 9 years ago

I'm having the same issue as @adiachenko. Emmet doesn't work with the HTML Twig syntax.

mortscode commented 9 years ago

Same issue here. Having to switch between HTML and HTML(Twig) is an efficiency crusher.

ConnorVG commented 9 years ago

Same issue here and it's so annoying constantly tabbing to no avail - would be cool if this was fixed.

DaanDD commented 9 years ago

+1

ronildo commented 9 years ago

+1

orhanveli commented 9 years ago

I've solve this problem with adding my keybinding for tab key in twig grammar

'atom-text-editor[data-grammar="text html twig"]:not([mini])':
    'tab': 'emmet:expand-abbreviation-with-tab'
andregoldstein commented 8 years ago

@orhanveli Thanks!

sstraatemans commented 8 years ago

@orhanveli thanks! that helped

francescostella commented 8 years ago

@orhanveli Thanks a lot! it worked!

paulbwd commented 7 years ago

works like a charm... ive been jumping back and forth for months... 👍

james20381 commented 7 years ago

Unreal, thanks...

accezar commented 7 years ago

@orhanveli thanksssss!

oscarehrling commented 7 years ago

@orhanveli Thanks a bunch!

ChristopherParke commented 3 years ago

Where is packages???

abhishekdhapare9392 commented 3 years ago

with the vs code, this worked for me.

"files.associations": {"*.twig": "html"},

paste above line in settings.js