Home Download Buy Blog Forum Support

SublimeLint (Realtime lint highlighting)

Re: SublimeLint (Realtime lint highlighting)

Postby lunixbochs on Thu Mar 08, 2012 9:02 pm

I pretty much rewrote SublimeLint. The code is now far cleaner, plugins are incredibly simple, and it should never lag the user interface.

Might be worth checking out again for the developers of other versions, and for anyone who switched to a fork.
lunixbochs
 
Posts: 57
Joined: Fri Oct 08, 2010 10:18 pm

Re: SublimeLint (Realtime lint highlighting)

Postby castles_made_of_sand on Fri Mar 09, 2012 12:27 am

awesome! I've been `faithfully waiting` haha :)
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
castles_made_of_sand
 
Posts: 592
Joined: Thu Mar 20, 2008 5:41 am

Re: SublimeLint (Realtime lint highlighting)

Postby shirkkan on Mon Mar 19, 2012 7:15 pm

I've put the "lint" folder and sublimelint.py into the User Packages folder, but it does nothing.
¿Is it necessary to enable the plugin or something similar?
For example, if I create a file with this content:

Code: Select all
<?php
abcde

echo $var;

?>


shouldn't it mark the first line as wrong?
shirkkan
 
Posts: 3
Joined: Thu Dec 08, 2011 11:46 pm

Re: SublimeLint (Realtime lint highlighting)

Postby tito on Mon Mar 19, 2012 10:47 pm

The problem is that the syntax is HTML instead of PHP. No matter what the status bar says, is HTML.
Change the syntax to PHP and reopen the file. This should solve the issue.
Yuo can check the current syntax with
Code: Select all
sublime.active_window().active_view().settings().get('syntax')
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 498
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 6 guests