Document type for files with no extension

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
cficklin
Posts: 2
Joined: Wed Jun 04, 2008 6:49 pm

Document type for files with no extension

Post by cficklin »

Is it possible to configure Zeus to have a Document Type based on the name of a file and not the extension. I have a couple types of file that are extensionless. Most notably is 'Makefile' I can't seem to figure out how to have it defined with anything other than default.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Is it possible to configure Zeus to have a Document Type based on the name of a file and not the extension.

Unfortunately not. They will all end up in the default document type :(
I have a couple types of file that are extensionless. Most notably is 'Makefile' I can't seem to figure out how to have it defined with anything other than default.
And there in lies the problem. I don't think there as any easy way to have Zeus know the extensionless makefile from any other extensionless file.

But I am open to suggestions ;)

Cheers Jussi
cficklin
Posts: 2
Joined: Wed Jun 04, 2008 6:49 pm

Post by cficklin »

my suggestion would be to support a period '.' in the field. so I could specify 'Makefile.' to mean this is an extensionless file named Makefile. You could also support a period in front, but that would be superfluous to what is already there.

This could also lead to finer grained formatting for particular files. Say somebody wants main.c to be formatted differently than the rest of the C files. I couldn't imagine why, but it was a thought.

Really, just support a period at the end to mean an extensionless file and it'd help me.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I'll look to get some sort of file mapping feature added to Zeus in time for the next patch release ;)

Cheers Jussi
Post Reply