I used IntelliJ IDEA before 4 or so years ago when I was working with Android and then switched back to Eclipse. And I felt that I came back to the stone age.
What stopped me from continuing on IntelliJ is that I use IBM Jazz at work which is not supported well by our team. And everybody uses Eclipse so I decided to follow the crowd.
Eclipse is a nice Java IDE, but I have some behaviours that I don't like which drove me to migrate to IntelliJ IDEA.
Nowadays I wanted to create JAX-RS Rest application, but Eclipse insisting that this is an EJB project and keep adding ejbModule source-based structure, and at this point, I felt It is it. Eclipse I am breaking with you :P.
I am using the community edition from IntelliJ because I don't need the "Enterprise" features of an IDE (like Create new Servlet, or EJB, or deploy to JBoss or Tomcat), I just use shell scripts to do the deployment myself, and it works on both *nix and M$ Windows platforms :)
Still, I use Eclipse just to use the powerful plugin written for Jazz Source code management. (until I figure out how to use jazz from inside IntelliJ)
And for green-field projects, I use spring boot of course (When I have the option :) )
Showing posts with label intellj. Show all posts
Showing posts with label intellj. Show all posts
18 November 2017
07 May 2014
Obtain the best look ever for Intellj on Linux
(1) install freetype
$ sudo apt-get install libfreetype6
(2) install infinality patch (https://launchpad.net/~no1wantdthisname/+archive/ppa)
$ sudo add-apt-repository ppa:no1wantdthisname/ppa
$ sudo apt-get update
$ sudo apt-get install fontconfig-infinality
I had to do the following afterwards:
$ sudo rm /etc/fonts/conf.avail/52-infinality.conf
$ sudo ln -s /etc/fonts/infinality/infinality.conf /etc/fonts/conf.avail/52-infinality.conf
To use Windows 7 like font rendering do the following:
$ sudo /etc/fonts/infinality/infctl.sh setstyle osx
Set USE_STYLE to "osx" in /etc/profile.d/infinality-settings.sh
(3) install font fixed OpenJDK (https://launchpad.net/~no1wantdthisname/+archive/openjdk-fontfix)
$ sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
To use this JDK only for IntelliJ, prepend this line to bin/idea.sh:
IDEA_JDK="/usr/lib/jvm/java-1.7.0-openjdk-amd64"
(4) JVM options
Add the following options to the .vmoptions file of IntelliJ
-Dawt.useSystemAAFontSettings=lcd
-Dswing.aatext=true
(5)
Perform a reboot
(6)
See the result with default Darcula theme in attachment.
Hope this helps someone!
Source:
http://youtrack.jetbrains.com/issue/IDEA-57233#comment=27-472038
BTW, I've tried this on Idea 13.1 on Ubuntu 14.04 and it works like a charm ... here's an screenshot ..
$ sudo apt-get install libfreetype6
(2) install infinality patch (https://launchpad.net/~no1wantdthisname/+archive/ppa)
$ sudo add-apt-repository ppa:no1wantdthisname/ppa
$ sudo apt-get update
$ sudo apt-get install fontconfig-infinality
I had to do the following afterwards:
$ sudo rm /etc/fonts/conf.avail/52-infinality.conf
$ sudo ln -s /etc/fonts/infinality/infinality.conf /etc/fonts/conf.avail/52-infinality.conf
To use Windows 7 like font rendering do the following:
$ sudo /etc/fonts/infinality/infctl.sh setstyle osx
Set USE_STYLE to "osx" in /etc/profile.d/infinality-settings.sh
(3) install font fixed OpenJDK (https://launchpad.net/~no1wantdthisname/+archive/openjdk-fontfix)
$ sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
To use this JDK only for IntelliJ, prepend this line to bin/idea.sh:
IDEA_JDK="/usr/lib/jvm/java-1.7.0-openjdk-amd64"
(4) JVM options
Add the following options to the .vmoptions file of IntelliJ
-Dawt.useSystemAAFontSettings=lcd
-Dswing.aatext=true
(5)
Perform a reboot
(6)
See the result with default Darcula theme in attachment.
Hope this helps someone!
Source:
http://youtrack.jetbrains.com/issue/IDEA-57233#comment=27-472038
BTW, I've tried this on Idea 13.1 on Ubuntu 14.04 and it works like a charm ... here's an screenshot ..
Display apps on unity launcher
If you have app and want to display it when search in unity launcher... you need to add an entry for it in `/usr/share/applications`
example:
/usr/share/applications$ cat idea.desktop
[Desktop Entry]
Version=13.1
Name=Intellj Idea
Exec=/home/mhewedy/disk/programs/idea-IC-135.480/bin/idea.sh
Icon=/home/mhewedy/disk/programs/idea-IC-135.480/bin/idea.png
Terminal=false
Type=Application
Actions=
Categories=Programming
Actions=Profile;Tray;
Keywords=idea;java;intellj;ide # keywords to search with to find the app, very important
That's all!
example:
/usr/share/applications$ cat idea.desktop
[Desktop Entry]
Version=13.1
Name=Intellj Idea
Exec=/home/mhewedy/disk/programs/idea-IC-135.480/bin/idea.sh
Icon=/home/mhewedy/disk/programs/idea-IC-135.480/bin/idea.png
Terminal=false
Type=Application
Actions=
Categories=Programming
Actions=Profile;Tray;
Keywords=idea;java;intellj;ide # keywords to search with to find the app, very important
That's all!
06 September 2013
Subscribe to:
Posts (Atom)