https://github.com/compulim/vscode-clock
Displays clock in status bar in Visual Studio Code
https://github.com/compulim/vscode-clock
Last synced: about 1 month ago
JSON representation
Displays clock in status bar in Visual Studio Code
- Host: GitHub
- URL: https://github.com/compulim/vscode-clock
- Owner: compulim
- Created: 2016-02-24T14:44:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T19:45:42.000Z (almost 5 years ago)
- Last Synced: 2025-03-24T16:03:07.446Z (about 2 months ago)
- Language: JavaScript
- Size: 72.3 KB
- Stars: 29
- Watchers: 2
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clock for Visual Studio Code
Shows clock in status bar in Visual Studio Code, even in full screen mode.
## Usage
When the extension is installed, a clock will be displayed on the lower right hand corner.The date time format can be changed via preferences
* File > Preferences > User Settings
* Adds the following line
* ```"clock.dateFormat": "hh:MM TT"```
* Date format can be found at https://github.com/felixge/node-dateformatTo insert the clock into the selection, you can either click on the clock on status bar, or use the Command Palette.
* Bring up Command Palette (`F1`, or `Ctrl+Shift+P` on Windows and Linux, or `Shift+CMD+P` on OSX)
* Type or select "Clock: Insert date and time"You can also modify keyboard shortcut with JSON below.
```
{
"key": "ctrl+shift+f5",
"command": "clock.insertDateTime",
"when": "editorTextFocus"
}
```## Change log
* 0.0.1 (2016-02-24): First public release## Contributions
Love this extension? [Star](https://github.com/compulim/vscode-clock/stargazers) us!Want to make this extension even more awesome? [Send us your wish](https://github.com/compulim/vscode-clock/issues/new/).
Hate how it is working? [File an issue](https://github.com/compulim/vscode-clock/issues/new/) to us.