Home Download Buy Blog Forum Support

Package Control: A full-featured package manager

Re: Package Control: A full-featured package manager

Postby aparajita on Fri Aug 26, 2011 7:08 pm

wbond wrote:From what I understand the internals are different between the two


SublimeLinter uses a queue, sublimelint uses a single thread runner.

wbond wrote:and some people have indicated that performance varies between the two.


I would like to see some metrics on this. I did some testing and could not detect any difference is speed. If there are speed issues we would like to know.

sublimelint is turned on all the time, while SublimeLinter has to be turned on and can be run manually.


SublimeLinter is turned on via a user setting. You just have to change the setting once to have SublimeLinter always on.

SublimeLinter includes PEP8 checking by default. I believe it can be disabled.


It can be disabled, along with any of the checkers. I think in the current version or an upcoming version it will be off by default. You can also disable particular pep8 error messages.

In general SublimeLinter is much more configurable. If anyone is having issues with it, please file an issue in the github issue tracker and we will fix it.
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: Package Control: A full-featured package manager

Postby ehamiter on Fri Aug 26, 2011 9:53 pm

aparajita wrote:If anyone is having issues with it, please file an issue in the github issue tracker and we will fix it.

I really want to like SublimeLinter, but it slows my machine to an absolute crawl. On a MacBook Pro (2.6ghz w/ 8 gbs of RAM) running Snow Leopard. I can type a sentence, and watch my cursor as it slowly echoes out what I just typed. I don't know how to file an issue that speaks to this. I uninstall the plugin, it's back to normal. Re-install, and it slows down again. This does not happen with SublimeLint.
ehamiter
 
Posts: 67
Joined: Wed Apr 27, 2011 2:42 am

Re: Package Control: A full-featured package manager

Postby firefusion on Sat Aug 27, 2011 2:08 am

Even time I update Sublime (it seems). All the package manager options disappear from the CTRL shift P menu and are no where to be found. I have to run the install again. Is this normal?

Windows 7 64bit
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Package Control: A full-featured package manager

Postby wbond on Sat Aug 27, 2011 2:43 am

firefusion wrote:Even time I update Sublime (it seems). All the package manager options disappear from the CTRL shift P menu and are no where to be found. I have to run the install again. Is this normal?

Windows 7 64bit


There was a bug in up to version 1.1.3 that would cause this to happen. Sublime Text 2 would delete Package Control whenever it was fully closed and then opened again. It should be fixed now. If it happens again, please let me know.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Package Control: A full-featured package manager

Postby Kronuz on Mon Aug 29, 2011 12:11 am

@joaodrp, yes SublimeLinter uses a queue, which in theory should make it more responsive... particularly for larger files, but shorter files are also queued anyway. This is an option that might need some tweaking and perhaps we should have different linking timings for different file sizes (perhaps detecting the best automatically).

@aparajita, about the queue, if you navigate your file or change the cursor position that will prevent the queue from executing the linting of the code... this is because for large files being linted, if you change something and then you start moving around very quickly to change something else in the same file, the linting would kick in the middle, making the editor laggy for a bit while you move around (as I said, this is particularly noticeable in large or very large files being linted)

These and other things, like PEP 8, different configurable colors for different error levels, and more configuration flexibility are the differences between SublimeLint and SublimeLinter.
Kronuz
 
Posts: 98
Joined: Mon Feb 14, 2011 3:14 pm

Re: Package Control: A full-featured package manager

Postby aparajita on Mon Aug 29, 2011 2:45 pm

ehamiter wrote:I really want to like SublimeLinter, but it slows my machine to an absolute crawl. On a MacBook Pro (2.6ghz w/ 8 gbs of RAM) running Snow Leopard. I can type a sentence, and watch my cursor as it slowly echoes out what I just typed.


What file type are you editing? How big is the file?
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: Package Control: A full-featured package manager

Postby Kronuz on Mon Aug 29, 2011 2:53 pm

I keep getting this message when I try to install Package Control (Mac OS X): urllib2.URLError: <urlopen error [Errno 64] Host is down>
the hostname seems fine ("http://sublime.wbond.net/Package%20Control.sublime-package") and I can access the resource from my browser fine... just that urllib2 throws that exception. Any ideas?

EDIT: My mistake, it was the firewall blocking the ST2 app from accessing the internet... duh!
Last edited by Kronuz on Fri Sep 02, 2011 3:58 pm, edited 1 time in total.
Kronuz
 
Posts: 98
Joined: Mon Feb 14, 2011 3:14 pm

Re: Package Control: A full-featured package manager

Postby bizoo on Fri Sep 02, 2011 10:26 am

Is there a way to give the auto_upgrade when ST2 start a delay between each run.
For something like: upgrade at most every 24 hours. I don't need dozen upgrade check each days.
There is a cache_length settings but I don't think it's what I need.

Package Control is really an amazing piece of software, thanks wbond for it.
bizoo
 
Posts: 879
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Package Control: A full-featured package manager

Postby wbond on Mon Sep 05, 2011 5:03 am

bizoo wrote:Is there a way to give the auto_upgrade when ST2 start a delay between each run.
For something like: upgrade at most every 24 hours. I don't need dozen upgrade check each days.
There is a cache_length settings but I don't think it's what I need.

Package Control is really an amazing piece of software, thanks wbond for it.


In version 1.2.0 it is now possible to set the minimum frequency between auto upgrades via the auto_upgrade_frequency setting, which defaults to 12 (hours).
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Package Control: A full-featured package manager

Postby bizoo on Mon Sep 05, 2011 6:31 am

wbond wrote:
bizoo wrote:Is there a way to give the auto_upgrade when ST2 start a delay between each run.
For something like: upgrade at most every 24 hours. I don't need dozen upgrade check each days.
There is a cache_length settings but I don't think it's what I need.

Package Control is really an amazing piece of software, thanks wbond for it.


In version 1.2.0 it is now possible to set the minimum frequency between auto upgrades via the auto_upgrade_frequency setting, which defaults to 12 (hours).

Nice, thanks for this update.

BTW, I experienced some issue with this update (with ST2 update in the same time):
-An infinite loop at the first launch (something with thread). There was 4 automatic upgrade when it happened (sublimelint, package control, ...), so it could be another plugin.
-A crash with the update command.
Now it look that everything work fine.
Sorry not to be able to give you more information, if it happens again I will look closer at the issue.
bizoo
 
Posts: 879
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 6 guests