Unable to use IntelliJ IDEA keyboard shortcuts on Ubuntu

1
...
0 0
2

[From]http://askubuntu.com/questions/412046/unable-to-use-intellij-idea-keyboard-shortcuts-on-ubuntu
As a bit of reading taught me that Intellij IDEA is a keyboard-centric IDE. What it means, is that a use can work with it without having to touch the mouse. Also I manage find keymap setting.

For Ubuntu

See how to change keyboard shortcuts?

Here’s a list of tweaks you need to make with default system key bindings so that they won’t interfere with IntelliJ IDEA actions (listed in brackets).

Disable the Shade window action, assigned to Ctrl + Alt + S (Settings dialog) Change or disable the Lock Screen action, assigned to Ctrl + Alt + L (Reformat code) Change or disable the Launch terminal action, assigned to Ctrl + Alt + T (Surround with) Change or disable the Switch to workspace action, assigned to Ctrl + Alt + Arrow Keys (Navigation) Disable the Move window action, assigned to Alt + F7 (Find usages) Change or disable the Resize window...
0 0
3

When we need to get productive, we often invest money in new gadgets, software, or even a new computer. Another way to boost productivity is learning how to use the assets we already own, such as IntelliJ IDEA. I can’t say I’m a shortcut junky, but knowing a few make my life a whole lot easier.

In 2012 I spent quite some time giving other IDEs a chance. All impressed me with their own unique features. Even more so, I was so close to ditching IDEA (or rather Web Storm) for Sublime Text 2 due to the cool features available through its plugin mechanism. Weeks, or even months later, I came back to IDEA, realizing that it has virtually all features found elsewhere, and it felt a bit more robust.

Visiting other options opened my eyes for new features to look for. Features that could easily boost my productivity in a piece of software I spend so much time with. I’m sharing my 12 most useful with you.

1. (Un)Comment line: Cmd + L

Transforming the current line...

0 0
4

On this page:

IntelliJ IDEA is a keyboard-centric IDE. Most of its actions (navigation, refactoring, debugging, etc.) can be carried out without using a mouse, which lets dramatically increase coding speed.

Predefined keymaps

If you have used another IDE for a while and memorized your favorite keyboard shortcuts, you can choose one of the IntelliJ IDEA's predefined keymaps that matches key bindings of that IDE.

You can choose the keymap either on the first start of IntelliJ IDEA or anytime later on the page of IntelliJ IDEA settings (Ctrl+Alt+S).

If you are starting from scratch, without experience in other IDEs, we recommend using the Default keymap.

Configuring keyboard shortcuts and mouse shortcuts

Predefined keymaps are not editable. When you add or modify any shortcut, a copy of the currently selected predefined keymap is created automatically.

To...

0 0
5

I'm using IntelliJ IDEA, but I think this applies to any IDE.

In IDEA, some very useful keyboard shortcuts conflict with Ubuntu keyboard shortcuts. Some examples:

Ctrl+Alt+L : formats the source code (mapped to "Lock Screen" in Ubuntu) Ctrl+Alt+Left : navigates backward (mapped to "switch to workspace on the left of the current workspace" in Ubuntu) ...

I've been using Ubuntu for a long time, and I'm used to these shortcuts. I use them all the time to switch between workspaces, lock my session... At the same time, I know how useful the IntelliJ shortcuts can be, and I want to avoid using the mouse as much as possible.

Currently, my workaround for "format source code" is Alt+D (opens the "Code" menu), followed by "R" ("Reformat Code"). It works okay, since I don't format code that often, but it could be better. There is no real alternative for Ctrl+Alt+Left, though.

How do you manage these conflicts in your IDE?

Do you simply remap all the...

0 0
6

My Mac keyboard is a Portuguese one. Although it's QWERTY, many symbols are in different places (namely, Shift-some number). In Eclipse, if a shortcut involves a character which, in itself, is a combination of keys (e.g. '/', which is Shift-7) I can do, for instance, command-shift-7 to comment a piece of code.

In IDEA, however, this doesn't work. To go "back", the keyboard shortcut is command-[, but to get the '[' I have to press option/alt-8, and command-option-8 doesn't do the trick. Is there some option I can enable to make it work?

IntelliJ has a few pre-configured keymaps. Maybe you are not using the best one for you or your keyboard. If you are used to working with eclipse, maybe you will like the Eclipse keymap better.

In addition you can create your own keymap by copying an existing one and modifying it.

The keymap settings are under File -> Settings... -> Keymap

More on that in the jetbrains site:...

0 0
7

Linux nerds/geeks happily flaunt their keyboard skills when they get a chance. I admit that I am not a shortcut junky but I too have some keyboard shortcuts under my sleeve that I use in day to day work. I have to say that not only have these shortcuts increased my productivity but they have also made my life a lot easier.

I am sharing my 10 most used shortcuts at work.

1. Comment or Un-Comment: CTRL + L

You will often run into situation where you need to add debug statement temporarily and remove or comment the line after the debug is complete. Instead of manually going to the beginning of the line and manually typing //, you can use the keyboard shortcut CTRL + L. A cool thing to know is that you can comment out multiple lines at once.

2. Documentation Comment Block : /** + Enter

I may not follow other coding standard but I do follow this – “Leave the place cleaner before you leave”. One of my biggest pet peeves is developers not documenting...

0 0
8

Recently I switched from using Eclipse to IntelliJ IDEA as our Java EE application’s front-end was done with JavaScript and the support for front-end technologies in Eclipse is more or less non-existent. The switch for long time Eclipse user wasn’t easy as IDEA works a bit differently but the change was worth it. The biggest difference in daily work with IDE is the shortcuts which are quite different in IDEA. In theory you can use Eclipse keymap for shortcuts but it just doesn’t work like it should and in practice you have to learn the IDEA way. There are many posts in the Internet about keyboard shortcuts in IDEA but there’s always place for more :) So, here’s my list of shortcuts to keep in your finger memory.

To learn your way around IntelliJ IDEA’s keyboard shortcuts there’s nice “Key Promoter” plugin to train yourself. It prompts whenever you use the mouse when you could’ve used the keyboard instead (similar to Eclipse’s Mousefeed).

Ctrl+Alt+S to pull up the...
0 0