Custom JAVA Code style
Answered
Hello,
I would like to create a plugin that changes the default settings of the code style of Java. I checked the documentation and the only thing I could find was how to customize the code style for a custom language.
Is there any way I can modify the code style of a pre-existing language?
Please sign in to leave a comment.
Hello,
Customizing the defaults for an existing language is not possible from another plugin.
You could create your own code style scheme and automatically set it for your users, perhaps only when they’re using the “Default” scheme. See also this post on how to import a scheme and set it. Instead of importing the scheme, you could also create and modify it manually from code. Here’s a snippet: