Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle different config references by default #26

Open
dekelpilli opened this issue Mar 30, 2020 · 2 comments
Open

Handle different config references by default #26

dekelpilli opened this issue Mar 30, 2020 · 2 comments

Comments

@dekelpilli
Copy link

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

@ghik
Copy link
Collaborator

ghik commented Mar 30, 2020

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).

@dekelpilli
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants