Home Download Buy Blog Forum Support

SublimePeek - quick access to help for functions

Re: SublimePeek - quick access to help for functions

Postby francescob on Fri Apr 27, 2012 9:17 am

hi, last solution doesn't seem to work, i'm still getting the documentation from the system ri. I guess i can work this around by installing the library i want the documentation for also to system ruby, but unfortunately as you also said we can have documentation only for one version of ruby in this way
francescob
 
Posts: 20
Joined: Mon Apr 23, 2012 2:52 pm

Re: SublimePeek - quick access to help for functions

Postby francescob on Fri Apr 27, 2012 11:40 am

Ok, i've found the solution and it was right there from the begging, i just needed to run ri without any arguments to find out that...:
Code: Select all
By default ri searches for documentation in the following directories:
(...)
/$HOME/.rdoc
(...)


so i just put all the documentation i care of there and it works...
only thing to modify in the script for this to work is to add the --home flag
francescob
 
Posts: 20
Joined: Mon Apr 23, 2012 2:52 pm

Re: SublimePeek - quick access to help for functions

Postby jlegewie on Sat Apr 28, 2012 9:16 am

I have updated the plugin with a number of new features:
- Added support for JavaScript, PHP, Ruby, and Stata
- Improved Python support
- Overview of all available help topics based on the familiar ST2 quick select panel
(the same as the command panel, or the one for jumping from project to project)
- Help files are now downloaded and compiled in the background
- Bug fixes


francescob, I have revered the non-working solution with the shell=true argument. I could still add an option that sets the ri path so that you don't have to overwrite default Ruby. You should go back to the main channel through Package Control. I am not sure how updating works when you installed the plugin manually from the dev branch.
jlegewie
 
Posts: 16
Joined: Fri Apr 13, 2012 11:35 am

Re: SublimePeek - quick access to help for functions

Postby gregor.hoch on Sun May 06, 2012 2:09 pm

Just tried SublimePeek... I was desperately looking for something like that. THANKS!!
gregor.hoch
 
Posts: 144
Joined: Sat Oct 01, 2011 7:54 pm

Re: SublimePeek - quick access to help for functions

Postby vitaLee on Sun May 06, 2012 6:50 pm

Great plugins!!!
is there any way to add keyboard shortcut for closing popups?
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: SublimePeek - quick access to help for functions

Postby francescob on Mon May 07, 2012 9:05 am

vitaLee wrote:Great plugins!!!
is there any way to add keyboard shortcut for closing popups?


esc ?
francescob
 
Posts: 20
Joined: Mon Apr 23, 2012 2:52 pm

Re: SublimePeek - quick access to help for functions

Postby vitaLee on Mon May 07, 2012 1:42 pm

@francescob that's how you close sublime dropdown dialog, while i was referring to the actual popup displaying the doc snippets.
not sure if you got my point right.
im using v2181 and cant dismiss the popup with ESC.
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: SublimePeek - quick access to help for functions

Postby jlegewie on Tue May 08, 2012 1:21 am

Hi, are you using Mac OS X 10.6? My experience is that you can close the quicklook window from the package with esc or space on 10.7. I tried 10.6 once and it didn't work that way. If that is the case, I can try to fix it but not before sometime next week...
jlegewie
 
Posts: 16
Joined: Fri Apr 13, 2012 11:35 am

Re: SublimePeek - quick access to help for functions

Postby vitaLee on Tue May 08, 2012 6:32 am

Hi, yes i'm running OSX 10.6.8.
thanks.
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: SublimePeek - quick access to help for functions

Postby FichteFoll on Wed May 09, 2012 5:23 pm

Firstly, you can pass a "packages.json" (or similar) to Package Control which will allow installation only from Mac OS.

Then, I'd love to be able to use something like this on Windows. I've been searching for this (not actively, but I have) and even considered to make it on my own, even though I clearly don't have the time.
Drop me a message here, contact me on github or whatever. I'm open to testing and I know (some) package developing, but I'm also fine with testing ;)
FichteFoll
 
Posts: 407
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 5 guests