Skip to content

Love2D newImage with 1 parameter - false warning #1173

@LePadawan

Description

@LePadawan

Hi,

I love your extension in VSCode but I use the Love2D framework and when you create a new Image with only 1 parameter (the filepath), the warning is not necessary.
It is perfectly fine to just use 1 parameter as the second one is optional - and defaulted to nil - ( see the love2d doc )

Can you maybe remove this warning ? Thanks :)

Screenshots
bad_warning

Environment:

  • OS: Windows
  • Client: VSCode

Metadata

Metadata

Assignees

No one assigned

    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