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

Extend custom mode API with start/end and keyword mapping #41

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Conversation

pepijnve
Copy link

This PR adds two extra capabilities to the custom mode rule Java API:

  • start/end to support things like block comments
  • keyword mapper support

With these two changes modes like the SQL mode can be completely defined via the Java API.

@pepijnve
Copy link
Author

@F0rce I realised too late that the JS changes should have been done in https://github.com/f0rce/lit-ace instead of in this project. If you're OK with the proposed changes I'll split up this PR into one for lit-ace and one for this project.

@F0rce
Copy link
Owner

F0rce commented Apr 21, 2023

@pepijnve jeah, I should have mentioned anywhere, that JS changes have to be made in https://github.com/F0rce/lit-ace

The feature sound really interesting and I'll be sure to check it out as soon as the development is done. If you need help with the JS part, just ping me in the PR and I'll be sure to help you out. LGTM

@pepijnve
Copy link
Author

F0rce/lit-ace#11 here you go. I can update this PR once there's a build containing that enhancement.

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.

None yet

2 participants