Skip to content

feat: Introduce a setting to control whether non-Java resources should be filtered #749

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

Merged
merged 2 commits into from
Apr 14, 2023

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented Apr 13, 2023

See:

switch-non-java-setting.mp4

The next step is add a button to quickly switch the behavior. It's not implemented yet due to an issue in VS Code: microsoft/vscode#179842

@jdneo jdneo added this to the 0.22.0 milestone Apr 13, 2023
@jdneo jdneo added the enhancement New feature or request label Apr 13, 2023
Eskibear
Eskibear previously approved these changes Apr 13, 2023
@jdneo
Copy link
Member Author

jdneo commented Apr 14, 2023

People from VS Code says that it is by design that the property of an object setting will not have the setting change update event: microsoft/vscode#179842 (comment)

If we want to expose this setting to a command, we need to change it.

I'm thinking to change it to: java.project.explorer.showNonJavaResources. Will append a commit to address that.

@jdneo
Copy link
Member Author

jdneo commented Apr 14, 2023

New UX: Give up using two commands toggling each other. Now using a static command to control all the filters in case that in the future new filters will be added.

switch-non-java-setting.mp4

Copy link
Contributor

@CsCherrYY CsCherrYY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdneo jdneo merged commit 960dcf0 into main Apr 14, 2023
@jdneo jdneo deleted the cs/switch-non-java-file branch April 14, 2023 04:34
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

Successfully merging this pull request may close these issues.

Introduce a setting to control whether non-Java resources show in the explorer
3 participants