Flow: Create a Sublime Text plugin

Created on 18 Nov 2014  路  15Comments  路  Source: facebook/flow

IMO, A simple JSLint-like with live margin icons and warnings/errors would be huge. Do you have that in plan? Are you interested?

wishlist

Most helpful comment

A little birdie told me Facebook is currently trying to improve developer experience across different editors (not just Nuclide). Are there any plans to provide a ST3 plugin that handles code intelligence a bit better? SublimeLinter-Flow is better than nothing but it's 3rd party and only adds warnings and errors.

All 15 comments

Yeah! We'd love all the editor integrations that we can get! We have some rough emacs and vim support. Many of the various flow commands have a --json option, and these editor plugins generally consume that.

So, who's doing this?

This would be awesome!

I gave it a try it using SublimeLinter here.
It's mostly working but my problem is that I can't seem to find an option to "lint" a specific file using the command line. Without that, the plugin always shows the errors for every file.

Am I missing something?

For those interested I'm working on brackets support .

Would love to see something with inline support :/

@NicoSantangelo I can't seem to find that package when I search for flow, I can only find what @darrenderidder did, which works pretty good but not inline. Any ideas why I can't find SublimeLinter-flow when trying to install a package?

@NicoSantangelo ah you need ST3 that's why.

Are you using ST2?
Sadly SublimeLinter is Sublime Text 3 only.

EDIT: @josebalius haha exactly. Update! most packages work :). You can use Can I Switch To Sublime Text 3?

@NicoSantangelo thanks tried it on ST3, pretty nice! Left you a comment on: https://github.com/SublimeLinter/SublimeLinter-flow/pull/6

Seems like people have stepped up to make this one work鈥攃ool! @iclems, do any of the plugins mentioned in this thread meet your needs?

A little birdie told me Facebook is currently trying to improve developer experience across different editors (not just Nuclide). Are there any plans to provide a ST3 plugin that handles code intelligence a bit better? SublimeLinter-Flow is better than nothing but it's 3rd party and only adds warnings and errors.

Hello. I'm not using margin icons and warnings and other IDE-ish-style features in ST, but I would love to see plugin which can infer types under cursor (essentially a type-at-pos feature from CLI). I was often finding myself needing to know which types are Flow thinks my code produces. It is often happen that even if flow check shows zero errors is not meaning everything is ok (false negative). Plugin would allow me to catch such errors more fast and more often.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ctrlplusb picture ctrlplusb  路  3Comments

marcelbeumer picture marcelbeumer  路  3Comments

mjj2000 picture mjj2000  路  3Comments

damncabbage picture damncabbage  路  3Comments

funtaps picture funtaps  路  3Comments