-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Autocomplete Hinter should support different p5.js versions #4104
Copy link
Copy link
Open
Labels
EnhancementImprovement to an existing featureImprovement to an existing featureNeeds DiscussionRequires further conversation or consensusRequires further conversation or consensusp5v2 switch: recommendedThis would be very valuable to complete before p5v2 becomes default, but is not a strict requirementThis would be very valuable to complete before p5v2 becomes default, but is not a strict requirement
Metadata
Metadata
Assignees
Labels
EnhancementImprovement to an existing featureImprovement to an existing featureNeeds DiscussionRequires further conversation or consensusRequires further conversation or consensusp5v2 switch: recommendedThis would be very valuable to complete before p5v2 becomes default, but is not a strict requirementThis would be very valuable to complete before p5v2 becomes default, but is not a strict requirement
Type
Projects
Status
Todo
Increasing Access
The autocomplete hinter is am important tool to help newcomers navigate the codebase. However, it is not enabled by default, partly because it does not fully support multiple p5.js versions.
Feature enhancement details
Currently, the autocomplete hinter is does not completely support multiple different version of p5.js. You can switch to p5.js 2.0+ version with the hinter on and observe:
Although the link is to the correct website (beta.p5js.org), the dropdown is missing functions that exist on v2 (such as
buildMaterialShader) and should be shown.The differences between the APIs can be extracted from https://beta.p5js.org/reference/data.json (v2) and https://p5js.org/reference/data.json (v1).