How to get BranchesPane in Intellij Idea? - intellij-idea

I have a project opened in IntelliJ and Git is also enabled for the project. What is the issue I am facing is, according to the following image, the red "branch pane" is missing from IDE and the only thing I see is the green area.
And also I see the blue area instead of "Git" it is showing "Version Control". So I need to know how I can get the branch pane back like the attached image.

Your IntelliJ IDEA is too old, it does not have this feature. To show the branches pane you need at least IntelliJ IDEA version 2020.1.

Related

Intellij Complete - Editor Tabs not formatted

I just downloaded the Complete version of IntelliJ,
I imported my settings from the community version.
I checked in the editor tab settings, nothing craz going on.
I tried changing the position but still it had issues...
But my editor tabs are not showing correctly, cany anyone help?
Ahh, this was fixed with an update to the Materials Plugin. Make sure to keep updated!

Intellij documentation pop up does not work properly

Despite that I have ticked the "auto-display documentation" and tried inputting different numbers in "ms" box - I still have to press CTRL+Q to see the documentation. How to make it work?
Also if I click CTRL+Q to show documentation pop up manually - the pop up is too small. Can I make it bigger by default to contain all the text?
IntelliJ IDEA 2018.1 (Ultimate Edition) Build #UI-181.4203.550
Linux Mint 18.3 Sylvia, Cinnamon 64-bit
Sounds like you want this setting:
Settings > Editor > General
> Show quick documentation on mouse move
And to make the documentation pop-up text larger:
Click the gear icon in the top-right corner of the pop-up, there is a setting there.
It seems there is a bug. If you open the settings via the gear icon and tick the show toolbar it will work again (at least I was able to reproduce it and this fixed it for me).
I don't have issues with the size (I'm on mac) using IntelliJ IDEA 2018.1.2 (Ultimate Edition) Build #IU-181.4668.14.
You can create an issue on their issue tracker here: https://youtrack.jetbrains.com/issues/IDEA.
For more info about reporting issues, see: https://www.jetbrains.com/help/idea/reporting-issues.html
Update for IntelliJ 2018.2:
The code completion in IntelliJ IDEA continues to evolve, and now the IDE shows both all the possible auto-completions and Javadoc, at the same time (without the need to directly invoke Javadoc each time). Please be aware that you need to actually enable this cool new feature. Go to Preferences | Editor | General | Code Completion and turn on the Show the documentation info pop-up in… options.
(more info here: https://blog.jetbrains.com/idea/2018/05/intellij-idea-2018-2-early-access-program-is-open)

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.

Display Gradle output in console in Intellij IDEA 2016.1.1

When running Gradle task from IDEA:
console output looks like:
As one can see, bootRun task failed. But I can't find the reason of the fail.
Is there a way to make Gradle output be displayed in Intellij Console when starting tasks from Gradle window?
You can click the icon marked in the image bellow
Toggle tasks executions/text mode
That will switch to the console log of your build and you can see what went wrong.
UPDATE: As of 2019.2.3, you don't need to toggle task/console view as you can see now both at the same time:
In IDEA 2019.2.3 the icon has change. See circled icon in image:
Alright, I know it's so obvious that you don't need to tell about it.
But I've spent the whole day not getting what's going on)
If you cannot find logs, and see only Gradle steps, probably you just have to expand the logs window. Somehow it was minimized without my notice.
Added a screenshot just in case. Just drag the mouse pointer to the left on the spot circled in red.

IntelliJ - show where errors are

Is there a way to make IntelliJ mark error locations continuously for the files you are working on in the similar manner as Eclipse does? At the moment I need to make the project which lists all the errors in the message panel, but even then I cannot navigate to them using the editor panel. I would like to have simple dots/markers which would point to error/warning locations.
IntelliJ IDEA detects errors and warnings in the current file on the fly (unless Power Save Mode is activated in the File menu).
Errors in other files and in the project view will be shown after Build | Make and listed in the Messages tool window.
For Bazel users: Project errors will show on Bazel Problems tool window after running Compile Project (Ctrl/Cmd+F9)
To navigate between errors use Navigate | Next Highlighted Error (F2) / Previous Highlighted Error (Shift+F2).
Error Stripe Mark color can be changed here:
For those who even yet have the problem, try enabling "Build project automatically" in the Java compiler settings and see if that makes a difference as it worked for me.
I ran into the problem of not having set my sources root folder (project window--right click folder, mark directory as > sources root). If you don't set this IDEA doesn't parse the file.
For IntelliJ 2017:
Use "Problem" tool window to see all errors.
This window appears in bottom/side tabs when you enable "automatic" build/make as mentioned by #pavan above (https://stackoverflow.com/a/45556424/828062).
To access this Problems panel, you must set your project to build automatically. Check the box for Preferences/Settings > Build, Execution, Deployment > Compiler > Build project automatically.
Frankly the errors are really hard to see, especially if only one character is "underwaved" in a sea of Java code. I used the instructions above to make the background an orangey-red color and things are much more obvious.
In IntelliJ Idea 2019 you can find scope "Problems" under the "Project" view. Default scope is "Project".
Besides, you can choose going to next error only (ignore warning) by:
Right click the Validation Side Bar.
On the context menu, choose the Go to high priority problems only
it works for Intellij Idea 12
In my case, I unknowingly unchecked 'Error Stripe Mark' option (Idea 2018.2: Settings > Editor > Color Scheme > General and expand `Error and Warnings' & click 'Error').
Fix is to check 'Error Stripe Mark' option of 'Error' (as highlighted in the below image). Now you will see the error marks in scrollbar area.
In my case, IntelliJ was simply in power safe mode
Do you have a yellow icon like this [_] at the bottom of the main window?
It is a "type-aware highlighting" switch which could be disabled accidentally.
You should re-enable it by clicking on the icon.
In the intellij hit ctrl+alt+shift+s and go to global libraries and click on plus icon to add the java libraries this will solve your problem. now you will see the errors coming up
enter image description here
This is the solution I found:
Open IntelliJ Setting (Crtl + Shift + A);
Click in "Editor";
Click in "Color Scheme" + the Programming Language (inside "Color Scheme");
Select "Analysis Error";
Select "Error stripe mark" + Add the Color desired