IntelliJ - code with "expand all" by default - intellij-idea

Question please on IntelliJ.
Currently, IntelliJ "folds" code that are one liners. Something like:
public String getFoo() { return foo; }
A insist, it is just a visual. On the file itself, it is not folded, just on the visual of the IDE.
public String getFoo() {
return foo;
}
On Mac, on each start of IntelliJ, I am currently selecting all files and pressing "shift" + "command + "plus sign +" to expand all files.
Is there a way to have by default files with expand all?
Thank you

Disable these settings:
Settings (Preferences on macOS) | Editor | General | Code Folding | Simple property accessors
Settings (Preferences on macOS) | Editor | General | Code Folding | One-line methods

Related

What is this empty non-numbered row in IntelliJ?

What is this empty non-numbered row in IntelliJ? How can it disable me? Class should be on line 3.
Disable "Preferences | Editor | Inlay Hints | Code Vision"
We are working on the fix already: https://youtrack.jetbrains.com/issue/IDEA-290051/Code-Vision:-inlay-consumes-vertical-space-in-the-editor-even-wh

IntelliJ doesn't automatically break line

I'm having issues with IntelliJ automatic Reformat Code on one specific line of code:
catch (MyException1 | MyException2 | MyException3 | MyException4 | MyException5 | MyException6 | MyException7 | MyException8 e) {
I have set in Editor -> Code Style Hard wrap at 140
In Editor -> Code Style -> Java -> Wrapping and Braces everything is either Chop down if Long or Wrap if long
Now, the issue is that running Code -> Reformat Code doesn't break this line into 2 automatically (it should as it exceeds 140 characters). And what's worse, if I break it manually, then Reformat Code will bring it back to one line. As I have the Line Length inspection on, IntelliJ complains about this line.
This is the only line in the whole project where IntelliJ has this problem, all other expressions containing + or || etc. are correctly wrapped.
Wrapping or chopping down multi-catch types is not supported on IntelliJ IDEA 2021.3 and below. IntelliJ IDEA 2022.1 will support this. See https://youtrack.jetbrains.com/issue/IDEA-178941

How to show method argument hints all the time in IntelliJ IDEA?

IntelliJ Idea hints/shows method parameter names when I type hardcoded value, however, when I write a variable instead, it doesn't show the hint.
As you can see here, it says expected before 50, but there is no hint before creditor.getAvailableFunds() method.
How to enable these hints all the time?
Configure it with the Settings (Preferences on macOS) | Editor | Inlay Hints | Java | Non-literals in case of multiple parameters with the same type option:

Intellij IDEA 2018.1 - Disable simple comment folding

Using IntelliJ 2018.1 I noticed that on certain files multi-line simple comments are always folded:
// My multi
// line
// comment
becomes
//...
How do I turn it off? I need to always see my comments.
Settings | Editor | General | Code Folding | [ ] End of line comments sequence

How do I stop PyCharm from autocompleting class methods?

When I type:
def method(, PyCharm jumps in with def method(self):. I would like to disable this behaviour.
The option is located at:
Settings > Editor > Smart Keys > Insert Self...
EDIT: As of pycharm 2017.1 it's under File -> Settings -> Editor -> General -> Smart Keys
Go to File > Settings (or Ctrl+Alt+S) > [IDE Settings] > Editor > Code Completion.
The "Autopopup code completion" setting will determine if the popup opens automatically. Below it, the "Insert selected variant by typing dot, space, etc." is likely the setting you want to turn off.
In PyCharm 2017.1
File -> Settings -> Editor -> General -> Smart Keys -> "Insert 'self' when defining a method"