You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-29Lines changed: 26 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,32 +6,27 @@ Create and run Processing sketches in Visual Studio Code.
6
6
7
7

8
8
9
-
This extension adds support for Processing sketches in VSCode. Includes familiar run and stop buttons, syntax highlighting, code suggestions, and easy access to your sketchbook and examples. If you prefer coding in VS Code, this extension makes it easier to work with Processing.
9
+
This extension adds support for Processing sketches in VSCode. It includes familiar run and stop buttons, syntax highlighting, code suggestions, and easy access to your sketchbook and examples.
10
10
11
-
## Requirements
12
-
13
-
You will need **Processing 4.4.6 or later** installed on your computer ([Download Processing](https://processing.org)).
11
+
## Getting Started
14
12
15
-
**IMPORTANT:** Run Processing at least once after installing it. This creates the files the extension needs.
13
+
### Prerequisites
16
14
17
-
## Features
15
+
Before you begin, make sure to:
18
16
19
-
* Run and stop sketches directly in VS Code
20
-
* Browse your sketchbook and open example sketches
21
-
* Syntax highlighting for Processing code
22
-
* Code suggestions and error checking with the Processing Language Server
23
-
* Automatic detection of your Processing installation (no manual configuration required)
17
+
- Install **Processing 4.4.6 or later** ([Download Processing](https://processing.org))
18
+
- Run Processing at least once after installing it. This creates the files the extension needs.
19
+
- Uninstall any previously installed Processing extensions. This extension may conflict with other Processing extensions, leading to unexpected behavior.
24
20
25
-
##Install
21
+
### Installation
26
22
27
-
Install the extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/) or search for "Processing" in the [Extension Marketplace](https://code.visualstudio.com/docs/configure/extensions/extension-marketplace) within VS Code.
23
+
Install the extension from the [Visual Studio Marketplace](https://vscode.processing.org/) or search for "Processing" in the [Extension Marketplace](https://marketplace.visualstudio.com/). You can also install it directly from VS Code by searching for "Processing" in the Extensions view (`Ctrl + Shift + X` or `Cmd + Shift + X` on macOS). Pick the extension published by "Processing Foundation".
28
24
29
-
##Getting Started
25
+
### Running Your First Sketch
30
26
31
-
1. Install the Processing extension for VS Code.
32
-
2. Click the Processing icon in the Activity Bar on the side of the VS Code window.
33
-
3. Open a sketch from your sketchbook or from the examples.
34
-
4. Click the Run button to start your sketch.
27
+
1. Click the Processing icon in the Activity Bar on the side of the VS Code window.
28
+
2. Open a sketch from your sketchbook or from the examples.
29
+
3. Click the Run button to start your sketch.
35
30
36
31
When you run a sketch, a terminal will open at the bottom of VS Code to show the build output, and the Processing sketch window will appear.
37
32
@@ -46,16 +41,24 @@ You can customize the extension in VS Code settings
46
41
-`processing.newWindow`: Opens sketches in a new VS Code window. If disabled, sketches open in the current window. Default: `true`.
47
42
-`processing.version`: Choose which installed Processing version to use. Default is `latest`, but you can specify a version (e.g., `4.4.6`).
48
43
44
+
## Known Issues
45
+
46
+
* Some Processing constants (like `PI`, `RGB`, `DEGREES`) are not highlighted.
47
+
* The extension includes a bundled JDK for macOS, Windows, and Linux. This increases the extension size, but is necessary for reliably detecting your Processing installation across platforms. Eventually, we hope to remove this dependency and rely on the Processing CLI instead.
48
+
49
49
## Troubleshooting
50
50
51
51
If something doesn’t work:
52
52
53
-
* Close any running Processing sketches or editor windows
54
-
* Remove any other Processing extensions that might conflict with this one
55
53
* Close VSCode
56
-
* Check you have installed Processing 4.4.6
57
-
* Run the Processing editor once
58
-
* Restart VSCode
54
+
* Remove any other Processing extensions you may have installed
55
+
* Install the latest version of Processing (4.4.6 or later)
56
+
* Close any running Processing sketches or editor windows
57
+
* Run the Processing editor (PDE) once
58
+
59
+
After following these steps, reopen VSCode and try again.
60
+
61
+
If you still encounter issues, please ask on the [Processing Forum](https://discourse.processing.org) or check the [GitHub Issues page](https://github.com/processing/processing-vscode-extension/issues).
59
62
60
63
## Compatibility
61
64
@@ -65,12 +68,6 @@ The extension has been tested on:
65
68
* Windows 64-bit
66
69
* Linux 64-bit
67
70
68
-
## Known Issues
69
-
70
-
* Some Processing constants (like `PI`, `RGB`, `DEGREES`) are not highlighted yet
71
-
* Classes from third-party libraries are not recognized by the language server (sketches still run fine). See [this issue](https://github.com/processing/processing-vscode-extension/issues/9)
72
-
* The extension includes a bundled JDK for macOS, Windows, and Linux. This increases the extension size, but is necessary for reliably detecting your Processing installation across platforms. Eventually, we hope to remove this dependency and rely on the Processing CLI instead.
73
-
74
71
## Contributing
75
72
76
73
This project is still growing, and contributions are welcome!
0 commit comments