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

[Suggestion] Monospace font / real code editor for the JS text box #7

Open
Explosion-Scratch opened this issue Jun 3, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Explosion-Scratch
Copy link

This would be a nice thing to have, CodeJar is a great framework for this, it lets you use any highlight function and gives you an element, auto indent, parentheses completion, everything else included.

@alyssaxuu alyssaxuu added the enhancement New feature or request label Jun 3, 2022
@alyssaxuu
Copy link
Owner

Could look into it, agreed it would be nice to have.

@Explosion-Scratch
Copy link
Author

Using a framework for this project instead of just JQUery might also help development a lot, I really like svelte because it compiles to pure HTML + JS without any bundle. It also avoids CSP problems in extensions, unlike Vue does which is nice.

I also made a component for a code editor (in Svelte) if you did want to go that route, or you could just copy paste most of it and remove the Svelte added syntax:

https://github.com/Explosion-Scratch/components/blob/a512db79c0ec51de35cfbd2a198de56f6b7e100d/CodeEditor.svelte#L14-L49

@Explosion-Scratch
Copy link
Author

Even just adding a monospace font + tab trap would go a long way towards a developer experience.

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

No branches or pull requests

2 participants