p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

p5 vscode extension linked in docs uses outdated p5.min.js (missing 2.0 APIs)

Open skyyash opened this issue 10 months ago • 3 comments

the VS Code extension currently linked in the p5.js documentation appears to bundle an outdated version of p5.min.js, which does not include newer p5.js 2.0 APIs.

Another VS Code extension was explicitly created to support p5.js 2.0.

It may be worth updating the documentation to either recommend a 2.0-compatible extension.

skyyash avatar Jan 09 '26 14:01 skyyash

I support updating that tutorial on the 2.0 branch! Not being a vscode user myself, I'm not sure how much of the tutorial needs to change once switched to that other library, let me know if you or anyone has looked into it and knows what the scope of the change would be!

davepagurek avatar Jan 09 '26 15:01 davepagurek

i’ve gone through the docs and found things to update:

  1. extension name and link
  2. extension readme link
  3. instructions for creating a new project

the current extension also seems unmaintained (last commit ~2 years ago). the p5-2.x extension looks new, so i’m not sure about long-term compatibility.

skyyash avatar Jan 09 '26 17:01 skyyash

I've noticed a regression on this, so I'll reinstate the new link:)

ksen0 avatar Apr 30 '26 07:04 ksen0