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

Application.properties completion and validation sometimes fails while working with the file

Open zcervink opened this issue 4 years ago • 0 comments

While working with the application.properties file the completion and validation sometimes fails to offer some properties and after typing them manually the properties ends being underlined with yellow color. I have managed to reproduce this issue only 2 times, it appears only sometimes.

Steps to reproduce:

  1. Open the application.properties, try to add some property such as "quarkus.application.name=xyz"
  2. Add some more properties, create some mess, define the quarkus.application.name property several times
  3. Copy/paste some lines of code, simulate working with the file
  4. Delete the whole content of the application.properties file
  5. Define a property such as "quarkus.application.name=xyz"

Note: I think this issue has something in common with the situation when user define some properties more than one. When you define a property 2 or 3 times the validation underlines them but after some time working with the file something go wrong and the validation/completion fails for the properties that has been defined several times before.

Fix: Close and reopen the application.properties file

Snímek obrazovky 2020-06-08 v 5 55 17 Snímek obrazovky 2020-06-08 v 5 51 00

zcervink avatar Jun 08 '20 04:06 zcervink