- This topic has 7 replies, 2 voices, and was last updated 19 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
garyhoukMemberThe only way that I have found where I can see the wysiwyg editor is to create a .jsp page. I can then see source, design, preview tabs at the bottom. How can I open/edit an html file, or more importantly, a cold fusion file and still be able to use the editor? This was the main reason we purchased the plugin so hopefully those tabs are available for different file types.
Regards,
Gary
Riyad KallaMemberGary,
Right click on your HTML file and select Open With, be sure to select MyEclipse HTML Designer to get that working. As far as cold fusion files go, unless they are straight HTML I wouldn’t suggest it, the designer might choke and die on the processing instructions (no testing was done with cold fusion files).But you can *try* and force it by going to Windows > General > File Associations and adding your extension for cold fusion mapped to the HTML designer.
garyhoukMemberThanks for the reply. I did end up trying your recommendation before you posted a reply. Once I added in .cfm/.cfml, it worked perfectly! I’ve been editing files, able to insert tables and other various elements with no errors whatsoever. Thanks again!
Riyad KallaMemberGlad to hear it worked and thank you for posting your followup for others.
garyhoukMemberOK, the designer works with CF – sort of. When there is a line like <cfset foo=”x”>, the editor kicks back an error stating “there are syntax errors with this doc. Please correct before using the designer mode”. Is there a way I can get it to ignore the CF syntax? Is this thing only an html editor? I would think that it should be a little less strict than just rejecting code like setting a basic variable. PLEASE let me know if there is a way to disable it.
TIA,
– Gary
Riyad KallaMemberGary,
Can you close the file and right click on it and go to Open With and be sure you are selecting the designer and not the “classic” one. The classic designer would stop loading if it hit syntax errors but the new one will not (which would allow you to have these tags)
garyhoukMemberThat worked perfectly! I even like that editor much better with the coding tools on the left. Very slick. Thanks for your help on this. This tool is definitely worth the money!
Best Regards,
– Gary
Riyad KallaMemberGary,
Glad it was that easy, thank you for the compliment. -
AuthorPosts