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

Highlight different types of json #51

Open
usernamehw opened this issue Jul 23, 2021 · 3 comments
Open

Highlight different types of json #51

usernamehw opened this issue Jul 23, 2021 · 3 comments
Labels
feature New feature

Comments

@usernamehw
Copy link
Collaborator

Highlight data with the same colors as it uses in .json file in editor, for example string | boolean | number:

Screenshot (145)

Screenshot (146)

@RandomFractals
Copy link
Owner

interesting idea. can def. help to differentiate data types in table columns. I like it!

@RandomFractals RandomFractals added the feature New feature label Jul 23, 2021
@RandomFractals
Copy link
Owner

@usernamehw btw, if we go this route, should we add separate CSV tab and create rainbow CSV view?

Data analysts and devs seem to like it a lot: https://github.com/mechatroner/vscode_rainbow_csv

@usernamehw
Copy link
Collaborator Author

Yes, coloring columns with random colors for .csv would be an improvement.

Another feature might be coloring based on column name or column data pattern:

  • If the column name includes date => then make items of the color that user specified dates should be
  • If the table cell value matches RegExp /\d+/ => then make items of that column of the color user specified numbers should be

I don't know if .csv columns are always of the same data type or not though.

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

No branches or pull requests

2 participants