Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use TexnicCenter as an editor for .tex files and .lua files as well. In the file->open dialog box, only certain filetypes are shown by default (e.g. .tex, .sty, .bib etc.). In order to open a .lua file, I need to select All Files from the pulldown menu which is a hassle. Having the menu default to All Files is not a great solution because I then have to sort through the many garbage files that reside in the directory. I have associated .lua files with TexnicCenter, but this does not add them to the menu.

enter image description here

Is there a way to add custom filetypes to the list of default files so that I don't need to keep doing this? "Use a different editor" is a valid suggestion, but for now I would like to see if this is possible using my current editor.

share|improve this question
The suggestions here might help you: How do I view only specific extension types in Outlook's "attach file" explorer window? – Karan May 8 '13 at 14:21
While this is usually compiled into the application, I think there are tools that allow you to manipulate GUI elements on-the-fly. However, some of these tools rely on code injection, which may require administrator/root privileges. Alternatively, you could modify the compiled binary itself in hopes of fixing the file filter (they are just stored as plain-text strings). – Breakthrough May 8 '13 at 20:57
up vote 2 down vote accepted

This is controlled by the application. In code the application seeds the drop-down list and specifies the default. You would need to submit a feature request to the product developer to change this behavior.

share|improve this answer
Ok, thanks. I sort of figured so, but thought there may have been something in the registry that could make it happen. – Scott H. May 6 '13 at 20:26

More than likely not. The pull downs are generally hard coded in the software and unless it provides a method for it add those file types I do not believe it is possible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.