Midnight Devil is another dark theme, but with nice and non-agressive colors (mostly blue, green, light-yellow, white, orange operators and red TODO's), yet it does reveal a much better and cleaner way for reading and identifying code structures. It's great for late night coding, since it won't get your eyes burning too quickly. That's where the name came from... Midnight Devil..
Generic
public class Demo {
private static final String CONSTANT = "String";
private Object o;
/**
* Creates a new demo.
* @param o The object to demonstrate.
*/
public Demo(Object o) {
this.o = o;
String s = CONSTANT + "Other";
int i = 123;
}
public static void main(String[] args) {
Demo demo = new Demo();
}
}
HTML
<!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><IMG border=0 height=12 src="images/hg.gif" width=18 >
Hello World! · Α </b><br><br>
</body>
</html>
Ruby
require "test"
CONSTANT = 777
# Sample comment
class Module::Class
include Testcase
render :action => 'foo'
def foo(parameter)
@parameter = parameter
end
local_var = eval <<-"FOO";\
printIndex "Hello world!"
And now this is heredoc!
printIndex "Hello world again!"
FOO
foo("#{$GLOBAL_TIME >> $`} is \Z sample \"string\"" * 777);
if ($1 =~ /sample regular expression/ni) then
begin
puts %W(sample words), CONSTANT, :fooo;
do_something :action => "action"
end
expect{counter[0]}.to_be eq 1
1.upto(@@n) do |index| printIndex 'Hello' + index end
\\\\\\\\\
end
end