I would like to have my keywords (new, class, etc) be in italic, while the rest of my code remains standard.
Is there any way to do this in JetBrains IDEs, such as IntelliJ?
Settings > Editor > Color Scheme > Java
Related
How can I show some symbols as special characters in the IntelliJ editor (for the Rust and Java languages), for example -> as →?
You are searching for font ligatures.
In writing and typography, a ligature occurs where two or more graphemes or letters are joined as a single glyph. An example is the character æ as used in English, in which the letters a and e are joined.
IntelliJ supports this by default in the Settings -> Editor -> Font -> Enable font ligatures:
Fonts supporting ligatures I'm aware of are:
Fira Code
Iosevka
Hasklig
PragmataPro
monoid
Ligaturizer
You're going to want to use a font which supports ligatures, such as Fira Code: https://github.com/tonsky/FiraCode
Enable in Settings → Editor → Color Scheme → Color Scheme Font → Enable Font Ligatures. Select Fira Code as "Primary font" under Settings → Editor → Color Scheme → Color Scheme Font → Font.
It worked for me to do the following within the IntelliJ settings
Is it possible to use multiple fonts in code editor on IntelliJ?
I've recently fell in love with Fira Code font, and want to use it FlottFlott, as explained here, which is something possible with editors like Atom and Sublime Text. But I couldn't find anything on IntelliJ.
How can I change the editor colors of angular.js framework in intellij IDEA or WebStorm IDE ?
Take a look at these colors (IDEA screenshot):
You can see that ng-controller has the same color as data-attribute BUT their values have different colors (highlighting). So it is true that the IDE recognize angular.js directives and distinguish their syntax from regular html attributes. I want to be able to control this syntax colors highlighting. I can't find anything related to angular.js inside Settings->Editor->Font & Colors?
For example, Netbeans do it this way (Netbeans screenshot):
so i just spent some time fussing over why my String.split call in scala failed - i was trying to split on a tab.
Problem wasn't what i was doing, but rather the fact that intelliJ changes tabs to spaces. Fair enough, but can i tell intelliJ to not do that for some files - like say random text files I might be using for test/learning purposes?
First, I would turn on Settings > Editor > Appearance > Show whitespaces, that way you're SURE what white space characters are there.
Next, under Settings > Code Style > General there should be a Use tab character check box. This says "use tabs for anything that's not Java, Scala, HTML, etc.". Just make sure Java, Scala*, etc. Use tab character setting is set to what you want.
Unfortunately, I don't know of any way to be more fine grained with what file types do and do not use tabs vs. spaces.
*I'm assuming the IntelliJ Scala plugin adds a tab in Settings > Code Style.
Can I change Gherkin formatting style in specflow? How can I do this?
Given (ha!) this is the top google result, here where the settings are:
Tools > Options > Environment > Fonts and Colours > Text Editor > Gherkin *
Not really sure what you ask here, as pointed out by Roman, but there is a settings dialog in Visual Studio where you can tweak the formatting and colors.
See this for more information