Home Download Buy Blog Forum Support

SublimePeek - quick access to help for functions

Re: SublimePeek - quick access to help for functions

Postby jlegewie on Fri May 11, 2012 9:04 am

FichteFoll, we can make it work for windows. It should not be hard but I just do not have a windows computer. Can you comment on this issue on github so that we can continue the discussion there (just so that we both get messages posted there):
https://github.com/jlegewie/SublimePeek/issues/4
I will add details next week.


Anyone with a unix system?
https://github.com/jlegewie/SublimePeek/issues/5


vitaLee, I will get to that next week.
jlegewie
 
Posts: 16
Joined: Fri Apr 13, 2012 11:35 am

Re: SublimePeek - quick access to help for functions

Postby francescob on Fri May 18, 2012 1:29 pm

hi, it's me again, i'm having a problem with ruby doc when looking up for certain words (a small number atm), this is the error i see in the sublime text console:

Code: Select all
Traceback (most recent call last):
  File "/Applications/Sublime Text 2.app/Contents/MacOS/sublime_plugin.py", line 362, in run_
    return self.run(edit)
  File "./SublimePeek.py", line 84, in run
  File "./SublimePeek.py", line 222, in create_help_file
  File "./SublimePeek.py", line 175, in write_html_file
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3598: ordinal not in range(128)


and here: https://gist.github.com/2725230 is an example of the html produced by ri for words that give this error
francescob
 
Posts: 20
Joined: Mon Apr 23, 2012 2:52 pm

Re: SublimePeek - quick access to help for functions

Postby jlegewie on Tue May 22, 2012 8:06 pm

thanks for the report. I will look into it but it might take some time. Meanwhile, do you see any pattern in the keywords? The help file you posted is from
Code: Select all
.belongs_to
, right? What are other examples?
jlegewie
 
Posts: 16
Joined: Fri Apr 13, 2012 11:35 am

Re: SublimePeek - quick access to help for functions

Postby francescob on Wed May 23, 2012 9:29 am

jlegewie wrote:thanks for the report. I will look into it but it might take some time. Meanwhile, do you see any pattern in the keywords? The help file you posted is from
Code: Select all
.belongs_to
, right? What are other examples?


It seems to happen more often, but non exclusively, with methods from ActiveRecord::Base class
francescob
 
Posts: 20
Joined: Mon Apr 23, 2012 2:52 pm

Re: SublimePeek - quick access to help for functions

Postby jlegewie on Mon May 28, 2012 8:18 am

Just because it came up multiple times on github: The current stable build of ST2 (2181) produces an error when you try to use the plugin with HTML, javascript, PHP or css because the ok_cancel_dialog was added after 2181. It works with the dev build of ST2: http://www.sublimetext.com/dev
You can switch back to the stable channel after using SublimePeek once with every language you want to use. I am reluctant to fix this because I am hoping for a new st2 stable release soon.
jlegewie
 
Posts: 16
Joined: Fri Apr 13, 2012 11:35 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: Exabot [Bot] and 12 guests