首页 > 解决方案 > Avoiding PhpStorm vue tag string line breaks in function arguments

问题描述

How to tell PhpStorm not to make line breaks between Vue double curly braces {{ }} and in the function arguments?

Expected is to keep it like that

However after ALT + SHIFT + F it looks like that

标签: javascriptvue.jsphpstorm

解决方案


I found an answer. Unchecking HTML Code Style setting "Wrap text" does the trick.

enter image description here


推荐阅读