Copyright Support In a Custom Language

I have on 2 occasions tried to implement copyright support (via the copyright plugin) in my custom language. I keep finding that it is not possible due to the comment structure in my custom language not being of any of the types that the copyright plugin supports.

Is there a way to extend the copyright plugin for a custom language? or am I trying to do something unsupported?

2 comments

Hello Jon,

The copyright plugin has an extension point that allows to plug in support
for custom languages. Note that the copyright plugin is part of the Community
Edition and thus open-source.

I have on 2 occasions tried to implement copyright support (via the
copyright plugin) in my custom language. I keep finding that it is not
possible due to the comment structure in my custom language not being
of any of the types that the copyright plugin supports.

Is there a way to extend the copyright plugin for a custom language?
or am I trying to do something unsupported?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

The copyright plugin was not recognizing my custom language, because my custom language's implementation of LanguageFileType was returning "Lua file type" from getName(). When I changed getName() to return "Lua" instead, the copyright plugin recognized my custom language file type.

0

Please sign in to leave a comment.