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

Suggestions on how to add custom snippets #5

Open
LennDG opened this issue Jun 13, 2019 · 3 comments
Open

Suggestions on how to add custom snippets #5

LennDG opened this issue Jun 13, 2019 · 3 comments
Labels

Comments

@LennDG
Copy link

LennDG commented Jun 13, 2019

I am trying to add a custom snippet file to the ace editor. Are there any suggestions how to do that through this angular wrapper for ace?

The basic snippet files included in brace are not enough and I need to extend them.

@sconix
Copy link
Contributor

sconix commented Jun 15, 2019

I think ACE has API for adding snippets so perhaps ask in ACE related forums. This wrapper does not offer any special API for it so its all about ACE and its API.

@LennDG
Copy link
Author

LennDG commented Jun 19, 2019

I have looked into the ACE API but it does not have any API calls available for adding snippets. I did find something about getting the snippetmanager from ace but that means I need to get the ace instance. Does this wrapper expose the ace instance it uses anywhere?

@sconix
Copy link
Contributor

sconix commented Jun 19, 2019

Yes its exposed, just see the README or example app how to get it.

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

No branches or pull requests

2 participants