ajaxorg / ace

Ace (Ajax.org Cloud9 Editor)
https://ace.c9.io
Other
26.66k stars 5.28k forks source link

Add RStudio code mode #5493

Open seanbirchall opened 6 months ago

seanbirchall commented 6 months ago

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

ACE version used

latest

akoreman commented 6 months ago

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 🙂