<?php
?><!DOCTYPE >
Try to press enter key after php tag is closed. It didn`t work. Only if you have a space between ?> and doctype
<?php
?><!DOCTYPE >
Try to press enter key after php tag is closed. It didn`t work. Only if you have a space between ?> and doctype
Stange, work fine for me (version: 2080 windows x64 channel: dev)
Do you have any plugin installed ?
Just tried on another instance of ST2 with ZenCoding and hit the issue with this error:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 249, in run_
File ".\sublimezen.py", line 120, in wrapper
File ".\sublimezenplugin.py", line 180, in run
File ".\zencoding\__init__.py", line 75, in run_action
File ".\zencoding\actions\basic.py", line 307, in insert_formatted_newline
TypeError: 'NoneType' object is unsubscriptable
Look like a bug in ZenCoding, you better raise this issue to the ZenCoding post topic.
A quick fix:
In the file:
\Sublime Text 2\Packages\ZenCoding\zencoding\actions\basic.py
change line 307 from:
if pair[0] and pair[1] and pair[0].type == 'tag' and pair[0].end == caret_pos and pair[1].start == caret_pos:
to:
if pair and pair[0] and pair[1] and pair[0].type == 'tag' and pair[0].end == caret_pos and pair[1].start == caret_pos:
sublimator will probably resolve this issue quickly.