HTML Editor autocomplete not working - eclipse

I've recently installed Eclipse Mars.2 and need to edit some HTML files. While it seems that WTP is not installed WSP is and I can't seem to find the difference. In any case if I try to install WTP it tells me a newer version is already installed so I assume that means WSP. When I go to "Web" perspective and create a new HTML file it displays an HTML template which is fine. My problem is that when I try to develop my page, there is no HTML tool bar nor does autocomplete make any suggestions. I seem to have to simply type everything in manually. Can someone tell me what I may have set up wrong? TIA.

Related

eclipse custom editor comes up blank

I am writing a custom editor for eclipse, it works fine when I run it as an eclipse application, but when I install it through an update site, the editor has no content when opened. How do I fix this?
Source code for plugin, feature, and update-site: https://github.com/programmerjake/peg_parser_generator-eclipse commit 4c01fba773ea2cd60ab0efd08fae1331b18b62bc
update site url: http://programmerjake.tk/peg_parser_generator-eclipse/tk.programmerjake.peg_parser_generator.update_site/ version 0.1.1.5
The reason is that the plugin built didn't contain the actual editor classes, because the jvm version was set to 1.6 but the source code contains version 1.7 features.

JavaScript syntax highlighing with wtp eclipse, versions issue

Moving from Eclipse 3.7(Indigo) to Eclipse 4.3 (Kepler). Have WTP installed on both, with JSP editor, different versions of WTP (3.3.2 vs 3.5.2)
Got a problem with javascript syntax highlighting in new version, in jsp. Javascript isnt highlighted if its within html comment.
Compared all possible settings but couldnt find how to solve this question. There's chance i didnt install something additional for that but have no idea what, would appreciate any suggestions.
Screenshots of both versions:

Eclipse Juno no JSP in Dynamic Web Project (but everything else is fine)

The short question, is when creating dynamic web project (1.6 jdk) I can see all file types to create but there is no option for jsp. To add to that when I check file associations there is no JSP editor to select from.
A slightly longer version is I simply want to edit JSP files, I have Juno EE version installed and it says web tools platform is installed and everything works just fine.
However while everything works, there was no *.jsp in file associations and on adding it there was no JSP editor in the list. This is an out of the box Juno EE.
So I checked installed plugins and it tells me that web tools is installed, there is an icon and a load of plugins. They are all listed under Java EE in the plugin/installation list. I even tried installing just 'java web develop tools' which lists as 'tools for working with jsp' but when I do that I get ""Eclipse Java Web Developer Tools" will be ignored because it is already installed." however I cannot uninstall it because it's part of Java EE eclipse platform. I have no other plugins installed that might have broken this, however it has taken some time to get all the settings good so I'd rather not install it all again.
So I tried to install the full WTP by hand and it said some things were already installed, but it installed others. However, still no JSP editor. Hence why I tried a dynamic web project to see if I could create JSP and it wasn't listed.
So, eclipse base install has absolutely everything (xml, html editor, java editor, all the tools) but just not JSP.
My JDK is fine as dynamic web project is not created unless you have a valid 1.6 or above.
Anyone help?
It seems your missing Eclipse web developer tools and Eclipse java web developer tools.
Help>Install new software>http://download.eclipse.org/releases/juno, select appropriate items under Web,XML,Java EE
Hope this helps
In Eclipse Juno, select File/New/Other, then type in jsp in the wizard field. Select jsp file or jsp tag and there you go. Hope that helps.
Try to install Eclipse with Java EE developer.It should work.
You can go to Eclipse Market place and search for "Java EE Developer tool". On clicking it you should be able to see if your Web developer tool is selected or not. Please select that option and your issue will be resolved.
Check your path. Make sure it is pointing to at least a 1.6 version of Java. Restart Eclipse. That fixed it for me.
If you have installed every thing proper and still it is not showing JSP option while creating new .jsp file then click to the web icon on top right corner of eclipse. If it doesn't work then you need to install updated version of eclipse.
I also faced the same problem; I looked through the "Web,XML,Java EE..." installables available at under Kepler downloads:
and that brought me the New->'JSP File' context menu item.

JSP editor for eclipse, does it exist?

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.

Editing Salesforce Visualforce pages in Eclipse

I'm using the Eclipse IDE with the Force.com plugin for editing Salesforce.com visual force pages. The problem I'm having is that I can't actually edit the page. Whether it's a newly created page or not. I right click on the project within Eclipse, clicked new visual force page and the page loads. I can actually edit anything though.
Any ideas? Do I need an additional web plugin or something?
Thanks.
There are no additional plugins required. You may have an issue with your Eclipse install.
Easiest way to confirm is to download Eclipse again. I'd do the plain Java package. Install into a new location on your disk, then install the Force.com plugin.