intellij-hocon icon indicating copy to clipboard operation
intellij-hocon copied to clipboard

Handle different config references by default

Open dekelpilli opened this issue 4 years ago • 2 comments

This is for showing uses across a project. Example syntaxes I'm familiar with:

  • {{}} and ${} for Camel
  • ${} and #{} for Spring

For example: This works This doesn't work

dekelpilli avatar Mar 30 '20 03:03 dekelpilli

I agree that this would be useful, but I think this is out of scope of the HOCON plugin. Since we are dealing with Camel/Spring-specifix syntax, this should be provided by plugins supporting these frameworks (or perhaps specialized separate plugins which integrate Camel/Spring with HOCON).

ghik avatar Mar 30 '20 17:03 ghik

That's fair. I didn't mean to suggest that this plugin would try to detect the presence of these frameworks and their valid use cases, but maybe just assume that config surrounded by any {} anywhere match. It could give a few false positives, but that's probably better than mostly false negatives.

dekelpilli avatar Mar 30 '20 23:03 dekelpilli