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.
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.