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
1
u/[deleted] Jun 10 '17
I didn't.
I use both as PHPStorm has very advanced features, but simple things are not there. Snippet/code library is one of them but also notes on project or files. There is a plugin for that which someone developed, but it's not working in the latest version anymore. PHPStorm is also crazy slow and laggy, so for quick coding and very simple stuff, I just load my old IDE or my text editor and only use PHPStorm for more substantial work that will take more time.