Bartley, This bug is fixed in build #629.
-- Best regards, Mike Aizatsky. ------------------------------ JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure!" "Bartley, Chris P" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > The bummer is that the rename trick only works until you close the project. > The next time you open the project, IDEA will no longer consider the .html > file an XML file, but rather a plain old HTML file. > > This is an old bug, but i guess one that isn't too high priority. Search > the archives for more discussion on this. > > chris > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 31, 2002 4:39 AM > > To: [EMAIL PROTECTED] > > Subject: [Eap-bugs] 627: (X)HTML - Doctype > > > > > > I found that IDEA is very convenient for editing XML so I > > decided to use it > > to edit XHTML files too... But the file extension of my files are now > > ".html" rather than ".xml" => the XHTML doctype (<!DOCTYPE > > html PUBLIC > > "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">) is not > > recognized by > > IDEA , and I cannot use the code completion, validation, etc. > > available > > with XML files. But IDEA can do it ! If you create a XML > > file (with ".xml" > > extension), add the appropriate doctype, save and finally > > simply rename it > > with the ".html" extension: it does work ! The XHTML file is > > now treated > > like an XML one... (and it is !!!) but without the ".xml" extension. > > > > Would it be possible for IDEA to use/interpret doctypes in HTML files > > "automatically" (without the workaround) ? > > > > Thank you. > > > > BM > > > > > > _______________________________________________ > > Eap-bugs mailing list > > [EMAIL PROTECTED] > > http://lists.jetbrains.com/mailman/listinfo/eap-bugs > > _______________________________________________ Eap-bugs mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-bugs
