https://github.com/nasanov/42-comment
42-style comments; Extension for VSCode
https://github.com/nasanov/42-comment
Last synced: 4 days ago
JSON representation
42-style comments; Extension for VSCode
- Host: GitHub
- URL: https://github.com/nasanov/42-comment
- Owner: nasanov
- Created: 2019-11-22T04:03:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:10:10.000Z (over 2 years ago)
- Last Synced: 2025-05-09T21:06:56.143Z (6 days ago)
- Language: JavaScript
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-42 - source code
README
# 42-style block comments
## Features
``` c
int main()
{
return 0;
}
```
turns into:``` c
/*
** int main()
** {
** return 0;
** }
*/
```## Usage
Select the text that you want to transform, then call the command bar with:`Ctrl+Shift+P` or `shift+cmd+*` on MAC, `ctrl+alt+*` on Windows/Linux,
And run the command:
`> 42-comment`
## Keybindings
You can bind these commands to another shortcut by adding something like this to your `keybindings.json`:
```
{ "key": "shift+cmd+*", "command": "extension.42-comment", "when": "editorTextFocus"}
```
or go to Preferences -> Keyboard Shortcuts, find 42-comment, change a shortcut## Known Issues
Some known issues should be here.
## Release Notes
Users appreciate release notes as you update your extension.
### 0.0.1
Initial release of 42-comment
### 0.0.2
Keybindings were added