-1

How to stop WebStorm/PHPStorm from including the unnecessary empty attribute value in the inserted template?

For example, when I type v3c, instead of this:

<script setup lang="ts"> 

It makes this:

<script setup="" lang="ts"> 

Notice the unnecessary assignment and quotes (="") - I need to disable them to avoid having to remove them each time manually.

0

1 Answer 1

0

Go to Editor -> Live Templates -> Vue -> v3c and uncheck "Reformat according to style". settings screenshot

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.