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

VSCode guide: Add Checkstyle setup tutorial #85

Closed
wants to merge 1 commit into from

Conversation

brein62
Copy link

@brein62 brein62 commented Sep 23, 2024

Implementation of my proposal for Checkstyle plugin setup in the VS Code guide in #54.

Some may want to set up Checkstyle on their Visual Studio Code environment to allow for any code style issues to be easily detected and fixed during development.

Let's add a tutorial to help developers easily set up their Visual Studio Code environment for Checkstyle, and add a few images to make the tutorial more clear for developers.

Some may want to set up Checkstyle on their Visual Studio Code
environment to allow for any code style issues to be easily detected
and fixed during development.

Let's add a tutorial to help developers easily set up their Visual
Studio Code environment for Checkstyle, and add a few images to make
the tutorial more clear for developers.

1. Open Visual Studio Code.
2. If you haven't already downloaded the [Extension Pack for Java](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack) extension to import a Gradle project, download it using `Extensions -> Search 'Extension Pack for Java' -> Install`. This is required as the Checkstyle for Java extension is dependent on [Language Support for Java by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.java), one of the extensions in this extension pack, to work properly.
Copy link
Contributor

@mfjkri mfjkri Sep 23, 2024

Choose a reason for hiding this comment

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

Assuming that the section on importing a grade project will be added, should step 2 simply direct users to read and follow that section first?

Copy link
Author

Choose a reason for hiding this comment

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

In the importing a Gradle project section, there are quite a few steps about setting up the JRE and JDK in VSCode which may not be relevant to the Checkstyle guide specifically, so I think that adding the instruction to download the specific extension if not done yet should be enough.

However, if that section is added, I still think it would be best to add a link to that section to allow interested users to add a Gradle toolbar to their project if they haven't done so already.

damithc pushed a commit that referenced this pull request Sep 29, 2024
@damithc
Copy link
Contributor

damithc commented Sep 29, 2024

Thanks for this PR, @brein62
I've adapted its content in this commit b4ef0b6

@damithc damithc closed this Sep 29, 2024
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