Everything worked fine before I renamed my old class since I messed it up too much and wanted to start again by copying everything that works.
Now I get this strange "<strong>- used</strong>" thingy when I try to call a method within the same class.
I thought it's because the old class had the same method and variable names so I renamed them all. I also renamed my new class's variables and methods but it shows this again.
I couldn't find the right terminology in order to find the answer, so if this means something else than what I thought, please enlighten me! Thanks!
Here's a screenshot:
<img alt="CLICK ME" class="b-lazy" data-src="https://i.imgur.com/Nxzj4TM.png" data-original="https://i.imgur.com/Nxzj4TM.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />Answer1:
The percentages and
- used are information provided by <a href="http://www.eclipse.org/recommenders/" rel="nofollow">Eclipse Code Recommenders</a>.
The <strong>percentages</strong> are a ranking system: some code completion proposals with a high percentage are displayed at the top. The icons of these preferred/recommended proposals are marked with a star.
used</strong> instead of a percentage value are special cases: these <strong>proposals have already been applied on the same variable</strong> in your code. This <strong>helps to avoid mistakes</strong> such as
point.setX(1);point.<strong>setX</strong>(2); instead of
point.setX(1);point.<strong>setY</strong>(2);. Also if using a getter method that requires an extensive calculation, a variable is preferable to multiple calls. See
used as a warning to choose the proposal at the current position, not as an error.