facebook

[Closed] open other files with html editor

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #240928 Reply

    gemino
    Member

    i really like to work with the myeclipse html editor, so i wondered if it is possible to open also other files which are not html but contain html code in the editor view.

    e.g. i have some template files calles .tpl to configure the style from phpBB. they are containing html code, but are just renamed .tpl to show that these are templates.
    as i have no other editor with code highlighting i thought using myeclipse, but i havend found out how to open the .tpl file with the html editor

    can somebody tell me if this is possible and if, how?

    #240933 Reply

    Scott Anderson
    Participant

    can somebody tell me if this is possible and if, how?

    Yes, it’s possible and rather simple. 🙂
    You need to associate the extension .tpl with the HTML editor at Window > Preferences > General > Editor > File associations > Add…

    Once you’ve done that, the HTML editor will be able to open your .tpl files by right-clicking and selecting Open With…

    #240934 Reply

    gemino
    Member

    great! haven’t seen that feature of eclipse yet…. makes my coding life much more easier 😉

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] open other files with html editor

You must be logged in to post in the forum log in