-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Detect Opened File in Ace Editor #289
Comments
duplicate of #183 yes it would be awesome if it automatically detects file-type. here I'm editing |
The problem is that the selector always displays "javascript" as the first choice. Incidentally, there is another problem by simply specifying file extension as document type. It only succeeds in: .php, .xml, .html, .text and a few others. For example, it fails with: .htm, .txt .js and many others, since the system's defined document types must be specified. Here is the list of document types:
And here is a link to all the .js modules that can be used. |
Fixes setting drop down boxes to the current ace editor mode and theme on page load.
Hi there, I wonder if we can set automatically opened file in ace editor?
in my case, I open php files, but selected mode is Javascript
Thank you
The text was updated successfully, but these errors were encountered: