Giter Club home page Giter Club logo

flowide's Introduction

FlowIDE

Add first-class Flow support to Sublime Text! FlowIDE provides autocomplete, diagnostics, type hints, and jump-to-definition for the Flow static type checker for JS. FlowIDE provides the majority of Flow-related features implemented in Facebook's Nuclide.

Requirements

You'll need Sublime Text build 3070 or greater (tooltip support). Neither FlowIDE nor Flow support Windows.

Usage

Install with Package Control!

FlowIDE features only activate on files with the // @flow or /* @flow */ declarations. It automatically determines the root directory and .flowconfig of the file you're currently working on.

FlowIDE works out-of-the-box if the flow binary is in your PATH. To fit your needs, you can change the following settings:

  • flow_path (string): the path to your flow binary.
  • use_npm_flow (boolean): if true, uses the binary from the npm flow-bin package in the node_modules of your current file's root directory. Using flow-bin's binary will slow down editing features because it is wrapped in a Node script and starts an interpreter on each run.

Diagnostics and Autocomplete

Just works! Autocomplete generates snippets with parameter names when pressing Enter.

Type Hints

Press Command+Option+T (Control+Alt+T) to view the type of the variable or function underneath your cursor.

Jump-to-Definition

Press Command+Option+J (Control+Alt+J) to jump to the definition of the variable, function, or type underneath your cursor.

flowide's People

Contributors

tptee avatar

Watchers

James Cloos avatar

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.