How do I implement a LanguageConfiguration? #518
Answered
by
angelozerr
miguellaher
asked this question in
Q&A
-
I'm trying to add indentation rules inside getOnEnterRules() and use it to my team's project but it seems I need to implement LanguageConfiguration. Any idea how to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
angelozerr
Apr 4, 2023
Replies: 1 comment 6 replies
-
The main idea is to declare on enter rules with declaration mean by using JSON and regexp. The steps are:
If you don't want to create a plugin for that you can use the UI preferences to register your JSON language configuration file: |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
miguellaher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main idea is to declare on enter rules with declaration mean by using JSON and regexp.
The steps are:
If you don't want to create a plugin for that you can use the UI preferences to register your JSON language configuration file: