Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: using interface instead of map for the keystrokes * feat: add class for KeystrokeTimeSpans * feat: add tests for keystroke timespan class * feat: add keystroke repository and tests for it * fix: keystroke repository is now a singleton and add test for this * feat: format every file and use repository instead of weird interface manager * fix: remove resetOneTimespanKeystrokesAmount() * refactor: add pressedKeys in KeystrokeTimespan and group tests of this class (+ add tests for pressedKeys) * feat: add addPressedKey() and addPressedKeyToAll() (+ tests for them) * feat: add resetPressedKeys() and collect every pressed key the most pressed keys + reset them after time limit (+ add test for new method) * feat: add getMostOftenPressedKeysInTotalWithCount() in the repository (+ add test for this method) * refactor: add correct method for calculating the average wpm (+ add tests for the class) * fix: message for pressed key analytics * feat: add wpmStatusBar and rearrange the code in the extension.ts file (+ add test for new class) * feat: add keystroke count status bar and refactor extension.ts for cleaner method calling * refactor: put vscode_utils and utils in one single file * refactor: remove explicit count member in keystroke time span (now using pressedKey-map directly) * test: add test for map initializer in keystroketimespan * refactor: add messages functions in the correct file + add tests for them * wip * feat: add support for special key characters like (enter, backspace, etc.) + add tests for these cases * fix PR comments #1
- Loading branch information