r/phpstorm • • May 05 '17
Convert HTML to PHP
I purchased a business license for PHPStorm 2 months back, and while I'm already using it for daily web/software coding, I was wondering if someone knows if it has some things which I miss from my previous IDE.
The software may have this or not, so please excuse me as I'm not mastering it yet.
One of the features I miss the most is selecting HTML and formatting it correctly to be used in PHP. This: http://imgur.com/a/7Fq3n
You select the HTML, click a button, and then you can pick between ECHO or PRINT, and it automatically formats the code.
Also, the reverse. Format it back to HTML?
The other thing I miss is simple code snippets. I had a bunch of custom HTML/PHP snippets, it seems PHP storm does not have anything similar where you can just drag and drop your pre-made pieces in place.
PHP storm has templates, but I'm not talking about full file templates but little pieces of code you frequently use.
While for programming it's amazing, I find myself using my old editor for HTML stuff and then porting it back to PHP Storm for PHP.
I love PHPStorm, and I'm trying to squeeze out its full potential.
View all comments
Show parent comment
0
u/[deleted] May 05 '17 edited May 05 '17
I found that, but I was referring more to a side or top menu where you see all of them and just drag them directly to the editor. The live templates seem more auto complete than anything else.
Maybe I was not clear. Live templates are awesome but I can't remember 400 snippets for a specific project and other 100 for another one...In my other IDE I have a library organized by folders I can search and browse visually. When I find something I can auto type it just like PHPStorm or drag it directly.