R editor improvements for Bio7

[This article was first published on » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

30.01.2014

For the next release of Bio7 based on Eclipse 4.4 an improvement of the R editor for a much better editing experience of R scripts will be available. The integrated editor itself is built bottom-up (based upon an Eclipse editor editor template) although there a great editor frameworks (DLTK) or frameworks to develop programming languages and domain specific languages (Xtext) for Eclipse available.

I decided to built the editor this way to avoid dependencies with Eclipse plugins adding unnecessary interfaces and complexities in a Rich Client Platform and because i wanted to understand the internals of the editor for manageable improvements of upcoming releases.

Until now i integrated a parser for R based on ANTLR, implemented error marking, code folding, a first simple version of “Quick Fixes” and an outline view for the R scripts.

This screenshot demonstrates:

screenreditor1

Here a screenshot with error marking and a “Quick Fix”:

screenreditor2

Beside other improvements coming from Eclipse (e.g. split editor capabilities) for the next release of Bio7 i hope that this new functionality will ease the development of R scripts inside of Bio7.

 

 

 

 

 

 

To leave a comment for the author, please follow the link and comment on their blog: » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)