Home Download Buy Blog Forum Support

A (Very Basic) Package Manager

Re: A (Very Basic) Package Manager

Postby guillermooo on Wed Aug 03, 2011 10:49 pm

@sublimator showed a preview of a very cool plugin that would do that; teleport you to commands/settings/key bindings. But I don't think he's published it yet? I think he won't until Jon adds monospace fonts to the quick panel, haha. Hope that happens before v3. In other words, I don't think there is any way of doing that atm, no.

I'll add the tips at the end. Cheers.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: A (Very Basic) Package Manager

Postby adzenith on Wed Aug 03, 2011 10:53 pm

I also just busted this out a little bit:
Code: Select all
--- /Users/nikolaus/Library/Application Support/Sublime Text 2/Packages/PackageManager/package_manager_ui.py Wed Aug  3 15:52:53 2011
+++ /Users/nikolaus/Library/Application Support/Sublime Text 2/Packages/PackageManager/package_manager_ui.py Wed Aug  3 15:52:58 2011
@@ -53,7 +53,14 @@

class PackageManagerUiCommand(sublime_plugin.WindowCommand):
     def run(self):
-        ui = self.window.new_file()
+        ui = None
+        for v in self.window.views():
+            if 'Package Manager - Sublime Text' == v.name():
+                ui = v
+                self.window.focus_view(ui)
+                break
+        if ui == None:
+            ui = self.window.new_file()
         ui.set_name('Package Manager - Sublime Text')
         draw_frame(ui)
         load_package_data(ui)
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: A (Very Basic) Package Manager

Postby guillermooo on Wed Aug 03, 2011 10:56 pm

Cool, I'll be adding this stuff when I get some sleep ;) Thanks!
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: A (Very Basic) Package Manager

Postby adzenith on Wed Aug 03, 2011 10:59 pm

guillermooo wrote:@sublimator showed a preview of a very cool plugin that would do that; teleport you to commands/settings/key bindings. But I don't think he's published it yet? I think he won't until Jon adds monospace fonts to the quick panel, haha. Hope that happens before v3. In other words, I don't think there is any way of doing that atm, no.

Yeah, that looked really sweet. I'm looking forward to it :)
guillermooo wrote:I'll add the tips at the end. Cheers.

Thanks!

A couple things:
I installed CTags for real through the package manager, but it didn't update the UNINSTALLED to an INSTALLED until I closed and reopened the buffer.
I see the soda theme and the latex-tools in the catalogue but not in the manager or in the catalogue-db. I haven't yet investigated why this is but just thought I'd say.
Also, if the package manager were in github it could update itself. Just saying :P

Thanks again! This is really awesome.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: A (Very Basic) Package Manager

Postby C0D312 on Thu Aug 04, 2011 12:44 am

I personally have been using the github.app for OS X to manage all my packages. It makes it extremely easy to update and manage packages. Apparently a windows version is on its way, too. Just saying...
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 8 guests