IntelliJ IDEA underlines variables when using += in JAVA
问题 Since the new update (2018.2) IntelliJ IDEA underlines variables, when they are "unnecessarily" reassigned - this includes, however, each use of "+=". Is this a mistake in the IDE or am I getting it wrong? Please see this basic method as an example. (It just adds a list of numbers.) 回答1: It's a new feature of IntelliJ IDEA 2018.2: Underlining reassigned local variables and reassigned parameters IntelliJ IDEA now underlines reassigned local variables and reassigned parameters, by default. The