Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evilcat-x/Norminette-Vscode
Simple decorator that use norminette and inject error or norme in vscode !
https://github.com/evilcat-x/Norminette-Vscode
Last synced: 2 months ago
JSON representation
Simple decorator that use norminette and inject error or norme in vscode !
- Host: GitHub
- URL: https://github.com/evilcat-x/Norminette-Vscode
- Owner: evilcat-x
- License: mit
- Fork: true (alexisvisco/norminette-vscode)
- Created: 2018-09-24T20:46:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T19:20:47.000Z (over 6 years ago)
- Last Synced: 2024-05-19T01:53:59.636Z (8 months ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-42 - source code
README
## Norminette Vscode
Simple decorator for vscode user that use norminette command at 42/101 and inject errors of the current opened file in the vscode editor.
# Setting
## Default setting is
#### use `norminette -R CheckForbiddenSourceHeader` day Piscine Day00-09
```
"norminette.command": "norminette",
"norminette.fileregex": "^ft.*\\.[ch]$",
```- `command` will run as $command $filename
- `fileregex` will default to only run on file start with "ft" end with ".c" or ".h"
- `Regex` is using typescript/javascript synatax;
- Currently rely on normiette.42.fr
- `.h` file is not supported at the moment with updated later please use norminette in console.# Usefule VSCcde Setting
### to open vscode setting `⌘ + ,`
```
"editor.tabSize": 4,
"editor.insertSpaces": false,
"editor.renderWhitespace": "all",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
```# Recommended extension for norm
Render end of line [code-eol](https://marketplace.visualstudio.com/items?itemName=sohamkamani.code-eol)