GithubHelp home page GithubHelp logo

Create a Sublime Text plugin about flow HOT 15 CLOSED

facebook avatar facebook commented on April 25, 2024
Create a Sublime Text plugin

from flow.

Comments (15)

pluma avatar pluma commented on April 25, 2024 5

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.

from flow.

gabelevi avatar gabelevi commented on April 25, 2024

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.

from flow.

avikchaudhuri avatar avikchaudhuri commented on April 25, 2024

So, who's doing this?

from flow.

pspeter3 avatar pspeter3 commented on April 25, 2024

This would be awesome!

from flow.

nicosantangelo avatar nicosantangelo commented on April 25, 2024

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?

from flow.

fdecampredon avatar fdecampredon commented on April 25, 2024

For those interested I'm working on brackets support .

from flow.

darrenderidder avatar darrenderidder commented on April 25, 2024

Gave it a shot here: https://github.com/darrenderidder/Sublime-Flow

from flow.

josebalius avatar josebalius commented on April 25, 2024

Would love to see something with inline support :/

from flow.

nicosantangelo avatar nicosantangelo commented on April 25, 2024

@josebalius here!:

https://sublime.wbond.net/packages/SublimeLinter-flow

from flow.

josebalius avatar josebalius commented on April 25, 2024

@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?

from flow.

josebalius avatar josebalius commented on April 25, 2024

@nicosantangelo ah you need ST3 that's why.

from flow.

nicosantangelo avatar nicosantangelo commented on April 25, 2024

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?

from flow.

josebalius avatar josebalius commented on April 25, 2024

@nicosantangelo thanks tried it on ST3, pretty nice! Left you a comment on: SublimeLinter/SublimeLinter-flow#6

from flow.

samwgoldman avatar samwgoldman commented on April 25, 2024

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

from flow.

StreetStrider avatar StreetStrider commented on April 25, 2024

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.

from flow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.