semantic icon indicating copy to clipboard operation
semantic copied to clipboard

Dart support

Open dnfield opened this issue 5 years ago • 6 comments

I've read through a couple issues and https://github.com/github/semantic/blob/master/docs/adding-new-languages.md - mainly filing this so it's tracked somewhere and people out there realize it's desired.

I'm a bit curious - is there any option to support talking to a language server directly? Otherwise, each new language feature over time will take additional grammar updates/parser updates. If it's somehow possible to just integrate with a langauge server, it'd be much easier to implement Dart support.

If it makes sense to file a separate bug for LSP support I'd be happy to.

dnfield avatar Jan 31 '20 22:01 dnfield

@dnfield LSP doesn’t provide enough information to be a proper driver for Semantic, unfortunately. The process of adding new languages is about to get much easier, so that documentation will (thankfully!) be out of date soon.

patrickt avatar Feb 03 '20 15:02 patrickt

Will it still be necessary to do the tree sitter parser? As in, would it be worth starting on that with the upcoming changes?

dnfield avatar Feb 03 '20 18:02 dnfield

@dnfield: Great question! Yes, definitely 👍

robrix avatar Feb 03 '20 18:02 robrix

any update on this?

trentgrover-wf avatar Nov 30 '20 17:11 trentgrover-wf

Did the process of adding a new language get easier? Maybe Dart can be revisited?

ChristianEdwardPadilla avatar Oct 01 '22 19:10 ChristianEdwardPadilla

@ChristianEdwardPadilla Yes! Take a look at the tree-sitter documentation: https://tree-sitter.github.io/tree-sitter/code-navigation-systems

patrickt avatar Oct 03 '22 13:10 patrickt