Native File Associations in Maia

In Maia, it’s finally possible to open a file in associated application (for example, .doc or .pdf) by double-clicking it in Project View or by pressing F4. This works for file types, registered under Files opened in associated applications.


The dialog displayed after you double-click a file of an unknown type also gives you options to associate its type with an application:


Also, Project View and Open File dialogs now display file type icons as they are registered in your OS, instead of generic unknown file icon.

This entry was posted in New Features and tagged . Bookmark the permalink.

9 Responses to Native File Associations in Maia

  1. Tero says:

    Hopefully this file association feature will be supported on OS X too.

  2. Stephen Friedrich says:

    Great that this is finally addressed!

    However I think this implementation is flawed: There will always be file types, that I would like to sometimes open in IDEA and sometimes in the native app (png, txt, whatever).

    How can I decide whether I want to open the file in IDEA or in the native app?

    Also: Is there more integration on the way? Navigate to a file/folder in the native explorer? Open with any native application?

  3. yole says:

    Tero: The feature works under Windows, MacOS X, Gnome and KDE.

    Stephen: We’ll likely add a separate action to open any file in the associated app. Navigating to file/folder in the native explorer is already supported via Ctrl-clicking on editor tab, and we also plan to add a Select In target.

    I don’t think we’ll add a feature to open a file with any native application. You can already do a large part of it using external tools. Adding a UI for showing the list of all apps with which a file can be opened is too platform-specific and quite complicated.

  4. Charlie Hayes says:

    This looks a lot like manually assigning the application to the file type and nothing like using the actual system file type association. Am I wrong?

  5. yole says:

    Charlie,

    Please take a better look. The standard IntelliJ IDEA file type assignment is of course still there, but if you choose to use the associated application, you don’t need to assign the app manually.

  6. Charlie Hayes says:

    Aha! You’re right!

  7. ij90user says:

    I have a make file, bymistake I selected some option, now IJ thinks it is a binary an I can’t option it, is there a way to change the file association to text ?

    I looked at settings–> File Types, but as this is make file , it does not have any extension, so I don’t find it in any “Recognized file Types” !!

    any help to change this association ?

    and btw, how do you add file association where there is no extension like mine ?

  8. David says:

    I got the same problem as ij90user.

  9. David says:

    I found the solution.
    Go to File->Settings–>File Types, choose the file type that you selected by mistake. In my case, it was “Text files”. In the Registered Patterns, delete the your file name,which was registered when you chose it by mistake.

    Everything is fine now.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>