Home Download Buy Blog Forum Support

SublimeLint (Realtime lint highlighting)

Re: SublimeLint (Realtime lint highlighting)

Postby Kronuz on Fri Sep 02, 2011 2:47 pm

I'm pretty sure Open Komodo has a Javascript linter written in python... I don't know how good that might be, but it's there. The main problem with it is ...the license :(
Kronuz
 
Posts: 98
Joined: Mon Feb 14, 2011 3:14 pm

Re: SublimeLint (Realtime lint highlighting)

Postby C0D312 on Fri Sep 02, 2011 3:05 pm

While I don't know how difficult it would be (or even possible), I would love to have lint highlighting for Java.

Just a request...
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: SublimeLint (Realtime lint highlighting)

Postby aparajita on Fri Sep 02, 2011 7:57 pm

korgoth wrote:I cant seem to get this working for javascript

im on windows, and added nodejs to my path (node -v returns the current version)

When i try node <filename> it returns errors (ie javascript file contains errors), and on a correct file it returns nothing, but i dont see the borders appear where the errors actually are


Are you using sublimelint or SublimeLinter?
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: SublimeLint (Realtime lint highlighting)

Postby aparajita on Fri Sep 02, 2011 8:24 pm

C0D312 wrote:While I don't know how difficult it would be (or even possible), I would love to have lint highlighting for Java.


Someone will have to write a wrapper for a checker such as checkstyle (http://checkstyle.sourceforge.net/).
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: SublimeLint (Realtime lint highlighting)

Postby korgoth on Wed Sep 07, 2011 7:38 pm

aparajita wrote:
korgoth wrote:I cant seem to get this working for javascript

im on windows, and added nodejs to my path (node -v returns the current version)

When i try node <filename> it returns errors (ie javascript file contains errors), and on a correct file it returns nothing, but i dont see the borders appear where the errors actually are


Are you using sublimelint or SublimeLinter?


SublimeLinter that is
korgoth
 
Posts: 4
Joined: Fri Sep 02, 2011 10:39 am

Re: SublimeLint (Realtime lint highlighting)

Postby aparajita on Thu Sep 08, 2011 2:55 am

Close all windows, then quit and restart ST2. Open the console, and near the top you will see the loading messages for SublimeLinter. If there is an error loading the Javascript module, the reason will be printed there.
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: SublimeLint (Realtime lint highlighting)

Postby swdunlop on Thu Nov 03, 2011 3:44 pm

I have added support for Java linting, using "javac -Xlint", in this pull request:

https://github.com/lunixbochs/sublimelint/pull/15
swdunlop
 
Posts: 1
Joined: Thu Nov 03, 2011 3:40 pm

Re: SublimeLint (Realtime lint highlighting)

Postby C0D312 on Thu Nov 03, 2011 8:16 pm

Awesome, swdunlop. Works great. Now if only it were in Kronuz's linter... so I could lint only on save :|
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: SublimeLint (Realtime lint highlighting)

Postby gregor.hoch on Mon Jan 23, 2012 9:13 am

Is this plugin still developed? I just see two outstanding pull requests on github, which I think are pretty useful (particularly, the JSlint integration). Just wondering whether it is worthwhile to wait for the master fork to pull these requests or whether I should rather change to a different fork...

Thanks!
gregor.hoch
 
Posts: 144
Joined: Sat Oct 01, 2011 7:54 pm

Re: SublimeLint (Realtime lint highlighting)

Postby C0D312 on Mon Jan 23, 2012 7:41 pm

gregor.hoch wrote:Is this plugin still developed? I just see two outstanding pull requests on github, which I think are pretty useful (particularly, the JSlint integration). Just wondering whether it is worthwhile to wait for the master fork to pull these requests or whether I should rather change to a different fork...

Thanks!


There is active work being done on Kronuz's fork, which has become the more popular choice for all your linting needs: https://github.com/Kronuz/SublimeLinter
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests