concordion / idea-concordion-support

Concordion support IntelliJ Idea plugin https://plugins.jetbrains.com/plugin/7978
Other
13 stars 8 forks source link

Show usages of method does not find usages from md files #18

Open vgheo opened 6 years ago

vgheo commented 6 years ago

work-around: Configure Find Usages > Search for text occurences

idegtiarenko commented 6 years ago

As mentioned in https://github.com/concordion/idea-concordion-support/issues/17, plugin only provides ognl expression parsing and linking to concordion files. For that it relies on "Inject language" feature that is available for some of the AST tree nodes. image Unfortunately existing MD plugins does not allow this, so it was required to use hackysolution called org.concordion.plugin.idea.injection.ConcordionInjection. The same way, this issue could be closed by providing new plugin to parse MD that also allows to do LanguageInjection in places where concordion expression could be.