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

Hide a column #140

Closed
52fisher opened this issue Feb 3, 2024 · 6 comments
Closed

Hide a column #140

52fisher opened this issue Feb 3, 2024 · 6 comments
Labels

Comments

@52fisher
Copy link

52fisher commented Feb 3, 2024

Version?

both

Feature

Hello developer, thanks for developing this great plugin. I use this plugin mainly to provide Chinese translation for some good mods, there are some columns in other languages, and I just need some of them to be enough, if all the columns come out, it will look like this page is especially crowded, making it difficult to read. I hope to add the ability to hide a certain column.
图片

Describe the feature you want to suggest.

@janisdd
Copy link
Owner

janisdd commented Feb 4, 2024

Interesting idea! I think this would is possible because hiding rows with comments also works.

It would be best to add the following two options to the context menu (right-click):

  • hide/unhide column
  • hide/unhide row

I'll look into this

janisdd added a commit that referenced this issue Feb 9, 2024
- hidden rows/col are now reset when data is reset
janisdd added a commit that referenced this issue Feb 9, 2024
…den (headers)

  - fixed issue where first and last row/col hidden status was not properly determined
@janisdd
Copy link
Owner

janisdd commented Feb 9, 2024

To keep things simple, I only implemented the "hide column" feature (was more work than expected, so no "hide rows").

It also supports selecting multiple columns (cells) and hiding them with one click.

Will be part of the next update.

@52fisher
Copy link
Author

52fisher commented Feb 9, 2024

Thank you, janisdd. this is really good news.

@janisdd
Copy link
Owner

janisdd commented Feb 9, 2024

Before I forget, for the documentation: unhiding columns sets the column widths to automatic size

@janisdd janisdd added the documentation some helpful information label Feb 9, 2024
@52fisher
Copy link
Author

BTW, this extension is really so excellent that I would like to share it to more friends. I don't know if you have any plan to do localization (by vscode-nls) for this extension, I'm willing to contribute Chinese translation!

@janisdd
Copy link
Owner

janisdd commented Feb 16, 2024

Thanks for the offer, but I currently have no plans to add localization.
I don't think there is much text in the extension and it would make the extension more complicated (with little benefit).

By the way: The next update is expected to be released this weekend.

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

No branches or pull requests

2 participants