Open narnaud opened 1 week ago
Here is a proposal:
This is completely removing the current dialog, but better integrate TreeSitter into Knut.
Sounds good overall. The inspector could definitely use some love. It's been working fine but it's UX isn't great right now.
Side Note: .scm stands for scheme. Tree-sitter doesn't actually use scheme syntax, but it's close enough that highlighting, etc. should work fine. We should check whether KSyntaxHighlighter has a lisp/scheme highlighter, which could be good enough.
It does, and it's already in Knut... we should definitely try that before doing our own...
After some discussion, here is how we want to improve the Tree-Sitter inspector
[ ] Create a
CodeView
that is a split view with the text editor on the left, and the TS tree on the rightQmlView
)[ ] Add a TreeSitter Query dock (same dock area as the script dock
[ ] Remove the TreeSitter inspector completely