Skip to content

Simple decorator that use norminette and inject error or norme in vscode !

License

Notifications You must be signed in to change notification settings

evilcat-x/Norminette-Vscode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple decorator that use norminette and inject error or norme in vscode !

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%