yoshihide-Ehara-scotch / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

block tab is not working for .tpl files in zend studio #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hi, 
I am using zend studio 10.1.
I want to use block tab for tpl file but its not working.
it works fine for .php or any other file but not for *.tpl.
Can any one resolve this issue.

Original issue reported on code.google.com by kjawal...@xento.com on 25 Sep 2013 at 10:06

GoogleCodeExporter commented 8 years ago
I am having the same issue with Eclipse Kepler.

Original comment by fastyz...@gmail.com on 8 Jan 2014 at 9:21

GoogleCodeExporter commented 8 years ago
I facing the same problem with Zend Studio 10.1

Original comment by aka...@xento.com on 23 Jan 2014 at 4:17

GoogleCodeExporter commented 8 years ago
happening for me too

Original comment by dmaxfi...@propertysolutions.com on 13 Feb 2014 at 11:31

GoogleCodeExporter commented 8 years ago
With the ZEND STUDIO open, do: 

1) Open the Windows>Preferences menu; 
2) Navigate to General>Content Types; 
3) Inside the "Content Types" browse Text>PHP Source and click ADD and in the 
window that opens type "*.tpl" without quotes.

Restart the Zend Studio and maybe see a message of the type that the Content 
Types was not recognized error, do not be afraid, just click OK and ready: TAB 
and SHIFT + TAB to indent will be running the code.

Original comment by jun...@mjpsolucoes.com.br on 20 Jun 2014 at 10:49

GoogleCodeExporter commented 8 years ago
Regarding  jun...@mjpsolucoes.com.br's comment.

This is not an acceptable solution.  By following these steps eclipse will 
treat a .tpl file as a .php file.  This functionality is already present 
without use of this SmartyPDT plugin.  The whole reason to use the plugin is to 
get the code highlighting support for Smarty template files.

Your solution is really just telling us to NOT use the SmartyPDT plugin 
functionality and treat the file as if it were plain PHP.

Original comment by dmaxfi...@propertysolutions.com on 23 Jun 2014 at 4:40

GoogleCodeExporter commented 8 years ago
These tab/indent issues should really get some attention. Standard smart 
indentation just doesn't work at all with this plugin, not even auto-intending 
to the first printable character of previous line; you press Enter and the 
caret is at the first column no matter what. It turns Eclipse into a 
notepad.exe - level editor, indentation-wise. Having to do indentation 
completely manually offsets all productivity benefits this plugin provides.

Original comment by rula...@gmail.com on 10 Apr 2015 at 10:49