Trouble Making Sublime Linter Work

I’m trying to install Sublime Linter, but I’m confused about the settings section. There isn’t a very detailed explanation of what to do next. Do I have to make a separate file and save it somewhere? Help would be appreciated :slight_smile:

2 Likes

So I don’t need to do anything with this?

{
    "linters":
    {
        "gcc": {
            "disable": false,
            "executable": ["gcc"],
            "args": ["-fsyntax-only", "-std=c90"],
            "I": [
                "${file_path}/include",
                "${folder}/include",
                "/usr/local/include",
            ],
            "excludes": [],
        },
        "g++": {
            "disable": false,
            "executable": ["g++"],
            "args": ["-fsyntax-only", "-std=c++17"],
            "I": [
                "${file_path}/include",
                "${folder}/include",
                "/usr/local/include",
            ],
            "excludes": [],
        },
    },
}

Update: I tried some things out and got it to work. Thanks.

Not as far as I know. Did you end up putting that somewhere?

1 Like

I put it in the Sublime Linter Settings, but I don’t think it’s required. I realized I didn’t install the Sublime Linter Package :sweat_smile: (thought installing SublimeLinter-gcc was enough, I’m quite new to sublime text).