Character Insights
Screenshot
Screenshot: Character Insights status bar and command in action.
Purpose
This extension has been created, as a fast tool to count the length of a text. As at my work i need to take part on surveys quite often. Some fields have a very limited space and I wanted to have a tool that is counting for me, while I was writing. Quick search didn't found what I where searching for, but showing, I'm not the only one that has a need for it.
Features
- Shows the character absolute count of the currently open document in the VS Code status bar.
- Optionally includes or excludes whitespace characters from the count (configurable).
- Offers a Goto-CMD that allows you to go straight to an absolute position in the document.
- Includes Status bar item that can be clicked to trigger the goto command.
Privacy
All actions are done on the local machine without calling any third party libraries. Therefore it remains as secure as your Visual Studio Code is anyway.
Requirements
No special requirements. Works with any text document in VS Code.
Extension Settings
This extension contributes the following setting:
character-insights.includeWhitespace
: Include whitespace characters in the character count (default: true
).
Usage
- Install the extension (see below).
- Open any text document in VS Code.
- View the character count in the status bar (bottom left or right).
- Change the setting
character-insights.includeWhitespace
in VS Code settings to toggle whitespace counting.
- Click the status bar item or call
character-insights.gotoCharacter
Command.
Installation
Official way
In VS Code:
- Open Extension Tab
- Search for
character-insights
- Install the Extension
On the Web:
- Go to Plugin page: marketplace.visualstudio.com
- Search for
character-insights
- Install the Extension
Manual way
- Get
.vsix
from any source that you trust or by build it your self
- In VS Code, open the Command Palette and select
Extensions: Install from VSIX...
.
- Choose your
.vsix
file to install.
Known Issues
None known at this time. 😎
Hidden Issues
No idea but, a few I would guess 😅
Release Notes
1.0.0 Preview: Initial release for setting up the project
- Initial release of Character Insights and publishing test
1.0.1 Preview: First version with working features
- Added the initial features that this extension was meant to have
Future (maybe) features 😎
- Show the absolute current cursor position
- Adjustable warnings and alarms per file
Enjoy using Character Insights!