Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: R syntax highlighter in analysis panel controls #5538

Merged
merged 9 commits into from
Sep 5, 2024

Conversation

shun2wang
Copy link
Contributor

@shun2wang shun2wang commented May 31, 2024

Not sure if this is fine, but I override the lavaan syntax behavior since it's also a subset of the R syntax.

With these PR #5474 and #5102, we can take the user experience of R syntax in JASP to the next level.

@shun2wang shun2wang force-pushed the rSyntaxHighlighter branch 2 times, most recently from 7c0e8a1 to f9af432 Compare July 17, 2024 03:26
@JorisGoosen JorisGoosen requested review from RensDofferhoff and removed request for boutinb and JorisGoosen July 22, 2024 14:29
@JorisGoosen
Copy link
Contributor

Hey @shun2wang me and bruno are on vacation but I had a quick look at the code. This looks fine.

I do not however have the time nor machines here to test. Perhaps @RensDofferhoff can take this task upon himself?

@JorisGoosen JorisGoosen requested review from JorisGoosen and removed request for RensDofferhoff September 5, 2024 12:03
@JorisGoosen JorisGoosen merged commit 89f12d8 into jasp-stats:development Sep 5, 2024
1 check failed
@shun2wang shun2wang deleted the rSyntaxHighlighter branch September 5, 2024 15:18
@JorisGoosen
Copy link
Contributor

Very nice!

With the additions I made we now have rsyntax highlighting, or something like it, in filterwindow, computed columnwindow and the rcommander as well!

JorisGoosen pushed a commit that referenced this pull request Sep 30, 2024
* init r language highlighter

* rename lavaan bound contorls to r lang

* add special number case

* also enable highlighter for R syntax text area

* fix strings format and also styles

* add rsyntaxhighlighter quickitem, to make non jasp textareas highlighted easily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants