Is there a way to customize the extension or Eclipse so that files with a certain extension will be opened by Eclipse' HTML editor? I am using PyDev to develop Pylons applications. I can edit the Python modules just fine (with syntax highlighting and all) and would like to do the same for HTML files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For html pages, you'd need a different plugin... some suggestions are: aptana (http://www.aptana.com/docs/index.php/About_the_Aptana_HTML_Editor) has one and amateras (http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor)
You can customize which editor opens which file in window > preferences > general > editors > file associations
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Fabio. (And a lot of thanks for sharing PyDev with community)
I have another question that's somewhat off-topic. To view my Pylons project, I create a new project and then select the path of the Pylons project (unchecking the create src folder option). When I do this however, I see the existing source files but cannot add new files to the source tree. To allow me to do this to my existing project, I have to open up the .pydevproject file and manually add the following lines:
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/[path to root of pylons project]</path>
</pydev_pathproperty>
Is this really by design?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to customize the extension or Eclipse so that files with a certain extension will be opened by Eclipse' HTML editor? I am using PyDev to develop Pylons applications. I can edit the Python modules just fine (with syntax highlighting and all) and would like to do the same for HTML files.
For html pages, you'd need a different plugin... some suggestions are: aptana (http://www.aptana.com/docs/index.php/About_the_Aptana_HTML_Editor) has one and amateras (http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor)
You can customize which editor opens which file in window > preferences > general > editors > file associations
Cheers,
Fabio
Thanks Fabio. (And a lot of thanks for sharing PyDev with community)
I have another question that's somewhat off-topic. To view my Pylons project, I create a new project and then select the path of the Pylons project (unchecking the create src folder option). When I do this however, I see the existing source files but cannot add new files to the source tree. To allow me to do this to my existing project, I have to open up the .pydevproject file and manually add the following lines:
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/[path to root of pylons project]</path>
</pydev_pathproperty>
Is this really by design?