ajaxorg / ace

Ace (Ajax.org Cloud9 Editor)

Home Page:https://ace.c9.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add RStudio code mode

seanbirchall opened this issue · comments

Describe the feature

There are currently a number of different code modes shipped with the Ace Editor. RStudio is probably one of the largest and most used projects that uses Ace. The rstudio repo has all that's needed to make a 'rstudio' code mode for Ace.

Use Case

Personally I would use this for a browser based IDE to R I'm working on https://www.scrapeable.com/webR/. I just need help figuring out how I can compile the code completion, code model... etc for RStudio into a custom code mode.

Proposed Solution

Use RStudio repo to create a code mode called rstudio.

Other Information

going to give it a go myself, but could definitely use some help.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

ACE version used

latest

Hey, thanks for creating the issue. Ace currently has an R mode (here) but it's indeed not as fully featured as the R mode Rstudio has (here). You might get some inspiration from that mode to improve the one in Ace. Let us know if there are specific questions you'd like us to answer 🙂