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 a preference to allow for custom colours #33

Open
dsample opened this issue Apr 16, 2019 · 1 comment
Open

Add a preference to allow for custom colours #33

dsample opened this issue Apr 16, 2019 · 1 comment

Comments

@dsample
Copy link

dsample commented Apr 16, 2019

In the intent-rainbow plugin, there is a preference for a list of colours. When specified, the array would be processed on a loop, rather than the default colour list.

When processing a CSV file with a varying length of content with one column, it's hard to find the columns which line up, the further you scroll along the row with only a small number of different colours.

@mechatroner
Copy link
Owner

indent-rainbow uses a different technology, instead of syntax defintion files it relies on VSCode setDecorations API method. As I understand this method offers greater flexibility at the cost of performance. I didn't check but I suspect it won't work for large CSV files.
Still if VSCode would support dynamic generation of syntax files it would be possible to increase the number of colors, but I don't think this could be implemented any time soon.

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

No branches or pull requests

2 participants