Files
flipper/DEV_ENVIRONMENT.md
Michel Weststrate 80524220b3 Updated install instructions for VSCode
Summary: Following the existing installation instructions for VSCode, TypeScript code was not formatted or linted out of the box

Reviewed By: passy

Differential Revision: D18061117

fbshipit-source-id: bedb57de47f4e880449d859b0dce2dd18f5f2995
2019-10-22 08:48:17 -07:00

925 B

Developer Environment Setup

Desktop app and Flipper Plugins (Javascript)

The flipper desktop source uses Flow, TypeScript, and ESLint. Feel free to use your preferred setup, but this is our recommended approach:

Editor: Visual Studio Code

Installed Extensions:

  • ESLint
  • Flow Language Support
  • TypeScript and JavaScript Language Features (enabled by default)

Settings:

{
    "flow.useNPMPackagedFlow": true,
    "javascript.validate.enable": false,
    "eslint.autoFixOnSave": true,
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "typescript",
        {"language":"typescriptreact", "autoFix": true}
    ],
}

Android plugins and SDK (Java)

Editor: Android Studio

iOS plugins and SDK (Objective-C)

Editor: XCode

Cross-platform SDK (Used by Android and iOS SDK) (C++)

Editor: XCode, Android Studio, Visual Studio Code, Vim...