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
Related
I've recently installed the Aptana Studio 3 (I believe 3.4.1) and wanted to start to use CreateJS. When I start coding, I don't see any code assist or autocomplete for the CreateJS libraries.
Is this something I have to manually add? If so, how?
Or does Aptana Studio 3 just not support this? (What IDE does?)
It doesn't look like Aptana supports Code Assist for the "Createjs" libraries. If you go to "Commands" > "Bundle Developement" > "Install Bundle" you will see a list of libraries which Aptana does support. As far as I know, Jquery is one of the Javascript based libraries which enjoy support in Aptana.
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
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.
I noticed that my Eclipse does not include JSP Editor. Does standard JSP editor exist for Eclipse and if so, where can one download it from?
The JavaEE version of Eclipse has full JSP support. The standard java development version doesn't.
Alternatively, you should be able to install the WebTools plugin(s) into an existing Eclipse, that should give you JSP support also.
I had this same problem!
I resolved it by switching my eclipse perspective to JAVA EE perspective.
Go to help -> Install New Software and install webtool.
And for whomever that still not seeing the editor, set JSP editor to be the default editor for JSP files in this way
Having the same problem, I researched this and I found many solutions. After installing the Web Tool PLug-Ins, I was able to get the .jsp editor to work. Its important to know that you must close your .jsp files then reopen it, or you may be convinced that the solution didn't work. You can confirm that the Web Tool Install worked if you go to the following:
Window -> Preferences
In the list of options, you will see General. Expand that menu.
Expand the "Editors" menu
Click on the option "File Assocations"
There will be a "file type" (I'm using Keleper) with a list of different file types.
In this list, select .jsp.
In this list you should see a list of editors. Select JSP editor. Then click OK.
This is something I discovered when trying to get mine to work.
Go To Preference->General->Editors->File Associations
Check editor for *.jsp type.
If it's not present, add one.
If it's Class file viewer, then remove it.
Worked for me.
To install from within IDE for newer Eclipse clients:
Help->Eclipse Marketplace
Search for "Eclipse Java EE Developer Tools". Install.
Is there any way to manually create fold points in code in Eclipse? I know how to enable folding and how to set the auto preferences, but i like being able to set my own fold points so I can ignore certain parts of my code. Think regions in VS.
I know there is in VS and NetBeans, but I cannot find a way to set manual fold points in Eclipse.
I don't think Eclipse has built in manual folding, but I did use a previous version of the following plugin for it.
Per the comment: The plugin has been recompiled for Eclipse 3.5 and is available at the Apache Isis site. A direct download link is also available. It also appears to work for Eclipse 3.6.
The coffee bytes folding plug-in for eclipse is still alive. But the pages have moved.
An Overview and how to get it can be found here.
I've installed it in eclipse using the update page.
In Eclipse go to Help -> Install new Software
Enter: eclipse.realjenius.com/update-site
Select the plugin and follow on-screen instruction.
I'm still pretty new to eclipse development and had to install mylyn before installing the code folding plugin.
I'm new to Eclipse, but since the IDE lets you fold preprocessor directives, you can just do "#if 1 .... #endif" to effectively set up manual folding.
No, eclipse does not have any option to provide manual folding plugins.