Hi,
This is the weekly report for the snippet editor:
What was planned for this week:
-> try to compute types for elements like ${cursor} based on the context. e.g.: for the _expression_ if(${cursor}){}, ${cursor} should be treated as a Boolean.
-> try to add content assist to jFace variables like ${array}.
-> make the type section of the metadata page work properly and set up a nicer dialog to edit the fields in search patterns.
What was accomplished:
-> type computation has been set properly for all template variables. Although there might still be some issues ( I’m not sure I covered it all ) it should work fine.
-> content assist works for template variables. There still are some problems, as for the ${array} variable there are List proposals instead of Object[] proposals.
-> The types appear properly in the metadata page. There are all types that were computed, including the primitive ones.
-> A nicer pop-up text field editor is available for editing the search phrases.
What the plan is for the next week:
-> Correct the proposals for the ${array} variable.
-> Enable saving for the data in the metadata page.
-> Template expressions do not work fine with methods (I forgot to update the syntax for them to support template _expression_). For example, the method snippets (private method, private static method, etc) do not work and will cause errors.