siavashs / Prism

Prism is a {code} macro plugin for Atlassian Jira

Home Page:https://marketplace.atlassian.com/plugins/com.catawiki.jira.prism

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need to configure the default language

dzogrim opened this issue · comments

Hello,

Is it possible to get a feature to let us configure the default language?
At this time, the default is java, text tag starts with {code:java}
and for example, we would like to change it to bash by default.

Is that possible please?

Thanks a lot for this nice plugin!

Regards,

Seb

Hello @dzogrim
This is a nice suggestion.
Currently we use the toolbar button which is part of JIRA itself.
In order to support changing the default language the following changes are required:

  • add configuration to the plugin so that the default language can be set
  • replace the Code toolbar button on editor and use the language set in the configuarion

I'll look into this later but can't provide an estimation when it will be implemented, probably in 1.4.0 release when it happens.