Recommended way to create custom code style settings: createCustomSettings is marked as Internal api

Answered

As recommended in https://jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/code_style_settings.html?search=code#define-code-style-settings-provider we are overriding `createCustomSettings` to provide a custom code style, however in IDEA 203.4449.2 the plugin verifier complains that `createCustomSettings` is Internal api, which indeed it is (`CustomCodeStyleSettingsFactory`). I don't see how we should avoid using this?

 

Similar for overriding getLanguage in LanguageCodeStyleProvider

0
4 comments
Avatar
Permanently deleted user
Official comment

Thanks for reporting!

This is a known bug in Plugin Verifier (see https://youtrack.jetbrains.com/issue/MP-3083#focus=Comments-27-4440232.0-0 )

Please ignore this warning, it will be fixed soon.

This seems like a temporary glitch, investigating...

0

Could you please share your code that highlights "createCustomSettings" as internal API?

0

Indeed, it looks to be exactly that issue, thanks for linking it!

0

Please sign in to leave a comment.