uctakeoff / vscode-counter

VS Code extension: counts blank lines, comment lines, and physical lines of source code in many programming languages.
MIT License
152 stars 20 forks source link

Is it possible to activate realtime counter visibility on start? #66

Closed Tosh0kan closed 10 months ago

Tosh0kan commented 2 years ago

Is there config option or method to make the command to toggle real-time counter visibility automatically on start?

uctakeoff commented 2 years ago

In fact, it used to be implemented that way. However, in order to make it work, the extension needs to be resident. Resident extensions are loaded even when they are not running, consuming memory. I was pointed this out before. I fixed it, and now it requires an explicit call.

I have not found a better way to do this.

johan-maes-sword commented 1 year ago

I'd also be interested in this. I tried looking for a workaround, ie run the toggle command at startup but that doesn't seem to be possible right now.

uctakeoff commented 10 months ago

It's too late now, but ver. 3.3.0 supports it on a trial basis. Check it out.