Skip to content

JS Programming: Some Issues #2453

@Scavanger

Description

@Scavanger

Great feature!
I played around with it once, but never continued.

A few things I noticed:

  • IntelliSense: The editor still shows all the standard JavaScript classes/methods (such as navigator, etc.) in IntelliSense.

  • Some examples don't work:
    override.xxxx -> Cannot read properties of undefined (reading “targets”)
    Except in the ‘Edge detection’ example, without import?
    The same code override.vtx.power = 4; in other examples or own code results in the error
    => Seems to only work in Arrow functions.

  • Outdated properties in the examples?
    flight.gpsNumSat -> flight.gpsSats
    waypoint.distanceToHome -> waypoint.distance

  • Editor becomes unusable after ‘Clear’. You can no longer enter characters, only the cursor keys, backspace and delete work. Only restarting the configurator helps.

  • The confirmation (unsaved changes) when leaving the tab either does not appear at all or appears twice if you click on Disconnect from the tab.

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