Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off javascript file nesting in Visual Studio 2015

In Visual Studio 2015 when I create a new js file with the same name and in the same folder as an html file, it will be nested under it:

enter image description here

And I just can't turn off this nesting in Tools / Options, but maybe it only eluded me. I've tried the vs extension described in this post. But when I click on File Nesting / Un-nest item nothing happens, it stays the same.

like image 558
Márk Gergely Dolinka Avatar asked Dec 10 '25 19:12

Márk Gergely Dolinka


1 Answers

Remove the extension you do not want to nest in the following file:

C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\Web Tools\ProjectSystem\.filenesting.JSON

I'm on: Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.3.4

like image 162
Hari Avatar answered Dec 13 '25 08:12

Hari



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!