Skip to content

Unit tests for the grammar? #26

Closed
Closed
@PanAeon

Description

@PanAeon

Hi,
I've written a small tool that allows to write assertions in a plaintext file against a textmate grammar, like so:

      def add(x:Int,y:Int) = x + y
          ^^^ entity.name.function.declaration

The tool uses vscode-texmate internally, so I'm pretty confident that it would work the same way as the visual studio code itself.

If maintainers are OK with this, I can include the tool in the project and write a few test cases for the Scala.tmLanguage.json.
What do you think?

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