Aptana Studio 3.4.0 Cmd-F only works once - eclipse

I routinely download the latest 'Eclipse IDE for Java EE Developers' and add Aptana Studio to it. I recently did this with Juno 4.2.2 and Aptana Studio 3.4.0. Now, I find that in the html or css editors, the cmd-f key still brings up the find/replace bar once. But when I ESCape out of that find bar, the cmd-f command no longer works until I switch to another editor window and then return to the first one. Then, cmd-f works, but again only one more time. The 'Edit-->Find/Replace menu item works consistently', so I think it has something to do with key bindings.
I also tried downloading the standalone Aptana Studio 3.4.0 and it doesn't have this issue.
Never had this problem before. Any ideas?

Me too. Its super annoying since I use Aptana all day.
Workaround: You can work around it by disabling the Aptana Find Bar in Preferences and restart Eclipse (this means you have to use the default Eclipse search dialog). Just move it out of the way while you're searching. If you disable it and go back to the old Eclipse search, you also get the ability to use the keyboard shortcuts for the items under the "Commands" menu.
Here's an aptana ticket for this bug: https://jira.appcelerator.org/browse/APSTUD-7850

Related

How to add VSCode key-map to Eclipse?

Does anybody know a quick and simple way to get the VSCode key-map in Eclipse?
I primarily work within VSCode, and soon will also be working within STS (Spring Tool Suite) (which is just Eclipse with the STS plugin).
I don't want to have to have to mentally switch between both key-maps constantly.
I was surprised to find that Eclipse doesn't have many options for alternative key-maps.
Things tried
Eclipse Marketplace
The Eclipse market place seems to only have one key-map available (IntelliJ) - as seen here:
https://marketplace.eclipse.org/search/site/keymap
Visual Studio key-map
I installed the C++ dev tools within Eclipse and enabled the Visual Studio key-map, following the advice here:
https://stackoverflow.com/a/10075350
This was closer to VSCode's key-map, but still not perfect.
Current situation
I'm using the Visual Studio key-map, and updating each key that I find is out of sync with the VSCode keymap.
It's not ideal but it's close.
Ideal scenario
Ideally there would be an extension for this in the Eclipse marketplace, similar to how VSCode has an Eclipse key-map extension:
https://marketplace.visualstudio.com/items?itemName=alphabotsec.vscode-eclipse-keybindings

Eclipse 4.4 Luna pinning editor tabs

I've found this question: Eclipse - How to pin editor tabs? and I've installed "Extended VS Presentation plugin for Eclipse", but it's not working.
How it should look (from http://andrei.gmxhome.de/skins/index.html):
How it actually looks on my Eclipse 4.4 (on Ubuntu):
As you can see, "Current presentation" setting is missing.
When I've installed this plugin (via eclipse), it was in "Eclipse 3.6 - 3.8 plugins", so maybe it's incompatible with 4.4 Luna? However, it was possible to install it, so it should work, right?
Also, if you know any plugin that would allow pinning tabs in eclipse, feel free to post your answer and describe it.
Support eclipse versions for this plugins:
Eclipse Versions:
Juno (4.2, 3.8), Previous to Juno (<=4.1)
This plugin NOT works(See this) in eclipse 3.x on Linux.(But here author says it support Linux platform. Contact author for more details)
This plugin NOT works in eclipse 4.x on any platform.
Please note, that the skin, tab actions and lists are available for Eclipse 3.x only! Eclipse 4.x is not supported.
That first Appearance dialog is how it looks in Eclipse 3.x. The appearance code was completely rewritten for Eclipse 4.x.
The fact the plugin installs may just mean the install is not careful enough about specifying the versions of Eclipse it supports.
You should try and contact the plugin author to see if it supports Eclipse Luna.
In my point of view, everything is fine.
As you can see in the images below, (Check bottom (console) ).
The above page is updated on 06-25-2014
But the screenshot in that page is taken on 06-02-2008 , (Check bottom (console) ).
The screenshot given in that page is a screenshot of very very old version. The plugin is updated, but the screenshot in the page is not yet updated.
The new plugin will work as shown in the image in the question
Alternative
In Eclipse 4.4.0 there You'll find a pin symbol in the default toolbar of Eclipse on the right side. After clicking it, the Java Editor Tab symbol gets changed indicating this editor is pinned now. Unfortunatelly I could not find a corresponding entry in the popup menu. But it is easy to assign e.g. the keys Ctrl-P to "Pin Editor" in the key bindings of Eclipse. (Don't forget to unbind Ctr-P = Print).
In Eclipse Neon 4.6.0 Pin is not functioning.

eclipse not working after mousefeed plugin installation

I just installed Mousefeed plugin in my eclipse Juno. I was unaware that the plugin doesnot work for eclipse juno. Now the mouse click are unresponsive and I can only use shortcut keys. How do I uninstall the plugin ?
How to uninstall plugin without using the mouse:
Ctrl+3
type "about"
select (with cursors and enter) menus - about eclipse
installation details
choose & uninstall plugin.
If you are unsure which shortcuts to use in Eclipse now, the easiest workaround is probably to shutdown eclipse and to delete the plugin on disk. Eclipse will then start without the plugin the next time.
The plugin should be at <eclipse directory>\plugins\com.mousefeed_1.0.0.jar. If not (depending on your OS and kind of installation), search only for a file containing "mousefeed" in the name and ending with ".jar".

JBoss Tools - Disabling Visual Editor

I just added JBoss tools and I like a lot of what I get from it. However, I noticed that my .xhtml files are loading a /lot/ slower (on the order of several seconds) than before I installed JBoss tools. I'm willing to accept some slowdown (there's always overhead from using tooling sitting ontop of Eclipse) but this is a pretty long wait. I suspect it has to do with the visual editor that JBoss has added for .xhtml. I am using windows 64 bit and I can't use this editor. I've also tried following the advice at this link
http://docs.jboss.org/tools/whatsnew/vpe/vpe-news-3.3.0.M2.html
and adding -Dorg.jboss.tools.vpe.loadxulrunner=false to the eclipse.ini but I didn't notice any speedups. I also uninstalled the plugin for the JBoss visual editor and didn't see any results. After uninstalling the plugin the visual/source, source, and preview tabs are still at the bottom of the .xhtml editor, so maybe I uninstalled the wrong one?
I'm using Eclipse for Java EE Juno service release 1 Build id: 20120920-0800. I have the CDI, dynamic web module, Java, javascript, JSF 2.1, JAX-RS 1.1 JBoss Maven Integration 1.0 and JPA 2.0 facets installed on this project.
It is hard to say what you just uninstalled.
If you want just uninstall visual editor you can do such thing:
Just install onece again Eclipse and when you install JBoss Tools just doesn't select visual editor
Try to unistall visual editor. I think (but I never tested it) you should remove from plugins and features directoris wich starts from org.jboss.tools.vpe
I don't know if there can be some problems with dependencies and so on - you should make backup of Eclipse directory before making any changes.
Maybe it will be sufficient just open the files with other editor:
You can just open single file using other editor, just click in Package explorer view on the file with right click and choose Open with... menu - then you can open the file with for example HTML editor:
You can change the default editor for all files by open Window->Preferences menu and find Find associations position. There should be *.xhtml extensions - choose it and change the default editor.

eclipse / aptana - text compare show code syntax highliging

I am using Aptana 3 which is basically a modified version of eclipse, so i think this question is applicable to both
Before I commit code in I like to review my changes via the text compare. It allows me to double check things I have changed.
However although text has been highlighted for changes made it does not keep the php syntax highlights. Is there anyway I can keep the PHP or whatever syntax highlighting when viewing differences?
See screenshot.
This is something that a plugin author must implement, and, it seems that it's still not implemented for Aptana's PHP editor, so, the proper thing to have that would be reporting this as a bug to be fixed in a future Aptana Studio 3 version.
This is a feature of the Eclipse editor. Perhaps you can try opening the file in another editor. Right click on the file and go to open with and choose different PHP Editor.
I am not a PHP programmer but perhaps you can check these links to see if you can find and alternate plugin with the features you want.
http://eclipse.org/proposals/php-ide/
http://www.phpeclipse.com/
First of all, Aptana is not "a modified version of Eclipse". Aptana is based on the Eclipse Platform. I am using the Aptana Studio 3 plugin for Eclipse (3.7.1; because of PyDev and features like "Local Filesystem"). ISTM that this is a problem with the Aptana PHP Editor, which the Eclipse PDT editor takes preference over in Eclipse (that might be due to the fact that I had installed the PDT plugin first).
You can try to work around this if you install PDT in Aptana Studio 3 (if necessary and possible), and define the PDT editor as default for PHP files (in Eclipse, and perhaps Aptana as well, it is under Window → Preferences → General → Editors → File Associations). You can also report this as an Aptana bug. Or use Eclipse with the Aptana Studio 3 plugin in the first place; IMHO, most Aptana editors, including the Aptana PHP editor, are not much of an improvement over the "built-in" Eclipse editors.
The issue has been repotorted on aptana bug tracker (by me) and apparently it is going to be fixed with 3.1
the bug tracking number is APSTUD-3922 for anyone who is interested