Replace Quotes

#16 Replace Quotes

code, quotes, intention actions

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.

Related Tips

Blog Comments powered by Disqus.