Weird behavior in eclipse when editing clojure files - eclipse

I am trying to learn clojure and i installed the counterclockwise plugin in eclipse.
Now when i hover with my mouse over strings containing whitespace or only dots i get this weird menu popup.
It is really annoying and i have no idea where it is coming from.
If anyone knows how to turn this off i would really appreciate it.

Related

Exact duplicate shortcut from Eclipse in Intellij IDEA

I am an eclipse-only programmer.
Now the time has come that I want to try out intellij IDEA to see if it may even suit me better than eclipse does now.
I have some essential shortcuts which I need to work exactly the same as I am used to. And as far as I see, that's not possible. But maybe you guys know it better.
1) Moving lines up and down
In Eclipse I use ALT + UP and ALT + DOWN:
the alt up/down could be done by IDEAs "move down/up" commands in "other":
but they behave differently. Unfortunately "too smart" I'd say... as they keep track of blank lines and skip these, and even carry comments with it. I simply want to move only the selected line, up or down, simple as that.
Example:
results in
and when moving it up or down in Eclipse. In Intellij IDEA this happens:
2) Duplicate Lines up and down
In Eclipse I got these shortcuts, on copying up and the other copying down:
In Intellij IDEA I'd use the "Duplicate Entire Lines" under "Editor Actions", and this suits me very well. BUT: I only can use one direction, up or down, as this command only exists once. I need both... :(
Thanks for any help!
IntelliJ IDEA has Move Line Up/Down and Move Statement Up/Down actions. The latter is smart, the former is dumb. Assign shortcuts and use whatever you prefer.
Vote for this request or use this third-party plug-in.
Plugin for IntelliJ IDEA to allow copy lines and block of code like in
Eclipse IDE (Ctrl+Alt+UP and Ctrl+Alt+Down).

Context sensitive help of eclipse by hovering cursor

After setting path of java doc properly to make it work offline,The Eclipse IDE is not providing context-sensitive help if you hover the mouse pointer over keywords.For example if I type "for" then It shows "Syntax error in token" when I hover the cursor over "for" to edit java programming.
Nobody is here to answer my question.But I have solved it by my own effort.You need to click the mouse just after the "for" without any space,Now You can see the mouse pointer just blinking after the "for" without any space,now you need to press "ctr+space" to see the proper structure of "for" loop with code,now if you wanna edit this in your source then you need to press "enter".I know this is for editing basic things but it is very best for learning by developing the codes.All the people are saying that you can not get help related to basic things by using eclipse IDE but I think they are wrong because I am getting all the things offline when I need them.

Configuring IntelliJ workspace views

Newb alert: moving from Eclipse to IntelliJ
I think what I want is "simple", but looking at menus, help and doc hasn't found it. (I did visit their help and website links; I'm probably not looking for the right thing.)
For my main code editing experience, I like to have 3 main window panes:
Right side, large main area: source code editor
Left, upper part: project files in a browsable outline
Left, lower part: structural view of the current class I'm editing (method names, member fields, etc)
For IntelliJ, I can get the Project Structure on the left, OR the Structure of the individual class, but I'm having trouble getting the left half of the screen to show both the Project and Class hierarchy.
I've tried to dragging and dropping, like from Eclipse, but that doesn't seem to work the say it did in that other IDE. (not arguing that it should, just something to try)
I think there are some general concepts that I might be missing. And when I use IntelliJ help or Google for things "view", etc, I'm getting some other meaning of the word.
General questions:
How do it (or CAN I?) generally arrange the IntelliJ IDE to look the
way I like? I'm happy to do some reading, but haven't seen this in
the table of contents.
Is it done by clicking and dragging?
Or maybe it's that IntelliJ just uses different verbiage to describe these IDE elements, and if you now the correct language, then maybe Google
promptly brings up the answer?
Any other Eclipse -> IntelliJ IDE config advice would also be welcome.
This is really easy to achieve. Instead of dragging the title bar of your panel, drag the button that opens the panel (see my screenshot). You can fully customize your view but dragging those buttons to either of the 4 panels (right, down, left up and left down).
Since you're asking for more advice on migrating, here's my approach to learn IntelliJ shortcuts as an Eclipse user. It's my blog, so if it is seen as advertising, I will remove it.

Eclipse IDE lost popup menu suggestions

I've seem to have lost the ability in my Eclipse to auto-correct errors in my source code lines.
For example, a line like this:
Date date = new Date();
has red jagged lines beneath the Date() part. Previously I could mouse hover over it see a popup menu of options to fix it. Now I all I ever get is a popup with the text "Cannot resolve to a type".
The only change I can think of that I've made and I don't know if it has anything to do with this problem, is that I started editing my .java files with an outside editor. Then focusing back into Eclipse I get a popup saying the source has changed and do I want to update so I say OK.
Sometimes I will edit inside Eclipse and sometimes i will edit the source outside of Eclipse. I'm not sure if this is a bad practice or not?
Its your wish to edit Java files outside or inside eclipse. But Java editor has many features which are very helpful to developers. I suggest to edit Java files inside eclipse only.If you find other editors are good or you used to it then no problem you can edit Java files out side eclipse also. The problem you mentioned in not related to it. But make sure that changes are applied before building project in eclipse.
Solution
This occurs whenever there are multiple classes are available with the same name in you build path then eclipse don't know which one to import by default. So keep the caret on the error line and press Ctrl+1. Then a eclipse gives options to user to import one among these. See the picture below. Choose the right one then error will disappear.

Anybody experiences problems in contextual menus behavior?

Dear RubyMine Overflowers,
I downloaded the latest version of RubyMine (3.2.1) on a Mac running SL 10.6.8 and latest apple provided Java.
I am experiencing some problematic behavior regarding the mouse right-click.
I can bring up contextual menus only by double right-clicking. if I single right-click, the menu comes up very instantly and disappears.
After some experimentation, I have concluded that if I right-click and manage to keep the mouse pointer at the exact pixel as before r-clicking, contextual menu disappears. If the pixel before right-click is different than the one after r-click the Contextual menu stays. (Imagine the chaos when this applies to the Project window: i get constant warnings of moving files).
Anybody experiencing such funny stuff in RubyMine? or otherwise, any way to change mouse pointer sensitivity?
Many thanks...
Petros
There is similar issue, but it's known to affect only Linux users with Eclipse keymap:
Intellij right click context menu problems in Ubuntu.
I can't reproduce it on Mac, but the question above is worth checking, maybe the suggested workaround will work for you.