Force syntax coloring [message #146846] |
Wed, 05 April 2006 05:36  |
Eclipse User |
|
|
|
Originally posted by: j.westra.takumi-tech.com
Hi all,
I would like to know how I can force a certain kind of syntax coloring on
a file, i.e. tell Eclipse to consider file x as e.g. a Pyhon file.
We have executable python scripts without the .py extension. Eclipse does
not see it's python, and just displays it as any textfile, without syntax
coloring. It should be easy to tell Eclipse to color it as any python file.
|
|
|
|
|
Re: Force syntax coloring [message #146858 is a reply to message #146855] |
Wed, 05 April 2006 07:34  |
Eclipse User |
|
|
|
Originally posted by: hendrik_maryns.despammed.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jurjen Westra schreef:
> That does not work: I only have the options Text Editor, System Editor
> and Default Editor. I am using Eclipse 3.1.2. Is choosing the python
> editor a feature of newer versions?
You?re right. You will first have to add the Python editor as an editor
for this kind of files. If they have no ending, I don?t know of a way,
if they have all kind of different endings, you can enter the ending *.*
in file associations, and add the Python editor to that.
Also have a look at the content-type preferences, it might help.
H.
- --
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEM6tCe+7xMGD3itQRAoP9AJ9sEN4xRlkKXOD9icKLinSRYZzbbgCb Bbf1
3PcaWPyWebLZgRtLOu3qm90=
=jVvZ
-----END PGP SIGNATURE-----
|
|
|
Powered by
FUDForum. Page generated in 0.07629 seconds