IntelliJ IDEA: What name of these markers? - intellij-idea

I don't understand this markers (between line numbers and collapse/expand markers). What words I should to google to find a documentation about it? Thanks.
updated: It is not a Gutter

It comes from Version Control plugin, the definition of colors you can find here: File | Settings | Color scheme | VCS.

That area is called the Gutter in IntelliJ speak, so you can search the settings for that term. It's typically used to show file differences when a file is under VCS control (git, svn, etc) but can also have other usages.

Related

Is there a shortcut in IntelliJ that allows you to create a boilerplate HTML file like in VSCode?

In VSCode you can basically type '!' then hit enter and you get a boilerplate HTML document. I love that feature and I wonder if IntelliJ has the same. If it doesn't how could I make it myself? I've tried macros, but it's not instantaneous it types every character one after the other. I've searched for their html shortcuts in keymap and didn't find anything of that sort. Their doc is not helpful either. Do you guys have any idea or hack on how to do that?
You can define a custom Html file template(https://www.jetbrains.com/help/idea/settings-file-and-code-templates.html) from File | Settings/Preferences | Editor | File and Code Templates.

How to show blue dot icons when files were modified with Git in PhpStorm?

How to show blue dot icons when files were modified with Git in PhpStorm IDE like this picture?
Please help me setup for this in PhpStorm IDE. Thank you so much.
PhpStorm (and other IDEA-based IDEs) does not have such dots. Instead the file name color is used to specify the VCS file status.
Default colors and their meaning can be seen here: https://www.jetbrains.com/help/phpstorm/project-tool-window.html#file_status_highlight
You can see and change those colors at Settings (Preferences on macOS) | Version Control | File Status Colors
The IDE can mark the actual folders with colors as well. There is an option for that (see https://stackoverflow.com/a/30915650/783119 for details). These days it's located at Settings (Preferences on macOS) | Version Control | Confirmation screen and is called Highlight directories that contain modified files in the Project tree.
The colors that will be used here (so you can change them if needed): Have changed descendants and Have immediate changed children.

Why are some buttons grayed out in the markdown plugin for IntelliJ?

I'm using this plugin as a markdown plugin in IntelliJ. I tried to make a quick unordered list, but the button is grayed out. In fact, most of the buttons are grayed out. The only ones available to me are simple functions like bold, italics, strikethrough, etc. Here's a screenshot for reference:
I've tried highlighting sections of text, moving my keyboard cursor around, different kinds of markdown--all without any luck of "unlocking" the lists, tables, etc. so I must be doing something wrong. Anyone know?
Enabling the enhanced features using trial license
Goto http://vladsch.com/product/markdown-navigator/try and get a trial license (which will be e-mailed to you).
Then in Intellij, goto Settings -> Language and Frameworks. I noticed that there was already a license installed for me after first installing the Markdown Navigator plugin. However, based on the available features this license is the Basic version only (and had a validity of 73 days for me).
Click on Remove License and then paste the license code that you received in the e-mail. After that you should see this:
From the comments on the official markdown plugin page, it appears that the official plugin is not very stable.
Other free options
I have found the Markdown Navigator plugin to be quite useful and well worth the 20 USD per annum fees. However, if you are looking for just that one off editing of markdown files, then there are other options as well.
The one I find most convenient is the online StackEdit for quick editing tasks:
Best of both the worlds
If your work involves a bit more frequent editing of markdown files and you are averse to paying the licensing fees for for the Markdown Navigator, then with just a bit of work, it's possible and comes close to the convenience of using the Markdown Navigator.
Step 1 - Add an external editor of choice
I have used Typora as an example here, however there are others like Write (Freemium), ReText (Open Source) which can be used in a similar manner.
Here is how to add Typora as an external tool in Intellij Idea:
Note that $Filepath$ should be quoted as "$FilePath$" if there are likely to be spaces in your project path. Would recommend quoting nonetheless.
Also, note that the Group was set to Markdown Editors. This is significant as the Group name will be the name of the Menu item later on.
Step 2 : (Optional but recommended) Add a keyboard shortcut for Typora
Step 3 : Use the external editor!
Typora will now be available both using the keyboard shortcut or using Tools -> Markdown Editors (Remember that Markdown Editors was the name of the group in Step1?)
The following shows using both the keyboard shortcut and the menu item:
Note that, thanks to Intellij's auto-reload/refresh, as soon as you are done editing in Typora and focus the file (Readme.md in the above), the changes are automatically reflected there.
Kind of Enhanced Features will be available only if you have license.
In IntelliJ File | Settings | Languages & Frameworks | Markdown in License Information section you can buy it or use free trial for 15 days.

Change contrast in PhpStorm

I don't know, it may be off topic question. I am using Darcula theme in PhpStorm. I need to add more contrast (darker background, brighter text) in PhpStorm.
I googled a lot but I could not find appropriate answer for changing that. Is there any way to do that?
While this post is dated, searching for an answer to what I believe to be a similar problem brought me here. In my case I could not easily read the line numbers on my display. The contrast was too weak.
I will answer this with the steps I took as it may help others who stumble onto this:
To configure it I opened Settings/Preferences dialog, and under the Editor node, clicked Colors & Fonts and then the General section. In this section I was able to find Code => Line number (in my case). In the case of the OP the section will be Text => Default text.
There you can change the colors and contrast directly to your liking.
#Dom: Thx for your answer. It helped me to enhance the contrast.
In the IntelliJ IDEA 2018 Version you can find this under:
File > Settings > Editor > Color Scheme > General
From there choose:
Text > Default Text

IntelliJ idea - any way to change visual line wrapping icon?

I really like Intellij's line wrapping feature with icons marking line wraps. Hovewer the default wrapping icon's readability is far from ideal.. is there any way I could fix this little problem?
Current solution is to use standard unicode symbols from supplementary arrows set: 2925 and 2926.
You can modify that by specifying other unicode (hex) codes via idea.editor.wrap.soft.before.code and idea.editor.wrap.soft.after.code properties in idea.properties file. Note that it's necessary to define both symbols, e.g. add to the idea.properties something like below:
idea.editor.wrap.soft.before.code=2906
idea.editor.wrap.soft.after.code=2907
Note that not all the fonts contain all the Unicode characters, so you have to choose the proper font in Settings | Editor | Colors & Fonts and specify the symbol code that exists in the font that you are using.
To clarify what CrazyCoder said:
On a Mac, you'll need to go into finder and "show package contents" on the Intellij IDEA.app, then you can add lines to the idea.properties file in the "bin" folder. Here's the arrow codes I went with:
idea.editor.wrap.soft.before.code=219e
idea.editor.wrap.soft.after.code=21a0
Don't forget, you can also change their color in the program's preferences under "editor > colors and fonts > general > soft wrap sign".