Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Is there a way to detect file type automatically? or based on a file extesion? #157

Open
mmumshad opened this issue Aug 25, 2016 · 1 comment

Comments

@mmumshad
Copy link

Is there a way to detect file type automatically based on the file contents or based on a file extension? Is there a file extension to type map available?

@briceambrosiak
Copy link

There is indeed, using an extension... but I don't know how to load it using Angular ui-ace.
Any pointers?

http://stackoverflow.com/questions/15903191/how-to-automatically-pick-a-mode-for-ace-editor-given-a-file-extension

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants