I am running Aptana as plugin in Eclipse Neon. The HTML file was created using the template at: "New From Template => HTML => HTML 4.0.1 Strict Template (*.html)".
When I click on the file in the Project Explorer a tab opens, but the file name is not it its title, and I do not see the HTML source. Here is a screen shot that includes this tab that opened a blank title:
Tab opens without title when file clicked on.
In "Window => Preferences => General => Editors => File Associations" I have an editor named "HTML Editor (default) (locked by 'HTML' content type)" selected (appears at the top of the list). Is this the Aptana editor? Is it the correct editor?
What has gone wrong here?
I'm also on eclipse neon, and also use the Aptana plugin, and the code editors from Aptana simply do not work with neon, so, in terms of the usefulness of Aptana with neon, YMMV.
Currently, I still use Aptana's Web perspective and App Explorer view, as I find those useful. I also use my custom theme with non-studio editors, however, for most Aptana editors, I've moved to the LiClipseText Eclipse plugin, and I can't recommend it enough. It's much more light weight, and tends to work well with a minimum of fuss.
Related
I use Eclipse 2022-12 with Windows 10 for a Spring Boot project with Maven.
The context menu (the popup box that automatically shows up when you type or press Strg+Space) for autocompletion (java template proposals / content assist) in the editor shows up perfectly fine in Java files (strg + space works too).
I have HTML files that open with the HTML-editor in Eclipse, and the syntax highlighting is fine. But the context menu for code suggestions (auto completion suggestion or html template proposals) simply does not show up, not even with strg+space.
How can I enable the popup for the auto suggestions in HTML files again?
For clarification: It does not show the context menu box at all. Other users had problems where there were no suggestions (template proposals) inside the context menu, but for me the popup does not show up at all for HTML files, but for Java files it works completely fine.
I already tried to change the settings for the html editor under Window > Preferences > Web > HTML Files > Editor > Content Assist. Settings:
"Automatically make suggestions" - activated
"Auto activation delay" - 0
"Prompt when these characters are inserted" - "=<"
The categories for HTML Tag proposals and all the other elements are all activated in booth "Default Proposal Categories" and "Content Assist Pages".
I also de- and reinstalled Eclipse Web Developer Tools and HTML Editor in the Marketplace.
I also opened a new dynamic web project without Maven or Spring Boot, here the HTML editor also does not show the content assist context menu.
I also created a new Workspace, same result.
Edit
I found a workaround...but this does not answer my question, because I think it is not correct that Eclipse does not show me the popup-box inside the HTML-Editor.
Eclipse automaticaly activated the HTML-Editor for HTML-Files, which does not have the popup-box. I activated the Generic Text Editor, which actually shows me the popup-box with HTML-suggestions. I would be happy if someone has a hint why the HTML-Editor is broken in Eclipse 2022-12.
Go to settings
Window
⮑ Preferences
⮑ HTML Files
⮑ Editor
⮑ Content Assist
Then replace <= with;
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._<=
I am learning web design with Aptana and I have ran into a weird problem. The HTML editor does not recognize main element. Therefore, my .css file cannot select main element to style it. I have checked under windows --> preferences --> general --> editors and have made sure the HTML editor is default and selected. The only others are two text editors and web browser. Any fixes to this? Is it possible to download a better editor and install into Aptana? It has an add button.
I suppose that this element is not recognized because it is relatively new: at this time, it is not yet supported by the HTML Editor in Eclipse Web Tools for Neon.3, as you can see on this bug report for example).
You can also see these other related questions:
HTML5 Pass-Through element causes Eclipse warning 'Unknown tag'
"Unknown tag (main)" warning in JSP file in Eclipse
Warnings of valid HTML5 attributes in Eclipse
I'm using eclipse Juno EE IDE for Web Developers.
When I open .tml files, they don't show the correct highlighting and auto complete isn't working. I thought this looked just like it's opening it in a text editor. I right clicked the .tml file and clicked open with > HTML editor and I still don't get the correct highlighting.
This works perfectly on my PC at home, I am at work and it doesn't work properly. Please can someone give me a quick heads up on what setting is wrong? I've spent ages looking and trying different editors, but i'm sure it should just work in the html editor.
Thanks,
Edit: When I hover over the underlined closing html tag, it says "The word is not spelt correctly". It's like it's a text editor, only I did right click > open with html editor.
(If not using Tapestry Tools, as uklance mentioned)
Remember that in addition to editing Eclipse's File Association configuration in:
Window->Preferences->General->Editors->File Associations
you should add the *.tml extension in the Content Types configuration in:
Window->Preferences->General->Content Types
there you should chose html or xml and click add to add *.tml
Have you seen the Tapestry Tools eclipse plugin?
Or you can just add a file association for *.tml to the XML or HTML editors.
Another alternative is using the JSP editor and a custom tld
I have installed the latest version of netbeans and its working.. I have opened an html file but i don't see where i can preview it..
Does it support HTML preview inside the IDE?
Do i need a plugin?
I would like to view in design mode at least so i can design in the ide ...
All i see is pure html ...
any ideas?
thanks
Download NetBeans for PHP, open an HTML file and you will see
I don't believe this feature is in Netbeans as of 6.7 I'm afraid. There is CSS preview, but I assume that falls short of the full preview you require. You can preview it directly in the browser by selecting "view" in the context menu, but that again is nowhere near the full preview which you require.
Searching plugins.netbeans.org also proves fruitless.
"Web Preview" and "Embedded Browser UI - XUL Runner" solution is only working at Windows systems. My solution is using an external HTML WYSIWYG Editor for Mac OS X. There are some nice free/open source HTML interface builders:
http://www.kompozer.net/
http://ckeditor.com/
http://www.w3.org/Amaya/
Alternatively you can use HTML palette + Netbeans HTML Source editor. Click Window + Palette. At the right hand side palette will be opened which contains basic HTML elements. You can drag & drop elements to your source code as visual designers but it only creates code. This function can also help you for some basic tasks.
I know NetBeans has this feature, but I can't find it in Eclipse. A quick search for plugins was not successful.
Java2Html - Eclipse Plugin:
Convert files:
Select items in the Package Explorer, Navigator or other views and right click to open the context menu. There is a Java2Html menu item that opens the conversion dialog.
Convert text from a text editor:
Right click on an editor and choose the Java2Html context menu item to convert the current selected text.
Adjust preferences:
Colors, tab size, etc. for conversion can be adjusted on the preference pages (Menu "Window" - "Preferences" - "Java" - "Java2Html")...
Hackish way:
On Windows at least, when you do Ctrl-A (Select all), Ctrl+C (Copy) what actually gets copied to the clipboard is formatted text (with all the colors and fonts). Then you can paste (Ctrl-V) it to something that can accept formatted text, say Microsoft Word or even Wordpad and save it to whatever format you wish.
The Copy as HTML eclipse IDE plugin allows us to directly copy our
code as HTML and paste it to our blogs or forums without any
formatting.
Download Copy as HTML eclipse plugin
Steps to install the plugin:
Download the Copy as HTML eclipse plugin
Copy it to the 'dropins' folder of your eclipse installation
If 'dropins' folder is not present then copy it to the 'plugins' folder of your eclipse installation
Restart eclipse IDE
That's it
Steps to Use
Select the code or text to be copied
Select 'Copy as HTML' option or press 'cntrl+shift+3'
Paste it your superb blog
Taken from here:
http://java-sample-program.blogspot.hu/2012/12/copy-as-html-eclipse-plugin.html