How to assign default app to unlisted file type in Android 6.0 Marshmallow, is it possible to assign a default app to a file type that isn't listed yet? Specifically, I have *.notes for plain text notes, and *.md files for markdown. Windows is set to open them with my editor. 

Is this possible in Android? So far, I can only assign default apps to file types that are already listed. Not to ones that aren't yet. From here etc., I find several different apps all called 'default app manager'. None of them seem to offer what I want. 

Any suggestions?
Although this is slightly programming related, nevertheless;

You can't assign an application to open a specific file extension (.notes or .md in this case) if the application has no explicit intent filter declared in manifest file to open that extension type.

When an app is created it usually has various intent categories and intent filters for  particular file extension(s) that makes android to recognise the capability to open a file extension. 

If the declared intent filter matches that of a particular file say .pdf  then android populates and lists all available applications capable of handling that file type, otherwise if no application contains thie specific intents to open/browse etc the particular file extension (.md or .notes in this case) then there is no way to set a default application for that file extension or at least to open that extension.

To expand on this lets consider an intent filter for a cetain application capable of opening/handling audio files:

 &lt;action android:name="android.intent.action.VIEW"/&gt;
                &lt;category android:name="android.intent.category.DEFAULT"/&gt;
                &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
                &lt;data android:scheme="content"/&gt;
                &lt;data android:scheme="file"/&gt;
                &lt;data android:mimeType="application/x-flac"/&gt;
                &lt;data android:mimeType="audio/*"/&gt;
                &lt;data android:mimeType="application/ogg"/&gt;
                &lt;data android:mimeType="application/x-ogg"/&gt;
                &lt;data android:mimeType="application/itunes"/&gt;
            &lt;/intent-filter&gt;


In the named intents categories this audio application will have the capability to handle files extensions of audio types including .ogg and itunes file types.

Unless the intents to browse or open these file extensions have been declared in the manifest files of your already installed applications, you can't assign any application to be default. Either you first have to install an app capable of handling such extension or create your own application using suitable filters.

Related:  Android intent filter for a particular file extension?