-
|
Is there a way to configure JDTLS to ignore restricted types Try putting this: org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore
org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
into .settings/org.eclipse.jdt.core.prefs in your project's workspace. or at least lombok.var? I don't think that's possible |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
{{title}}
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a project that uses wildcard imports and Java var keyword for defining variables.
statement like import lombok.*; cause jdtls to resolve lombok.var, which is a restricted type.
All Java var keywords are then misunderstood.
Is there a way to configure JDTLS to ignore restricted types, or at least lombok.var?
Beta Was this translation helpful? Give feedback.