Hi Chen,
I'd played with snipmatch and I happy that the local search engine works without any severe issue (see the google issue I opened). Thank you!
I've a few comments on the UI (I didn't look at the code yet). For the demo,
can you use a larger font in the popup search window? Maybe just use the text editor default font?
and:
Is it possible to use dummy placeholders for variables which haven't been bound yet? It looks odd if the templates have gaps that don't compile.
On mac there is a lot of flickering and jumping windows when the proposals are displayed one-by-one. Do you have the same on Linux/Win?
I've also a few ideas for the preferences - but not tonight :) Thanks and keep up the good work! I'm looking forward to demo Snipmatch at EclipseCon.
Marcel
On 14.03.2012, at 08:53, Chen Cheng wrote: Two attach files to help explain how to use it:
1. snipmatch_preference.png SnipMatch's local setting preference page, operate step 2 and 3 in this dialog
2. SnipMatch.png
SnipMatch works in java file editor 2012/3/14 Chen Cheng <chengchendoc@xxxxxxxxx>
Hi Marcel & Doug,
I have finished SnipMatch's local search demo, and submit code into GIT repository, You guys can update the latest code and have a trial of it in Eclipse's debug.
This is the simple guide about how to use it:
2. Run "SnipMatchPlugin" project as Eclipse application. Then, open Eclipse preference -> Code Recommenders -> SnipMatch -> Local setting, you will find a "Snippets directory" option, click "Browse" button after it, select your json format snippet store path, here is " D://snippets"
3. Select "Search engine file path" in the same dialog, suppose it is " D://snippets/demo.txt", then click the button "Update Index", it will generate the index file for the demo search engine named " D://snippets/demo.txt".
4. In Java file editor, use "Ctrl + Enter" to pop up snippet query dialog, you can input "print", "loop" or "awt" etc to have a trial.
I just use a simple string compare to search snippets here, we should discuss how to merge the Lucene based search engine in the coming days :-)
-- Best Regards From Cheng Chen [ chengchendoc@xxxxxxxxx]
<snipmatch_preference.png><SnipMatch.png>_______________________________________________ recommenders-dev mailing list recommenders-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/recommenders-dev
|