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_mode background doesn't work #10

Closed
kinglouie opened this issue Jun 1, 2016 · 2 comments
Closed

lint_mode background doesn't work #10

kinglouie opened this issue Jun 1, 2016 · 2 comments

Comments

@kinglouie
Copy link

I'm using SublimeText on OS X El Capitan and installed cppcheck via homebrew.
When saving a file the linter works just fine but it seems he won't do anything on the fly when I'm typing.
I checked the settings for lint_mode and it is set to background, with php the background mode works just fine.

If you need any further information please let me know!

Thanks!

@NotSqrt
Copy link
Member

NotSqrt commented Jun 1, 2016

It's expected (but not explicitly documented ..) : we use the file-only mode : http://www.sublimelinter.com/en/latest/linter_attributes.html#file-only-linters

As far as I know, cppcheck can't lint by reading from stdin, and really wants a file in the proper folder, otherwise there are many errors about relative headers not found, which means we can't use a temp file in another folder.

@kinglouie
Copy link
Author

too bad!
Thanks nonetheless :)

@NotSqrt NotSqrt closed this as completed Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants