Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.5
-
None
-
None
Description
Hi there,
I've been developing some stuffs with Spring framework and notice this error.
In Spring Boot there's a properties file. This file (application.properties) is well recognized by Netbeans (I can get some code completion and hints, etc...) but some of the objects are arrays, and must be specify in this way:
spring.cloud.gateway.routes[0].uri
spring.cloud.gateway.routes[0].id
... and so forth.
Well, the problem comes because Netbeans detects an error when using indexed array like [0] or [1] ...
The error displayed is:
Invalid input '.', expected whitespace, separator, eolChar or EOI
Unknown Spring Boot property 'id'
(Alt-Enter shows hints)
I think the editor should detect when an object is a Collection (a list or array) and allows to use index for that properties...
This is the screenshot:
https://1drv.ms/u/s!Aia5EKntNR-LgZgFKZmmQYSCUZa5TQ?e=1WrDbm