Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97387

vscode auto indent left when used curly braces inside of quotation marks

$
0
0

I'm using laravel php framework and its templating engine is a blade which requires {{ }}. So when I write the curly braces inside of quotation marks "" vscode it autoindents to left.

<div class="modal-body has-divider" id="{{}}"> //it indents to left as soon as I press `}}`.

But it wont indent in this situation where I have no quotation marks.

<div class="modal-body has-divider" id={{}}>

This is not a problem of any extensions as my collegues have the same problem. Anyway the extensions I have are:

  1. prettier
  2. es lint
  3. vim

Viewing all articles
Browse latest Browse all 97387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>