Does ace.js have the ability to auto-detect languages? #4826
Answered
by
andrewnester
justanotherbyte
asked this question in
Q&A
-
Just wondering if ace.js had the ability to auto-detect a language based one some text we give it? |
Beta Was this translation helpful? Give feedback.
Answered by
andrewnester
Jun 20, 2022
Replies: 1 comment
-
No, not really, the only option is to detect based on file path |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andrewnester
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, not really, the only option is to detect based on file path
https://stackoverflow.com/questions/15903191/how-to-automatically-pick-a-mode-for-ace-editor-given-a-file-extension