Disable duplicate key error for property files

Hello,

is there a way to disable the "Duplicate property key" error message when using the property support plugin? I can not find any option for that. Or is the uniqueness of a property key needed for IDEAs property support?

Thanks!
Matthias

3 comments

Looks like there's no such option. Request is welcome: http://youtrack.jetbrains.net

0

Yeah I just encountered this problem in velocity.properties

Apparently they don't adhere to standards, and define 'introspector.restrict.classes' multiple times:

introspector.restrict.packages = java.lang.reflect

# The two most dangerous classes
introspector.restrict.classes = java.lang.Class
introspector.restrict.classes = java.lang.ClassLoader

# Restrict these for extra safety
introspector.restrict.classes = java.lang.Compiler
introspector.restrict.classes = java.lang.InheritableThreadLocal
introspector.restrict.classes = java.lang.Package
introspector.restrict.classes = java.lang.Process
introspector.restrict.classes = java.lang.Runtime
introspector.restrict.classes = java.lang.RuntimePermission
introspector.restrict.classes = java.lang.SecurityManager
introspector.restrict.classes = java.lang.System
introspector.restrict.classes = java.lang.Thread
introspector.restrict.classes = java.lang.ThreadGroup
introspector.restrict.classes = java.lang.ThreadLocal
0

Please sign in to leave a comment.