Skip to content

VSCode doesn’t recognize classes imported from Processing libraries #9

@SableRaf

Description

@SableRaf

When using a library in a .pde sketch, the VSCode extension doesn’t recognize classes from the library, even though the sketch runs fine.

Here, for example, I'm using the gifAnimation library.

Error message

"The name 'Gif' cannot be recognized"

Expected behavior

Library classes like Gif should be recognized and not flagged as errors in VSCode.

Steps to reproduce

  1. Create a .pde sketch.
  2. Import a Processing library (e.g., gifAnimation.*).
  3. Try using one of its classes.
  4. Observe that the extension marks the class as an error.

Screenshot

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions