#16 Replace Quotes

To toggle a string between single and double quotes, place the cursor anywhere inside the string and press Alt+Enter to invoke the intention actions menu, then chose Replace quotes from the menu.

PhpStorm will also identify if there are any quotes in the string and escape them with a blackslash to prevent malformed code.

comments powered by Disqus