Hi everyone
I have written an extension that integrate with "Google Code" project and have the following features:
- If you want to search Google "Code Search" for specific code on you program you simply select the wanted text press right click -> "Search Google Code" button and in your browser will display all the search result according to your program language.
For example: I want search for example of the function "decodeHtml" in ex1.py file. I simply select "decodeHtml" word with the mouse press "Search Google Code" and get in my browser all the search results of "decodeHtml" written in Python (The search only on Python files is auto added by the extension.
- Search for a function if you want to search for specific function and get all the code results (usually is done after you only write the function header) you simply put you cursor below the function and press Edit Menu-> "Search Function Code"
then we auto find the wanted function and return summary of the results (this will take few seconds) in new "Search Code" tab (this tab layout is simillar to the layout of the Find in Files tab, see attached picture). After you see the function summary you can get even more details on specific function by double click on the results row and then:
- The browser will present you the wanted function result (will open the source file in Google Code Search
- We present to you the function code (using alert) so you can copy and paste the function to your code (this feature aim was to autocomplete the function in the file by itself but for some reason the insertText in the scimoz object function didn't work as planned, and because challenge currently deadline limit this feature currently is not working as planed. I hope to fixed this issue the near feature so this feature will be a lot cooler)
Thanks to every one in the forum that helped me :)
Hope you will enjoy my extension I worked really hard for making it work
Micky Fire
Remark: I tried this extension on python/perl/javaascript and it worked (under linux) I hope it will also work on the other languages/OS
P.S. This is my first XUL/XPCOM/Extension before this challenge I didn't know what XUL/XPCOM mean :)
Hi,
Great extensionn for your first one !
It will be a must when we can search on koders.com too :)
--
Sébastien Santoro
www.dereckson.be
Hi,
Thanks for the comment :).
I didn't know about koders until now, it seems like a great site, so I added little support {see firecodesearch0.2.xpi in the original message) to this site. Now you can select a text and search for it on koders.com according (similar to the basic Google code search)
Hope it will help you,
Micky