Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [soc-dev] [GSoC] Templates weekly report

Hi,

This is the weekly report for the Templates project.

The plan for the last week was:

  • Make separate grammar rules for the template specific keywords that are used in java specific template variables.
    e.g. "newName" in < ${s:newName(String)} >
  • Highlight this keywords accordingly in the template highlight calculator.
What has been accomplished:

  • Added a test suite for template syntax highlight computer. This helps us ensure that the highlight is done properly, and that further changes will not influence it.

  • The template keywords now have separate rules.
    This allows a better access to this keywords and it makes it easier to highlight them accordingly.

Both the above changes can be viewed in change-set [1].

  • Template identifiers from simple variables were highlighted as keywords.(see bug [2])
    The change set [3] fixes this, and the template identifiers in the context of a simple variable are now highlighted with the TemplateIdentifier highlight color.
    e.g. ${someID} will be highlighted as a template identifier
    Note: this change-set is not submitted yet.


What the plan for next week is:

  • Submit and merge the change-set that fixes highlight of template identifiers in simple variables [3].

  • Fix bugs [4], [5]. These require some changes in the grammar that will allow the use of keyword 'var' and the keywords used for numeric type suffixes as identifiers.

  • Fix bug [6]: Add syntax highlighting for comments.
    At the moment comments are not colored in the java specific green color. This fix should color them accordingly.


Best Regards,
Stefan.

[1]: https://git.eclipse.org/r/#/c/29324/
[2]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=438811
[3]: https://git.eclipse.org/r/#/c/29498/
[4]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=439046
[5]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=439047
[6]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=436541

Back to the top