I've been trying to set up live editing in phpstorm for 2 days now. That is, what would happen when I change something in the browser - it was immediately transferred to the code. I read that this can be done, but I still can not do it.

And also - is it possible to make browser auto-update? That is, when I changed something in the code - the browser was immediately updated?

  • for the second case I use gulp - Oleksandr
  • youtube.com/watch?v=f__tQKkWodw google it right away ... - Oleksandr
  • когда я что то сменил в коде - браузер сразу обновился? - it is possible, but I would not recommend. For every sneeze to update the browser ... if it is not a layout of something, but, for example, php or js and even work with the database, then it is a pain, every time after the line of code you can expect an automatic reload. it is better to manually update the browser if necessary ... again if this is not a layout or a simple script ..... about changes in the browser immediately transfer to the code .... this pain may also arise ... If you can not roll back the change. - Alexey Shimansky
  • Here's a good article on setting up LiveEdit in PhpStorm nikovit.ru/blog/… - Vitaly Nikolaev

1 answer 1

Auto-update the browser when editing code (HTML, CSS, etc.) is possible using Live Edit - see https://confluence.jetbrains.com/display/PhpStorm/Live+Edit+in+PhpStorm . It works from the editor to the browser, but not vice versa :( There is no support for auto-update code when editing in the browser ( https://youtrack.jetbrains.com/issue/WEB-9557 - request to add corresponding functionality). More precisely, there is a plugin CSS -X-Fire , but it only works in Firefox