quinton-ashley / p5play

JavaScript game engine that uses q5.js/p5.js for graphics and Box2D for physics.
https://p5play.org
GNU Affero General Public License v3.0
667 stars 184 forks source link

Error Messages #279

Closed Honeybee4642 closed 11 months ago

Honeybee4642 commented 11 months ago

When I write a p5play function it shows it as an error. But it still functions. It would be nice if it did not show as an error message.

quinton-ashley commented 11 months ago

What editor are you using?

Honeybee4642 commented 11 months ago

Visual Studio Code

quinton-ashley commented 11 months ago

I've never seen Visual Studio Code show an error like that for JavaScript by default, so maybe it's an extension you're using? In any case it's not an issue with p5play so I'll close this issue but if you figure it out please reply in case others are having the same issue.

Try adding support for p5play auto-completion: https://github.com/quinton-ashley/p5play/wiki/FAQ#how-do-i-enable-auto-completion-in-visual-studio-code