atom-ide-flow icon indicating copy to clipboard operation
atom-ide-flow copied to clipboard

Atom IDE support for Flow

Results 25 atom-ide-flow issues
Sort by recently updated
recently updated
newest added

The contents of `atom-text-editor` elements are no longer encapsulated within a shadow DOM boundary. Please, stop using `rootElement` and access the editor contents directly instead. ``` HTMLElement.rootElement (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:23:10) getElementsByClass (/Users/tupy/.atom/packages/ide-flow/lib/utils.coffee:52:17)...

Really excited to use this package. Having trouble installing it though. ```sh $ uname -a Darwin MacBook-Pro-4.local 15.6.0 Darwin Kernel Version 15.6.0: Sun Jun 4 21:43:07 PDT 2017; root:xnu-3248.70.3~1/RELEASE_X86_64 x86_64...

running type check produces following error in the web-inspector console: ``` env: node: No such file or directory util-flow-command.coffee:30 ```

Argument to `path.extname` must be a string ``` Object.extname (/Applications/Atom.app/Contents/Resources/app.asar/src/electron-shims.js:20:10) isFlowSource (/Users/mauroronchi/.atom/packages/ide-flow/lib/utils.coffee:11:21) EditorControl.showExpressionType (/Users/mauroronchi/.atom/packages/ide-flow/lib/editor-control.coffee:94:13) (/Users/mauroronchi/.atom/packages/ide-flow/lib/editor-control.coffee:49:26) ```

This is now a view method. Call TextEditorElement::screenPositionForPixelPosition instead. ``` TextEditor.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3554:12) EditorControl.showExpressionType (/Users/mauroronchi/.atom/packages/ide-flow/lib/editor-control.coffee:98:30) (/Users/mauroronchi/.atom/packages/ide-flow/lib/editor-control.coffee:49:26) ```

In `ide-flow/styles/ide-flow.less`: Starting from Atom v1.13.0, the contents of `atom-text-editor` elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using `:host` and `::shadow` pseudo-selectors,...

These changes allow the user to automatically check any js file with flow ignoring the // @flow syntax

Perhaps I'm the first one to try using this package with Windows, since support is [new](https://flowtype.org/blog/2016/08/01/Windows-Support.html)? Installation fails fast. ``` $ apm install ide-flow Installing ide-flow to C:\Users\Jonathan\.atom\packages failed npm...

Often times if flow errors many of them overlaps, in which case layers of red highlight makes it impossible to see or navigate around the code. Would be nice to...

When a .flowconfig does not exist, Flow sends back a message saying it cannot find one, but the package doesn't notify the user that one needs to be created or...