RSyntaxTextArea icon indicating copy to clipboard operation
RSyntaxTextArea copied to clipboard

Paid, sponsored - adding parser for Scala and Python

Open juwalter opened this issue 7 years ago • 1 comments

Is anyone interested in adding support for Scala and Python to RSyntaxTextArea (or rather RSTALanguageSupport I guess)? My company is willing to sponsor this, fully open-source/upstream of course.

@bobbylight

juwalter avatar Sep 14 '18 09:09 juwalter

@juwalter, if you provide specific requirements, I can see what I can come up with. I don't have a lot of time for this project anymore but I do want to see it continue to grow and improve.

As opposed to "full-blown code completion and compiler integration," it might be good to have a list of what is needed, broken down by feature. That way I can add enhancements piecemeal. Something like:

  • Scala syntax highlighting bugs/additions
  • Python syntax highlighting bugs/additions
  • Code folding rules for both (I use neither language so I did not develop code folding for them)
  • Simplest code completion feature that could be added for each language (e.g. standard libraries, etc.)
  • Smarter code completion for each language that is file-specific (not project specific), e.g. an easy way to identify methods, functions, and variables without writing a full-blown parser
  • Guidelines on how to call out to an external compiler and parse its returned syntax errors for red squiggles (we do this for Perl, note there is a performance hit for running the external process but it's really cool, and saves us from having to do the parsing ourselves in Java)

bobbylight avatar Nov 12 '18 19:11 bobbylight