Inline hints do not show in some cases, shouldn't they always be visible? (Java)
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 18
### What happened
Actually I am on 17 but this was always there, I guess is in 18 also.
Inline hints disappear when the parameter in a method use math operators like -,+, /,* , parameter has the same name or casting the data type,
### How to reproduce
just using a negative number as parameter will cause disappearance of inline hints, using e,g. 1/aNumber, or -aNumber, any basic math operator -+/* will do the same
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
windows 10
### JDK
17
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
every time
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Reproduce the issue in Apache NetBeans 17 or 18 with Java expressions such as -aNumber, 1/aNumber, and other basic operators, then trace the inline-hints editor feature from the observed behavior. Done means parameter inline hints remain visible when arguments use arithmetic operators, matching the expected behavior across the reported cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100