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

Set a bunch of project encodings to UTF-8 #902

Conversation

fedejeanne
Copy link
Contributor

It was done using a "Quick Fix" and the value set (UTF-8) is the same value that any other project in the workspace uses. The objective of this commit is to declutter the "Problems" view.

org.eclipse.jdt.ui.unittest.junit/.settings/.api_filters Outdated Show resolved Hide resolved
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For what I see in ValidateProjectEncoding, the validation is applied in all projects in the workspace without making any distintion as to whether they are test projects or not.

Do you think these changes should be reverted? I think they don't really bother much and the warning just clutters the Problems view, that's why I applied the Quick Fix to all of them.

Copy link
Member

Choose a reason for hiding this comment

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

The test projects modified here serve the purpose to be used in tests. If there are no test fails, why is the change needed? Usually, none of the projects here are imported in any development workspace.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If there are no test fails, why is the change needed?

The idea is to declutter the Problems view and this is a low hanging fruit: it can be done easily with a Quick Fix and AFAICT it doesn't really break anything.

Usually, none of the projects here are imported in any development workspace.

I installed my IDE following the official instructions in Contributing.md and I got all those projects checked out, e.g. these JDT tests
grafik

Copy link
Member

Choose a reason for hiding this comment

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

@merks : could you please check jdt ui setup? I assume it misses some filters.

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

Copy link
Contributor

Choose a reason for hiding this comment

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

Please open an issue and assign it to me so that I/we don’t forget.

Copy link
Member

Choose a reason for hiding this comment

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

Please open an issue and assign it to me so that I/we don’t forget.

@fedejeanne : would you please do that? I'm not using oomph, so I wouldn't be able to provide steps to reproduce or to validate the fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See #903

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
Copy link
Member

Choose a reason for hiding this comment

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

This is a test folder, why it is changed?

It was done using a "Quick Fix" and the value set (UTF-8) is the same
value that any other project in the workspace uses. The objective of
this commit is to declutter the "Problems" view.
@fedejeanne
Copy link
Contributor Author

All these projects are test projects and should not be changed. I'm withdrawing this PR.
Thank you @iloveeclipse for reviewing!

@fedejeanne fedejeanne closed this Nov 3, 2023
@fedejeanne fedejeanne deleted the enhancements/set_project_encodings_to_utf8 branch November 3, 2023 21:09
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

Successfully merging this pull request may close these issues.

3 participants