Skip to content

graded-cs-resources/processing_java_starter_vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bouncing Balls - A VS Code Processing Java Template

This provides a minimum template to get Java Processing set up with visual studio code, the best dang coding editor out there!

Getting Started

Install Dependencies

Before you can use this, you need to install Visual Studio Code, the Java Developer Kit, and a bunch of extensions. You have two pathways forward, pick whichever you prefer

Install everything in one go (easiest)

Microsoft provides a downloader that will help you install everything you need. This is probably the easiest option:

Click here if you have a Mac!

Click here if you have a Windows PC!

OR Install everything manually

If you want to go this route, you'll need to install all three things below.

  1. Visual Studio Code - The editor where we will type code
  2. Java SDK - the Java Developer Kit, lets us write java (choose version 11, the default)
  3. Visual Studio Code Java Extension Pack - Installs more complete java support inside of visual studio code

Download this project

You can download this project using the green "Download" button up above. If you have git installed, feel free to use it, but if not you can simply download the entire project as a ZIP file. Save it somewhere on your computer you can find it and won't delete it (maybe a special folder for code?) and extract the file by double-clicking.

Open the project

Open Visual Studio Code, and click the "Open Folder" link on the main page, or use File->Open Folder. Navigate to the folder you just extracted, select it, and click Open.

It may take a minute to open the file, enable all the java extensions, and read in all of the dependencies.

Try running the project

Open the Sketch.java file, which is inside the src folder, then press F5 or choose Run->Start Debugging . If all goes well, you should be able to move your mouse around a window and watch some circles appear.

Check the Processing web page for more information on writing processing code!

You are ready to start tweaking the code in Sketch.java. Good luck!

About

Starter project for processing with java to be used in visual studio code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages