You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i add a new properties file to my project inside resources and name it as for example "lang1" than the BUNDLE_NAME is recognized correctly.
But if i add an ResourceBundle containing lang2_de and lang2_en and try to use its base name as BUNDLE_NAME it shows me the following error "Invalid resource bundle reference 'lang2'.
I am doing this for getting the information about my properties being used inside my code.
The properties are marked correctly inside the property files for both examples.
But for lang2 the strings used inside the code are all shown with inspection error "String literal 'testprop' doesn't appear to be valid property key ..."
Hello! This repository is about annotations themselves, not about their support in IntelliJ IDEA or any other IDE. If you feel you hit the bug in IntelliJ IDEA, please report it to https://youtrack.jetbrains.com/issues . Thanks.
When i add a new properties file to my project inside resources and name it as for example "lang1" than the BUNDLE_NAME is recognized correctly.
But if i add an ResourceBundle containing lang2_de and lang2_en and try to use its base name as BUNDLE_NAME it shows me the following error "Invalid resource bundle reference 'lang2'.
So i basically have 3 files.
lang2 is bundled into an Resource Bundle with "'base name' = lang2"
This is working:
This is not:
But if i do the same thing with java it is working ...
I am doing this for getting the information about my properties being used inside my code.
The properties are marked correctly inside the property files for both examples.
But for lang2 the strings used inside the code are all shown with inspection error "String literal 'testprop' doesn't appear to be valid property key ..."
Also see my issue at stackoverflow:
https://stackoverflow.com/questions/55915462/propertykey-cant-handle-resource-bundles
The text was updated successfully, but these errors were encountered: