mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
code_formatting.md: add "Restricting Formatting"
This commit is contained in:
parent
33e9aae557
commit
a337a6716a
@ -120,6 +120,10 @@ The return value of `createIndentOptions()` determines the default indent size.
|
||||
**Example**:
|
||||
[Custom Language Support Tutorial: Code Style Settings](code_style_settings.md)
|
||||
|
||||
## Restricting Formatting
|
||||
|
||||
Use [`LanguageFormattingRestriction`](%gh-ic%/platform/code-style-api/src/com/intellij/lang/LanguageFormattingRestriction.java) to restrict (automatic) code formatting for given contexts.
|
||||
|
||||
## External Code Formatter
|
||||
|
||||
_2021.3_
|
||||
|
Loading…
x
Reference in New Issue
Block a user