Document type for files with no extension
Document type for files with no extension
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.
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

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.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.
But I am open to suggestions

Cheers Jussi
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.
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.