Add tree-sitter Crocq grammar + annotation language features #5
Loading…
Reference in a new issue
No description provided.
Delete branch "tree-sitter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tree-sitter-crocq project added
integrated into extension with basic features
@ -0,0 +37,4 @@crocqParser: CrocqParser,diagnosticCollection: vscode.DiagnosticCollection,annotationStore: AnnotationStore,): (doc: vscode.TextDocumentChangeEvent) => void {Duplicate code, reduce
@ -0,0 +12,4 @@provideHover(doc, position, _token) {const hoverResults: vscode.MarkdownString[] = [];// for debug tree sitter AST vvvconst tree = crocqParser.parse(doc.getText());Can we add a debug flag for this
@ -0,0 +5,4 @@color: '#6b97ff',});// TODO: mock for how we could do highlihting of our annotationsCreate a git issue for this
tree-sitterto Add tree-sitter Crocq grammarAdd tree-sitter Crocq grammarto Add tree-sitter Crocq grammar + annotation language featuresOK