Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 !

Awesome Lists containing this project

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)