Skip to content

Processing doesn't recognize methods of PApplet when the sketchfolder has a hyphen in it #610

@processing-bot

Description

@processing-bot

Created by: mythicaleinhorn

Description

When the name of a sketch folder contains a hyphen, Processing doesn't recognize the methods of PApplet like draw(), background(), etc.
The sketch will compile and run without any problems anyway.

Steps to Reproduce

  1. Create a sketch in a folder with a name containing a hyphen
  2. A sketch.properties file is created pointing to the main file (which can't have a hyphen in it, Processing will refuse to start in that case)
  3. Processing won't recognize the methods of PApplet anymore (draw(), background(), etc.)

Your Environment

  • Processing version: 4.1.1
  • Operating System and OS version: TUXEDO OS 1 (KDE Plasma) / Windows 11
  • Other information: This problem exists since 4.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions