It would be nice if prettier-java could delegate to prettier the formatting of block of text that is commented with language = ....
E.g.
// language = json
String someJson = """
{"glossary":{"title": "example glossary"}}
"""
Expected behavior:
// language = json
String someJson = """
{
"glossary": {
"title": "example glossary",
}
}
"""
language = <language> is supported by Jetbains IDEs: adding this comment allow syntax highlighting, code completion and verification.
This would be similar to what Prettier does out of the box with block of code inside Mardown such as:
```json
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
It would be nice if prettier-java could delegate to prettier the formatting of block of text that is commented with
language = ....E.g.
Expected behavior:
language = <language>is supported by Jetbains IDEs: adding this comment allow syntax highlighting, code completion and verification.This would be similar to what Prettier does out of the box with block of code inside Mardown such as: