How do I remove the git banner from the CLion editor? - ide

I don't know where I should ask for this. But I am trying to toggle/turn off this annoying git banner that appears at the left side of the CLion's editor.

If I'm getting you correctly then it's the following functionality:
Track changes to a file in the editor
You can also track changes to a file as you modify it in the editor. All changes are highlighted with change markers that appear in the gutter next to the modified lines, and show the type of changes introduced since you last synchronized with the repository. When you commit changes to the repository, change markers disappear.
To disable VCS markers in the gutter, deselect the Highlight modified lines in gutter option at: Settings (Preferences on macOS) | Version Control | Confirmation.
https://www.jetbrains.com/help/clion/set-up-a-git-repository.html#track_changes

Related

Intellij doesn't show gutter highlights for code line changes?

In Intellij Idea by default when a line of code changes, in left gutter it shows color to reflect that change. The problem is by changing lines the gutter doesn't change at all. I am using SVN as a version controller, and can do update and commit.
Just an update. In IntelliJ IDEA 2021.3, this option is in Preferences -> Version Control -> Confirmation | Gutter. See image below:
Make sure you have the Highlight modified lines in gutter option enabled in Settings | Editor | General -> Other.

How to enable sidebar changelog in WebStorm?

Today I added Material Theme plugin to WebStorm and I believe this is the reason behind changelist not appearing on the sidebar.
To be precise, this is what happens in IntelliJ when I make change to a specific line of code and click on the yellow bar that appeared after I removed the semicolon:
The change I made can also be seen under VCS -> Local History -> Show History menu option, which shows the diff between the previous and current version of that file.
However, performing the same action in WebStorm doesn't show the changelist/diff on the sidebar:
which means that the only way I can see it is by going to VCS -> Local History -> Show History which is very tedious:
I found being able to quickly revert/lookup the changes on the fly by clicking on that coloured bar really handy, could someone tell me if there is a setting in the IDE that enables that? I looked up and down but couldn't find anything relevant, perhaps I wasn't looking for the right keyword.
Thanks in advance.
Change markers are there for me when using Material UI plugin. Do you have Highlight modified lines in gutter enabled in Settings | Editor | General?

Is there a way to highlight text inserted since the last commit in IntelliJ in the Editor?

I'm talking about getting the same effect you get when you commit/merge/diff and are reviewing your changes.
I would like to have code I added to be highlighted. Right now if you go under VCS, Editor Gutter and VCS annotations, both of them have Foreground disabled. I was wondering if there was a way around this.
There is an IntelliJ plugin called Git Scope that provides the functionality you are looking for.
You can install it by going to Settings > Plugin > Marketplace and searching for "Git Scope".
This is not possible without an additional plugin (see the other answer). With any plugins, your current VCS changes are shown with markers in the gutter.

Intellij VCS auto update on application start

Any idea if it's possible to update my project when I open Intellij?
I found the VCS background configuration but none of the options seems to do the trick.
I don't think this is possible. You have to manually pull to fetch changes. There is a button in the top right-hand side with a blue arrow and the word VCS on it. A few fewer clicks than using the menu pull downs.

Change background color of highlighted HTML elements

When I hover the mouse on a HTML tag in the tiny bar under the file tab, the background of the highlighted element is very bright, and the text becomes unreadable.
I couldn't find a way to customize this in the settings, can somebody help?
Here's what I mean:
It uses your caret row color (it just automatically makes it lighter so it's more visible) and not some separate style which you can disable/modify.
ATM there is no option to disable such behaviour. I mean -- IDEA-139930 ticket is fixed, but not available in 141.xx branch that PhpStorm is currently built on.
If it annoys you a lot then right now I may only suggest to disable that breadcrumbs bar altogether until PhpStorm will move to 142.xx or newer branch. For that: Settings (Preferences on Mac) | Editor | General | Appearance | Show HTML breadcrumbs (you will have to close and reopen that file to see the changes).
You should post more info about specification: exact version of PhpStorm etc.
Try this:
https://www.jetbrains.com/phpstorm/help/configuring-colors-and-fonts.html