Skip to content

DevOps Dojo: Developer - VS Code Settings (Parameter JSON Schema and YAML) #3424

Open
@kaspermeck-arm

Description

@kaspermeck-arm

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I've agreed with the maintainers that I can plan this task.

Description

Create a .vscode folder with a settings.json file associating the *.schema.json with the *.param.yaml file.

Purpose

Helps make developers more efficient when creating new or modifying existing ROS node parameter files.

Possible approaches

Example of settings.json in .vscode folder.

{
  "yaml.schemas": {
    "./perception/lidar_apollo_segmentation_tvm_nodes/schema/lidar_apollo_segmentation_tvm_nodes.schema.json": "**/lidar_apollo_segmentation_tvm_nodes/config/*.param.yaml"
  }
}

Definition of done

Every ROS node which adapts the new ROS Node Configuration will need to add a line in the settings.json file, see example above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions