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

Add latex snippets/code completion in ACE editor #10

Open
shashaBot opened this issue Mar 26, 2020 · 6 comments
Open

Add latex snippets/code completion in ACE editor #10

shashaBot opened this issue Mar 26, 2020 · 6 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@shashaBot
Copy link
Collaborator

shashaBot commented Mar 26, 2020

This task requires:
To create a snippets file in the root directory, latex.snippets which will be them imported in ACE editor instance.
For now, you can create the file with 1-2 snippets and then we can extend it later.

@poush poush added the good first issue Good for newcomers label Mar 28, 2020
@chhavi18387
Copy link

@shashaBot Could you please elaborate what we need to do in this issue?

@shashaBot
Copy link
Collaborator Author

Snippets are the piece of editor that powers things like autocomplete and bracket matching when the user presses [TAB]. We want to enable this for latex in ACE editor. ACE does not provide latex snippets on its own but fortunately, it has a mechanism through which we can create and register snippets for any language. That is precisely what we want to do.

Please see this file for example. The documentation for snippets is here.

Since creating an exhaustive snippets file would be difficult for any one individual we would like multiple collaborators on this issue.

@escher-m
Copy link

escher-m commented Apr 3, 2020

My teammate and I would like to work on this issue. Please assign this to @chhavi18387 and I.
-Team BigUhOh (RGSoC '20)

@chhavi18387
Copy link

chhavi18387 commented Apr 27, 2020

@shashaBot Could you please help us figure out where to import latex.snippets file so that we can verify our code?

@shashaBot
Copy link
Collaborator Author

Please go through this: ajaxorg/ace#3656
Try to make it work and report back if you face issues 👍

@chhavi18387
Copy link

Okay!

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

No branches or pull requests

4 participants