-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add to VSCode guide #54
Comments
Proposing to add a section for Importing a Gradle project: If the project comes with Gradle support, you will see a build.gradle file in your project root. Install the Extension Pack for Java extension to enable support for Java extensions.
(a) Confirm the project JDK is set to the one you are supposed to use for the project, as giving in the panel below: i. Open the Command Palette by pressing Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac). (b) Confirm the correct JVM is used for Gradle, as given in the panel below:
|
@UdhayaShan1 You also had plans to add something similar (in #61), right? Any thoughts about @ruishanteo's proposed content? |
Can confirm that the above suggestion by @ruishanteo to import a Gradle project works and produces a Gradle toolbar in VS Code in both my Windows and Mac machines. Running the Overall, all the content is essential to ensuring the Gradle toolbar works and runs properly, especially the setting up of project JDK and JVM since Gradle toolbar needs to run with compatible JDK and JVM versions with the Java project or else the Java compilation or running of the program may fail. Screenshot |
Proposing to add a section for Configuring Checkstyle in VSCode: Install the CheckStyle for Java extension in VSCode to allow CheckStyle to alert you about code style problems as you write code. Setting up Checkstyle for Java projects in VSCodeThis is assuming the two Checkstyle files (
|
All who proposed additions to the VSCode guide, feel free to submit PRs if there are no similar PRs already. |
I've added an empty VSCode guide at https://se-education.org/guides/tutorials/vscode.html
This page is supposed to provide helpful info for VSCode users, similar to what we have provided for Intellij.
However, VSCode is not supported officially by our courses, which means this guides will be an 'unofficial community resource'.
For the moment, let's keep it as one page, but we can split it into multiple pages later.
Feel free to send PRs to add content to this page, one section at a time. Perhaps best to post in this issue first to propose your content, to avoid PR overlap.
The text was updated successfully, but these errors were encountered: