- This topic has 7 replies, 2 voices, and was last updated 19 years, 1 month ago by Christian Meunier.
-
AuthorPosts
-
Christian MeunierMemberHi, i am using freemarker extensivly and i am wondering how i can tell eclipse to use the myeclipse html editor to open .ftl file ?
Moreover, would it be possible to extend the myeclipse html editor to offer tag completion for freemarker ?
Thanks in advance.
Chris
Riyad KallaMemberChris,
Window > Prefs > Workbench > File Associations, associate *.flt with the “MyEclipse HTML Editor”.As far as extension goes, I’m sure it can be done via a plugin.
Christian MeunierMemberThanks, as far as a plugin, freemarker provides one as an editor but if i use it i loose all features provided by the myeclipse html editor 🙁
Christian MeunierMemberRiyad, sorry to bump this issue again but it looks like something does not work, i am using 3.1M4 with latest myeclipse, i followed your advice and associated *.ftl with myeclipse html editor. WHen i open a ftl file, myeclipse html editor is used however it does not work properly(No content assit, many errors on the page etc….), if i copy/paste the content in an .html file, no error at all and the content assist works…
Step to reproduce this “bug”:
1)Associate *.ftl with myeclipse html editor
2) Using the html wizard, create a dumb html file -> test.html, content assist works and no error on meta tags
3) Create a new file called test.ftl, copy the content of test.html into it and check the editor.
Riyad KallaMembertlvenn can you post the exact contents of the HTML page so I can demo it here locally as close as possible to what you were doing?
Christian MeunierMemberhere oyu go, really only the default template:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title>MyHtml.html</title><meta http-equiv=”keywords” content=”keyword1,keyword2,keyword3″>
<meta http-equiv=”description” content=”this is my page”><!–<link rel=”stylesheet” type=”text/css” href=”./styles.css”>–>
</head>
<body >
This is my HTML page. <br>
</body>
</html>
Riyad KallaMemberI have filed this bug for us to investigate before 4.0 ships.
Christian MeunierMemberAny news on this subject please ?
-
AuthorPosts