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

VSCode: File is too large for tokenization / formatting

$
0
0

If you have more than 5000 Lines in your File VSCode refuses to format the file.

For example: I had a Json File with over 77.000 Lines (Size: 800KB) and because it was auto-written by a programm everything was in one Line. The build-in json-formatter from VSCode refused to format the file and tokenize it.

After searching the Web for quite some time I found a quite simple solution by myslef that I now want to share in the hope I can help some that struggle with the same thing!


Viewing all articles
Browse latest Browse all 99136

Trending Articles



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