Skip to content

Great work! #1

@Lenbok

Description

@Lenbok

Hi there. I stumbled across this yesterday while searching to see if there was tree-sitter support for openscad (hoping for some structural editing support in emacs). I've previously been using the openscad LSP from the PR, so was keen to try yours out. I found it was very easy to get going, fast, and doesn't negatively interact with my normal openscad workflow. The main features I'm missing are support for:

  • jumping to definition (textDocument/definition)
  • find references (textDocument/references)
  • detection of undefined variables/modules (the LSP PR does this, I'm not sure how easy it is to add to your server).

As a side note, I also noticed that your (upstream) grammar wants a trailing semicolon on use/include lines such as:

use <Lenbok_Utils/utils.scad>

whereas openscad itself does not care.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions