Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[nuclide-swift] Provide dynamic syntax highlighting via SourceKit #649
Thanks to the SwiftPMTaskRunnerStore, the compile commands we store, and SourceKit, we could potentially provide really great syntax highlighting.
At the very least, we can use the
Without compiler args, SourceKitten reports the vast majority of symbols as
Unfortunately, it seems like dynamic grammars are not straightforward in Atom. @jarsen provided these helpful links:
We should look into building a dynamic grammar for Swift.
You might also want to take a look at tree-sitter. It is written by Max Brunsfeld, who is part of the github atom team. I was thinking of using it to create a package to replace my language-babel grammar. Maybe he can cast some light on whether this it will make it into core atom?