Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAce Editor Mode? #413
Comments
feross
added
the
question
label
Feb 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Ace Editor mode? Why can't you just use the JavaScript mode? If you're talking about showing errors inline, then you might have a look at https://github.com/ajaxorg/ace/wiki/Syntax-validation and see if you can't hook that up to standard's API. |
feross
closed this
Feb 20, 2016
This comment has been minimized.
This comment has been minimized.
|
I was mostly looking for a way to avoid errors. The JavaScript mode enforces the opposite of several of the standard rules.. and the hacks to make it work are.... hacks. Simplest example is semi-colons are explicitly required. I've already been through the Ace wiki and the standard API... and I intend to implement it myself. I was just hoping something already existed :-) |
This comment has been minimized.
This comment has been minimized.
|
Yeah, not that I've heard of. When you're done implementing it, you should post the link here, and submit a PR so we can list it in the editors section :) |
coreybutler commentedFeb 9, 2016
Can anyone point me to an existing Ace Editor mode supporting Standard syntax? I'm embedding a mini IDE in an Electron app and would love to enforce this syntax.