What I would like to know is if there is a way to ...
# intellij
j
What I would like to know is if there is a way to search for a FQN-like property in *.yaml file. For instance how can I search for server.port (both in properties, yaml and java files), considering I have the following in a yaml file,
Copy code
server:
  port: 8080
Thank you, and sorry for bothering with smth not related to kotlin idea plugin.
s
couple things
first off, the Kotlin Slack Code of Conduct (which you agreed to)
https://kotlinlang.org/community/slackccugl.html#basic-usage-guidelines
– While it’s polite to say “Hi” or “I have a question” before asking something, it doesn’t scale and leads to noise.
– Use the #meta channel if you’re unsure about how to do something.
second, this doesn’t even seem IntelliJ-related - how you access properties declared in a given YAML file is dependent on the library/framework that consumes it
I don’t expect to be able to read
server.port
the same way in Spring Boot as I do in Dropwizard, for example
unless you’re parsing it yourself, in which case I’d recommend reading the docs for the YAML lib you’re using
also consider #random for technical questions not directly pertinent to any specific channel
👍 1
j
Sorry for asking it in this channel. In fact the question was how can I search with IntelliJ Idea FQN like properties in files. This is because whenever I have an issue with a missing property in spring boot application I would like to search quickly using the IntelliJ Idea its declaration. for the properties files it is fine but for the yaml file considering its structure it is a bit complicated. Anyway, I would go on stackoverflow to ask it. Thank you and sorry not for considering the Code of Conduct.
👍 1
g
RubyMine team has own Slack, maybe you could ask here, this is related to all IDEs from JB https://blog.jetbrains.com/ruby/2017/04/rubymine-slack-guidelines/
👍 1
1
👆 1