Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint on Grammar Change #1651

Open
bmundt6 opened this issue Aug 29, 2019 · 0 comments
Open

Lint on Grammar Change #1651

bmundt6 opened this issue Aug 29, 2019 · 0 comments

Comments

@bmundt6
Copy link

bmundt6 commented Aug 29, 2019

I have cpplint set up to lint C++ source code, but no linter for C source code. When I open up a .h file and the grammar is recognized as C, if I manually change the grammar to C++ in the editor, I would like that to trigger cpplint to run on the file (as if I had just opened the file and it was correctly recognized as C++ source code) when I have the "Lint on Open" setting checked. As of now, I need to save the file or run the Lint command from the command palette to see any output when I switch grammars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant