Chinese word counter1/1/2024 ![]() ![]() 0080-00FF: C1 Controls and Latin-1 Supplement (Extended ASCII).0000-007F: C0 Controls and Basic Latin (ASCII).In default settings, word char is tested by regular expression, which contains: In default settings, word char is tested by regular expression \w, which is equivalent to. The expression shouldīe a valid JavaScript expresion. Since version 1.1, calculation could be done in format string, so one can do this: $ chars. whitespace: The number of whitespace characters.In wordcount_cjk.statusBarTextTemplate and wordcount_cjk.statusBarTooltipTemplate, the following placeholder could be used: wordcount_cjk.activateLanguages: The languages that activate the extension.wordcount_cjk.regexWhitespaceChar: The regular expression used to test if a char is a whitespace.wordcount_cjk.regexASCIIChar: The regular expression used to test if a char is a ASCII char.wordcount_cjk.regexWordChar: The regular expression used to test if a char is a word char.wordcount_cjk.statusBarTooltipTemplate: Customize the status bar item tooltip.wordcount_cjk.statusBarTextTemplate: Customize the status bar item text.Japanese and Korean, I don't know how to count them. In current version, all CJK characters are counted as Chinese characters. For keep tracking the word count, you can use the Word Count Activate command, and the Word Count Deactivate to stop tracking.Ī status bar item is added, and full statistics are added as a tooltip of the status bar item. In current version, the following format is supported:įor other files that are not supported, such as ReStructuredText, a command Word Count is offered. In current version, the following things are counted: This is a more powerful word count extension for VSCode, which supports the CJK character counting.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |