That gray blob right before 0. Please identify the feature, and, if possible, tell how to change the color of this hint.
I'm a fan of JetBrains IDEs, but only occasionally I use Java. Seen this feature some time ago, but totally forgot what it is :(
It is a parameter name hint. These can be disabled for that constructor with an intention (AltEnter) on the parameter itself or in Settings | Editor | General | Appearance. The color of the hint can be changed in Settings | Editor | Colors & Fonts | Language Defaults | Inline parameter hint.
Related
I'm looking to get rid off these helper texts. I do not know what they are called so I don't know what setting I need to remove. I'm sure it's just some check box that needs to be unchecked.
What are these called so that I can turn them on and off?
Settings (Preferences on macOS) | Editor | Inlay Hints | Code Vision | Usages.
enter image description here
I need to know how to change settings, so that i will be able to write as well as see the >= operator as it is. Because if I'll see this operator every day, i might not remember in future.
Preferences / Settings | Editor | Font or Preferences / Settings | Editor | Color Scheme | Color Scheme Font and disable Enable ligatures option.
When I am working in an IDE, I always see this line that visually shows the start and end of a method, for loop, if-else statement, etc:
I was wondering does anybody know what this is officially called? I would like to know this so that I can research how to implement one in my own program.
Intellij refers to these as Indent Guides and from googling that seems to be an accepted term for what you are describing.
Note:
In IntelliJ you can toggle them on and off Settings | Editor | General | Appearance | Show indent guides
The latest version of IntelliJ has introduced a new type of hint in debug mode. It looks like:
Does anybody know how to disable it?
Also: does anybody know the term JetBrains uses for this feature? I can't look up the location of the setting in the setting search box without knowing what it's called!
You may switch it off by unchecking the "Predict future condition values…" option in "Preferences / Settings | Build, Execution, Deployment | Debugger | Data Views | Java"
My IntelliJ Idea editor leaves a sort of virtual space before string arguments when functions are called (see the string "street" below):
I call it virtual because there's no character to be deleted there, but it can be seen clearly and bothers me. I'm not sure if it's a feature or a bug. I'm using the Community Edition 2016.3 on Ubuntu 16.04.
This is new feature of IDEA 2016.3 called Parameter hints. And it usually looks like:
The idea of it is that editor shows parameter hints for literals and nulls used as method arguments. These hints make code much more readable.
If you find hints redundant for a certain method, you can tell the IDEA not to show hints for this method. To disable hints completely:
uncheck Settings → Editor → General → Appearance → Show parameter name hints.
or just press Ctrl+Shift+A to open Find Action menu and type there parameter hint. Then either click Toggle parameter name hints or Appearance: Show parameter name hints menu item:
The reason why you don't see parameter names may be your UI options. Set the appearance and colors to default values.
You may have changed the code style for Java source code under File | Settings | Editor | Code Style | Java (for Windows and Linux) or IntelliJ IDEA | Preferences | Editor | Code Style | Java(for OS X).
If this is the case you have likely changed either the spacing settings for method opening braces or the spacing settings for method parameters. Just from the image I can't tell which setting is specifically causing this to happen, so could you perhaps edit in a screenshot of the your editor's current code style settings?