Sublime Forum

Dart native support

#1

Yes, I know that would be impossible to in-house build support for any crazy language or framework out there. But c’mon, guys. Flutter is big enough to have some attention of Sublime team. The community plugin has more than 5 years old and it’s terrible.

Please, consider to fix this problem and take a look at the Dart problem :wink:

Until there, I’m beening forced to use the VSCode for this :frowning:

I wish you all a great weekend
Eduardo

0 Likes

#2

We don’t currently have the intention of adding Dart to the default packages, no.

Anyone who is interested in contributing to the Dart syntax can do so via https://github.com/guillermooo/dart-sublime-bundle, or someone can fork it if the original maintainer no longer is maintaining it.

If no one in the community is maintaining the package, then it wouldn’t be maintained as a default package either, since the default packages are largely driven by the community. You can see them all at https://github.com/sublimehq/Packages. The process is driven by community bug reports and mostly community pull requests.

2 Likes

#3

Someone should ask Google to provide Dart packages.

0 Likes

#4

Someone did, and the response was basically the same of the Sublime Team: https://github.com/flutter/flutter/issues/29915

0 Likes

#5

Personally, if I can’t use my text editor for doing something, I will not write that code until this could be done on Sublime or pure VIM. VSCode just destroyed my battery with my notebook closed! Very impressive piece of junk.

0 Likes

#6

If you are keen to use Dart with Sublime Text and are willing to do some of the work yourself, quite a number of primary contributors hang out in the Discord channel and are usually more than happy to answer questions and give pointers.

2 Likes

#7

For what it’s worth, the VSCode Dart syntax definition looks like a simple transform of a TextMate tmLanguage, so you could probably convert it to something Sublime-compatible.

Of course, a native sublime-syntax would probably provide better highlighting because Sublime’s syntax highlighting engine is fundamentally more powerful than VSCode’s. If you’re interested in creating one, I second the recommendation to ask about it on Discord.

2 Likes