02-05-2021



Theme

In this tutorial, I will share a simple way how to run Cmder in PhpStorm 2017 on Windows 10. One may wonder why I want to run Cmder instead of default Windows terminal, right?

Themes PhpStorm Themes & Color Styles. Sublime Text 2’s Monokai for most Jetbrains IDEs. Under development. ©2013 - 2020 phpstorm-themes.com.

Running the default terminal/console on Windows is not really a pleasant experience for programmers. Luckily we have Cmder; a software package created out of pure frustration over the absence of nice console emulators on Windows.

It is based on amazing software, and spiced up with the Monokai color scheme and a custom prompt layout, looking sexy from the start. In short, you may consider Cmder as one of the best terminal alternatives on Windows.

Phpstorm Monokai

Read more on Cmder here.

The Look and Feel

This is how the normal terminal looks like in PhpStorm 2017 on Windows.

And, this is how Cmder looks like in PhpStorm on Windows 10.

The git branch will be automatically highlighted in Cmder. This is one of the reason why Cmder is better than default terminal on Windows 10.

So how to run Cmder in PhpStorm 2017?

The Steps

#1 Add a new environment variable into your Windows via the Control Panel.

Find your Cmder root folder and save it into CMDER_ROOT variable. Please note that i’m using the Cmder inside Laragon.

#2 Update your terminal setting inside PhpStorm. Change the shell path from cmd.exe as follows:

That’s all. Now you may restart your PhpStorm. Your terminal should be using Cmder. Have comments /questions about this tutorial? Put your comments below.

You may be interested in:

Original http://color-themes.com/?view=theme&id=5ad9a16f50544f1700232b73some new colors for debug and kotlin variables

Phpstorm Monokai Theme

Generic

Phpstorm Monokai Pro

publicclassDemo{privatestaticfinalStringCONSTANT='String';privateObjecto;/*** Creates a new demo.* @param o The object to demonstrate.*/publicDemo(Objecto){this.o=o;Strings=CONSTANT+'Other';inti=123;}publicstaticvoidmain(String[]args){Demodemo = newDemo();}}

HTML

Phpstorm
<!DOCTYPE HTML PUBLIC'-//W3C//DTD HTML 3.2//EN'><!-- Sample comment --><HTML><head><title>IntelliJ IDEA</title></head><body><h1>IntelliJ IDEA</h1><p><br><b><IMGborder=0height=12src='images/hg.gif'width=18> Hello&nbsp;World! &#x00B7;&Alpha;</b><br><br></body></html>

Ruby

require'test'CONSTANT=777# Sample commentclassModule::ClassincludeTestcaserender:action=>'foo'deffoo(parameter)@parameter=parameterendlocal_var=eval<<-'FOO';printIndex'Hello world!'And now this is heredoc! printIndex 'Hello world again!'FOOfoo('#{$GLOBAL_TIME>>$`} is Z sample 'string'*777);if($1=~/sample regular expression/ni)thenbeginputs%W(sample words),CONSTANT,:fooo;do_something:action=>'action'endexpect{counter[0]}.to_beeq11.upto(@@n)do|index|printIndex'Hello'+indexendendend