Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.01 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.01 KB

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