Skip to content

Autocomplete Hinter should support different p5.js versions #4104

@ksen0

Description

@ksen0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement to an existing featureNeeds DiscussionRequires further conversation or consensusp5v2 switch: recommendedThis would be very valuable to complete before p5v2 becomes default, but is not a strict requirement

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions