Skip to content
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

Ace Editor Mode? #413

Closed
coreybutler opened this issue Feb 9, 2016 · 3 comments

Comments

@coreybutler
Copy link

commented Feb 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.

@feross feross added the question label Feb 20, 2016

@feross

This comment has been minimized.

Copy link
Member

commented Feb 20, 2016

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 feross closed this Feb 20, 2016

@coreybutler

This comment has been minimized.

Copy link
Author

commented Feb 20, 2016

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 :-)

@feross

This comment has been minimized.

Copy link
Member

commented Feb 20, 2016

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 :)

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.