Visual Studio Code

From Torben's Wiki

user settings

{
   "telemetry.enableTelemetry": false,
   "telemetry.enableCrashReporter": false,
   "editor.formatOnSave": true,
   "files.eol": "\n",
   // "editor.tabSize": 2,
   //
   "perltidy.additionalArguments": [ // see http://perltidy.sourceforge.net/perltidy.html
       "--standard-output", // -so
       "--quiet", // -q Deactivate error messages and syntax checking (for running under an editor)
       //
       "--perl-best-practices", // -pbp abbreviation for the parameters in the book Perl Best Practices by Damian Conway
       "--indent-columns=2", // -ic does not work in vis.stutio code , but editor.tabSize does
       "--cuddled-else", // -ce
       "--opening-brace-always-on-right", // -bar
       "--paren-tightness=0", // -pt parentheses thickness
       "--brace-tightness=0", // -bt braces thickness
       "--square-bracket-tightness=0", // -sbt square brackets thickness
       "--maximum-line-length=0", // -l , 0 = infinite
       "--add-whitespace", // -aws add white spaces, use -naws if you do not want any whitespace added, but are willing to have some whitespace deleted 
       "--delete-old-whitespace", // -dws default
       "--blank-lines-before-subs=2", // -blbs
       "--noblanks-before-comments", // -nbbc , opposite: --blanks-before-comments=2 / -bbc
       "--maximum-consecutive-blank-lines=1", // -mbl
       "--keep-old-blank-lines=1", //-kbl, 0=ignore, 1=stable, 2=keep
       "--nohanging-side-comments",
       "--ignore-side-comment-lengths", // comments are allowed to be longer than the lines of code
       "--closing-side-comments" // adds "## end sub subname etc"
   ],
   "perl-toolbox.syntax.path": "e:\\progs\\Perl\\perl\\bin",
   "perl-toolbox.lint.path": "e:\\progs\\Perl\\cpan\\build\\Perl-Critic-1.132-bGUV8E\\bin",
   "perl-toolbox.lint.excludedPolicies": [
       "ValuesAndExpressions::ProhibitInterpolationOfLiterals", // check use of ' vs "
       "NamingConventions::Capitalization", // var. names all capital or all lower case 
       "InputOutput::RequireCheckedSyscalls", // Lint: BRUTAL: Return value of flagged function ignored - print
       "ErrorHandling::RequireCarping" // die used instead of croak
   ],
   "python.formatting.provider": "autopep8",
   "python.jediEnabled": false,
   "python.pythonPath": "/usr/local/opt/python/bin/python3.7",
   "python.linting.pylintArgs": [
       "--exension-pkg-whitelist=cv2",
   ]
}


see Perl -> Perltidy Parameters

Extensions