Use XML code style for non-XML files

I’m working on x3d. This requires to change the file name to .x3d. But x3d is fully XML style. Is there a way to remain to code style when the file name is .x3d?

Picture: Left: Filename is x3d – Right: Filename is xml

Comment actions Permalink

Sure - just add `*.x3d` to the list of registered patterns in Settings (Preferences) | Editor | File Types, XML

Comment actions Permalink

neat. Thanks man.


Please sign in to leave a comment.