vscode-matlab icon indicating copy to clipboard operation
vscode-matlab copied to clipboard

Finding my MATLAB.linterConfig. “Code Analyzer settings”

Open sbeeve opened this issue 4 years ago • 2 comments

Hi I’m just trying to integrate my MATLAB to Vscode but I’m struggling with the linter config. I can’t find the file anywhere or manage to generate my own code analyser settings file it ends up blank? Any help would be super appreciated.

Thanks

sbeeve avatar Oct 07 '20 08:10 sbeeve

What did you try exactly ? You should go to File > Preferences > Settings. It opens a menu to update all VS Code settings. Then, on the left select Extensions > Matlab configuration. In linter settings you should set the full path to the linter.

Gimly avatar Oct 08 '20 20:10 Gimly

@sbeeve, for windows-os example:

  "matlab.linterConfig": "C:\\Program Files\\Polyspace\\R2021a\\bin\\win64\\mlint.exe",
    "settingsSync.ignoredSettings": [
        "-matlab.linterConfig",
        "-matlab.matlabpath",
        "-matlab.mlintpath"
    ],
    "matlab.matlabpath": "C:\\Program Files\\Polyspace\\R2021a\\bin\\matlab.exe",
    "matlab.mlintpath": "C:\\Program Files\\Polyspace\\R2021a\\bin\\win64\\mlint.exe",
    "files.associations": {
        "\"*.m\":\"matlab\"": ""
    }

cuixing158 avatar Sep 07 '21 01:09 cuixing158