I posted a Code Puzzle on StackExchange. When solving it myself in C#, I found out that it is hard to tell whether the latest refactoring made the file smaller or larger. Therefore I asked for a Visual Studio file size extension on Software Recommendations. Unfortunately, nobody answered, so I checked whether I could implement it myself.
Here it is, a small extension with no features except displaying the number of printable characters in the text buffer of the editor, measured correctly using StringInfo.LengthInTextElements().
The MIT License (see opensource.org)
Code Golf File Size Visual Studio Extension 18.104.22.168 (11 kB)
The VSIX file is digitally signed for “Thomas Weller”. If not, please contact me.
Starting from 1.000.000 characters, the character count starts hiding under the editor’s scroll bar.