lahodaj commented on code in PR #9749:
URL: https://github.com/apache/netbeans/pull/9749#discussion_r4500673965
##########
cpplite/cpplite.editor/licenseinfo.xml:
##########
@@ -28,6 +28,11 @@
<license ref="MIT-cpp-textmate-grammars" />
<comment type="COMMENT_UNSUPPORTED">Source:
https://github.com/jeff-hykin/cpp-textmate-grammar</comment>
</fileset>
+ <fileset>
+
<file>src/org/netbeans/modules/cpplite/editor/file/resources/language-configuration.json</file>
+ <license ref="MIT-vscode" />
+ <comment type="COMMENT_UNSUPPORTED">Source:
https://github.com/microsoft/vscode/blob/main/extensions/cpp/language-configuration.json</comment>
Review Comment:
> > language configuration and grammars are independent ... they are two
independent files
>
> I was suggesting another attribute, not putting both into the same file...
I know, but they are still separate files with separate, although connected,
purposes. We have plenty of other separate annotations on the DatObjects -
should extension and icon definition also be merged as optional attributes into
GrammarRegistration? Because the link between an extension, icon and grammar is
not much weaker than between the language configuration and the grammar.
>
> > ...in practice, these are likely to be used together....
>
> Yeah, that was the reason why I wanted to collocate them.
>
> If you think collocating them isn't appropriate then at least **hyperlink
them** in Javadoc strongly suggesting to implement both.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists