Hi,
Marcel, I’ve managed to correct some of the issues you pointed out. Some of them were because elements needed to be inside classes to be recognized. For example, this was the reason why imports were marked as unused and code completion did not work on variables.
I extended “element recognition” to the file level, but at the moment there is a downside to this. All variables that are used need to be Jvm Identifiable Elements, therefor need to be declared somewhere such that the editor will recognize them, and this does not happen with snippet parameters.
I tested the editor on Madhuranga’s snippets(they look good btw 😊), but, as mentioned above, it has problems caused by snippets parameter, as these are not declared, therefor are not recognized by the editor.
I will try to fix this by creating some other classes, inside the External Snippets project, which will contain the declarations for the parameters. This should give the editor enough information to recognize them.
I do have a question regarding imports. Should they be at the end of the file(as in Madhuranga’s snippets) or at the beginning?
>I guess, it's time to merge your two projects soon and create the next edition of Snipmatch. How >about targeting the merge work ~ for the 2nd week of September?
In my opinion, it sounds good 😊
Best Regards,
Stefan.
From: Marcel Bruch
Sent: Monday, August 26, 2013 11:28 PM
To: Recommenders developer discussions
Thank you. With these snippets it works great.
Stefan,
can you check out theses snippets and check whether your editor can work with them?
I guess, it's time to merge your two projects soon and create the next edition of Snipmatch. How about targeting the merge work ~ for the 2nd week of September?
Best,
Marcel
Hi Marcel,
I created a git repository[1] with a collection of snippets which we can use to test the SnipMatch plug-in. These snippets are modified snippets which the previous SnipMatch version has used. They have been modified according to the standard jface template language format. There are few snippets i could not convert at the moment. I will convert them soon and add them to the repository.
[1]
https://github.com/lakjeewa/SnipMatch-SnippetsThank you,
Madhuranga Lakjeewa