RFR: 8276124: Provide snippet support for properties files [v2]
Pavel Rappo
prappo at openjdk.java.net
Tue Nov 23 14:58:07 UTC 2021
On Mon, 22 Nov 2021 23:27:04 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> We'll figure out the extensibility when the need comes. The language of a snippet defines both the comment marker and the comment type. For now, an alternative to that enum would be a boolean flag, which is less readable.
>
> All I'm suggesting is to make `Language` a class, with a public constructor and (for now) some standard static members. In other words, plan for the possibility of additional languages, by not limiting the code to an enum at this time.
Let's figure out the `CoarseParser` and "plain text" issues first and then circle back to this discussion. That said, we need to be mindful of time since we're close to RDP 1.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6397
More information about the javadoc-dev
mailing list