View Single Post
06-18-17, 12:32 PM   #30
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
Originally Posted by Resike View Post
Okay i managed to make it work:

Code:
cmd = 'luacheck - --formatter=plain --no-unused --no-redefined --no-unused-args --no-unused-secondaries --no-self --no-max-line-length --no-max-code-line-length --no-max-string-line-length --no-max-comment-line-length --codes --ranges --filename @'
<snip img>

However things that i don't like:

- It's sooo slow, i'm not sure why, but it doesn't fit into the Sublime "policy" where everything is lightning fast.
- You can't change colors, you have 1 color for errors and 1 for warnings and thats it. Would be nice to have a separate color for global functions.

But besides that it's nice. I still think a standalone python script would be better or at least faster, also we could have more control over everything of course.
You can actually change the error and warning colors. They are in the settings for SublimeLinter

Serious question though, why do you want a separate indicator for global functions? If a variable is global, it has the same implications regardless of it's type.
__________________
Knowledge = Power; Be OP

  Reply With Quote