User forums > Help

Opening Files other Than .CPP or .H

(1/1)

Anonymous:
Is there a way to open up files of types besides .CPP and .H in the editor? I have tried the "Project->Project Tree->Edit File Types & Display Categories", and I am able to create new folders like "Include". However, when I add all my .inc files to the project, I can't open them up in the editor by double-clicking on them or right-clicking and going to open.

I realize that I could just rename my files .inc files to .h, but I was wondering if there was a way to edit files of types other than .c,.cpp,.h in the editor (like .inc or .inl )? Everything else from my experience with the IDE has been splendid, its just this one minor thing that is bothering me.

mandrav:
No, unfortunately not...
This is planned for the next update. It won't be long ;)

Yiannis.

DreadNot:
Ok: Yeah for the MIME thingy, but I've run into a few problems.

1. I would like to open a yacc(bison) or lex file in the editor.  Specifically, I would like it to use the C++ editor with its keyword and color options OR I would like to add other types to the editor and configure the keywords and color options.  Currently C++ and LUA are the only types listed and are apparently hardcoded.

2. Files with no extension (i.e. makefile) cannot be opened at all.  It produces an error:
    ERROR:
    Could not open file "blah..."
    No handler registered for this type of file.
When I tried to add "*" or "*." to the MIME plugin, it still refused.

mandrav:
1. Syntax highlighting for more languages is planned.
2. Please submit a bug report.

Yiannis.

Navigation

[0] Message Index

Go to full version