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

Color Syntax #4

Open
showell opened this issue Jan 13, 2012 · 2 comments
Open

Color Syntax #4

showell opened this issue Jan 13, 2012 · 2 comments

Comments

@showell
Copy link
Owner

showell commented Jan 13, 2012

Color syntax would be a nice addition to this tool. People would still primarily view code in their editors, so it's not that crucial, but it would certainly be nice.

Does anybody know of a good lightweight color-syntax library that runs natively in CS/JS? I'm a big fan of pygments, but I don't want to introduce a Python dependency to this project, if I can avoid it.

Thinking outside the box, what would really be most helpful for this tool is to visually map CS code to JS code. For example, it would be nice if variable names were the same color in the CS panel as the JS panel, and you could arbitrarily assign colors to variable names.

@briannesbitt
Copy link

Matching up functions and variable names would be nice. You could just have a list of colours and loop/circle through them. The list could be pretty long so even if they get used twice odds are it'll be much later in the script.

@showell
Copy link
Owner Author

showell commented Jan 23, 2012

@briannesbitt I'm really leaning toward the loop-thru-colors approach. Good to get a +1 on that.

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

No branches or pull requests

2 participants