yoshihide-Ehara-scotch / smartypdt

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

tab don't work #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open any .tpl file
2. select some lines
3. press "shift + tab" and "tab" don't work (indent)

What is the expected output? What do you see instead?
Indent text (block) forward and backward

What version of the product are you using? On what operating system?
smartypdt-0_9_1

Please provide any additional information below.

Original issue reported on code.google.com by ruben...@gmail.com on 6 Aug 2013 at 2:38

GoogleCodeExporter commented 8 years ago
Happening for me as well.

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

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 11:08

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:41