What is the official term for vertical line that connects code - intellij-idea

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

Related

PhpStorm IDE: Keyboard Home/Pos1 should move caret to real beginning of the line (character position 0) instead of the beginning of the first word

I'm in the process of switching (with some specific PHP production context) from Sublime Text(4x) to PhpStorm (2022.2).
I am of course trying to migrate as many features/habits as possible, as identical as possible to my new environment. Many things I have managed to do but I have a showstopper when it comes to using/keymapping the Home-/Pos1-Button as I was used to.
What I want:
Being somewhere in a line of (PHP) code I want to press the Home-/Pos1-Button to immediately get to the (really) first character(0) of the line which is the widespread default behaviour of that key.
What I get (problem):
When I hit that button once PhpStorm IDE moves the caret to the beginning of the first word/non-whitespace character of the current line and I need to hit the key again to really get to the beginning of the line. I have tried a couple of things but I get the feeling this is "intended" non-configurable behaviour...
Any help would be greatly appreciated.
I tried googling and configuring Settings > Editor > Keymap in many ways but did not succeed...
Go to Settings (Preferences on macOS) | Editor | General | Smart Keys | Home moves caret to first non-whitespace character -> disable.

How to find the name for indentation of object-attributes in .tsx-file in PhpStorm

I'm editting a .tsx-file and are reaching upon this bonkers file-formatting:
... If I enlarge the window a bit, then it makes more sense:
But I would still like to change it, so value and onClick aren't aligned all that way to the right. Ideally, it would try to align them with the opening bracket (as they do), unless the opening bracket is more than 35 characters, from the line start. Or something like that.
Now, I assume that it's the TypeScript-formatting that dictates the Code Style for a .tsx-file. But when I open the settings: Editor >> Code Style >> TypeScript then there are BAZILLIONS of settings.
Which leads me to three questions:
Does anyone know what I need to change, so object-attributes doesn't follow the opening-brackets width?
Could I find the name of what I'm looking for, in some smart way? I tried hovering over the massive space, hoping that the little yellow light-bulb could shine some light on, what I was after.
Are there any presets, to be found somewhere? So I don't need to engineer a new Code Style, if I dislike the default.
Make sure that the following option is disabled:
Settings (Preferences on macOS)
Editor | Code Style | TypeScript | Wrapping and Braces
Function call arguments: Align when multiline
NOTE: It is possible that the default value has been changed somewhere since the previous version as I have seen a few questions for the same option but different language (PHP and JavaScript).
HINT 1: Did you know that you can paste your own code in the preview area and start changing options to see how they will affect it? It helps locating the right option a lot.
HINT 2: There is a special popup that shows formatting rules applied to the code. It does not show all possible options but can give you a hint what to look for. To invoke it:
Use Help | Find Action... (or Action tab on Search Everywhere -- they use to be different popups but are using the same popup nowadays)
Type adjust to filer actions
Select and invoke "Adjust code style settings" action
It will give you a popup with applicable rules (it's a limited set: may not list all).
An example for PHP code:

How to hide path location in Run Window in Pycharm?

Today is my first day with Python and I started Using Pycharm Community edition in my Mac. This IDE is really good but one thing annoyed me a lot.
Is there any way I can remove the whole path from showing every time I run a program?
Wanted to remove this Path :
/Users/rajvivan/PycharmProjects/Python/venv/bin/python /Users/rajvivan/PycharmProjects/Python/App.py
Would just like to see the exact responses from the program:
First Day in Python
Hello, World!
There is no option to hide it completely, you can only make it appear folded by adding a pattern like /bin/python in File | Settings | Editor | General | Console, Fold console lines that contain.
In watching the Bro Code channel on Youtube, he changed the font color of the file path so that it's camouflaged. His words not mine just thought I'd share. I can't find the exact area that he's referring to as of yet so if someone else see's it, please share for the rest of us.
Thank you
Based on Bro Code's response I believe the attached is what he was referring too. This is what I came up with. If you goto Help>Find Action>output you'll see Console//System output. Change/Camouflage the color codes as in the picture. Hopefully this works for others.
If you copy the path into
File | Settings | Editor | General | Console`
and paste it as new Fold console lines, it will hide the line as <1 internal line>.

How to find the commented code in IntelliJ IDE?

Does anyone know a way to search for all (and only) the commented code across all classes in a java project?
For example, using "Find in Path" to search for "//" is not what I want because it also returns URIs (http://......). I want a specialized way to do that.
Thanks in advance.
You can use Structural Search in IntelliJ IDEA.
Below screens as for the version 2019.1.1 (Ultimate Edition) (Works for IntelliJ IDEA 2020.3 too)
Go to Edit > Find > Search Structurally...
File type should be Java and select any path wherever you like to search.
From the top right corner click on gear icon and click on Existing Templates...
Then from Java > Comments, Javadoc and Metadata select comments
Then it will add /* $CommentContent$ */ to the Structural Search window as for the first screenshot.
This will find all the commented code (including Javadoc) from the selected path.
For more info refer : Structural search and replace
About the best you could do would be the Find In Path and use a REGEX of:
^//
That will fix your http:// problem. But it won't find comments that don't start at the beginning of a line. I suppose you could write a much more complex REGEX to find "//" but not proceeded by http: But of course comments can be in /* */ blocks too. So it all depends on how absolute you want to get.
As of intellij 2020.3, there is an inspection for commented out code in java:
Java | Code maturity | Commented out code
So if you want a list of commented out code, you can:
right+click your project, module, subfolder, directory or file where you want to search.
click analyze > inspect code
Click OK
This should open the inspection result window where all your commented out code will be grouped under Java | Code maturity | Commented out code :
If you don't want intellij to search for other issues too, you can create a new profile in File | Settings | Editor | Inspections exactly for that and select it in the analyze dialog.

Increase size of PhpStorm error squiggly line (underwave)

Stupid tiny thing.
PhpStorm is great but when I cut and paste code sometimes I leave off a ; or a } or sometimes I have another dumb problem. PS is good at finding these trouble is it uses a fine underwave which is quite difficult to see. I know all about F2 going to next error etc. I would just love to be able to make the error pointer more obvious so I can just look at the screen and see it - a bright red highlight over the missing character or whatever. (Spot the missing ; below.)
I have trawled SO and the rest of the Interweb and have spent ages in Settings but cannot find anyway to beef this up. Any ideas where the setting for this might be?
EDIT: Just in case anyone comes this way again this is what a missing semicolon looks like now. Basically I never forget the closing semi colon or { as I have a great big red light shining in my face - perfect for a typing clutz like me.
(If you found this useful please uptick - but there seem v few phpStorm Troopers here.)
Settings/Preferences | Editor | Colors & Fonts
General | Errors & Warnings
Choose the right style (e.g. Error or Warning) and change its settings.
You will not be able to make underwave bolder, but you can choose more brighter color (which may look a bit bolder to human eye) or change underwave to another style.