Skip to content

Conversation

kammeows
Copy link
Owner

Initially, when users created objects of p5.js classes (like p5.XML using loadXML()), the editor couldn’t show methods specific to those classes in the autocomplete suggestions. But the updated code can now detect when a variable is an instance of a class and suggest the appropriate class methods after a dot (only the appropriate class methods are suggested, not the other default ones).

There's just one error with the UI which I need to fix, but other than that, it works how it's supposed to!

image

@kammeows kammeows merged commit 819b9cb into develop Jun 13, 2025
kammeows pushed a commit that referenced this pull request Aug 10, 2025
…_utils_instance

pr05 Typescript #2: automatically resolve imports of ts files & migrate instance of client/utils file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant