lukehoban / atom-ide-flow Goto Github PK
View Code? Open in Web Editor NEWAtom IDE support for Flow
License: MIT License
Atom IDE support for Flow
License: MIT License
util-flow-command.getFlowCommand returns an empty string even when Flow is installed on the system. (tested on osx 10.10). The user should also be notified that the flow path must be set manually in settings when this happens.
It'd be great to have Remote Server Support via SSH, because a lot of people use Atom and Windows and want to use Flow.
I have a HHVM Atom plugin demonstrating it, It can be found here.
This is a super great package, thanks! What do you think of supporting (perhaps optionally?) linting via linter? It would be nice to unify that aspect of the IDE's behavior with linting behaviors for other languages. Alternatively, is it possible to optionally disable linting, but keep type hinting/tooltips and autocomplete?
Hi..I'm constantly receiving this error...
Uncaught Error: spawn EACCES
/opt/atom/resources/app/src/workspace.js:614
Show Stack Trace
the ST
Error: spawn EACCES
at exports._errnoException (util.js:742:11)
at ChildProcess.spawn (child_process.js:1160:11)
at Object.exports.spawn (child_process.js:993:9)
at new BufferedProcess (/opt/atom/resources/app/src/buffered-process.js:51:37)
at run (/home/yo/.atom/packages/ide-flow/lib/util-flow-command.coffee:18:25)
at Object.module.exports.startServer (/home/yo/.atom/packages/ide-flow/lib/util-flow-command.coffee:55:15)
at Object.module.exports.check (/home/yo/.atom/packages/ide-flow/lib/util-flow-command.coffee:64:45)
at PluginManager.check (/home/yo/.atom/packages/ide-flow/lib/plugin-manager.coffee:52:21)
at atom-workspace. (/home/yo/.atom/packages/ide-flow/lib/ide-flow.coffee:12:22)
at atom-workspace.handler (/opt/atom/resources/app/src/space-pen-extensions.js:112:34)
at atom-workspace.jQuery.event.dispatch (/opt/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-workspace.elemData.handle (/opt/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/opt/atom/resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/opt/atom/resources/app/src/command-registry.js:156:19)
at WorkspaceView.jQuery.fn.trigger (/opt/atom/resources/app/src/space-pen-extensions.js:64:23)
at /home/yo/.atom/packages/ide-flow/lib/editor-control.coffee:28:28
at TextBuffer.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/emissary/lib/emitter.js:118:15)
at TextBuffer.module.exports.TextBuffer.saveAs (/opt/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:973:19)
at TextBuffer.module.exports.TextBuffer.save (/opt/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:954:19)
at TextEditor.module.exports.TextEditor.save (/opt/atom/resources/app/src/text-editor.js:585:26)
at Pane.module.exports.Pane.saveItem (/opt/atom/resources/app/src/pane.js:511:16)
at Pane.module.exports.Pane.saveActiveItem (/opt/atom/resources/app/src/pane.js:501:19)
at Workspace.module.exports.Workspace.saveActivePaneItemAndReportErrors (/opt/atom/resources/app/src/workspace.js:603:44)
at Workspace.module.exports.Workspace.saveActivePaneItem (/opt/atom/resources/app/src/workspace.js:593:19)
at atom-workspace.atom.commands.add.core:save (/opt/atom/resources/app/src/workspace-element.js:295:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app/src/command-registry.js:243:29)
at /opt/atom/resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/opt/atom/resources/app/src/window-event-handler.js:167:20)
I try change the file permission, but the error persist (even with other files in the same /src folder)
please let me know if you can fix it...thanks!...
flow-ide sometimes seems to indicate the long line of code even though Flow has told it where the error is. For example, if I have a code snippet like this:
/* @flow */
type Type = {p1: boolean};
const f = (obj: Type) => obj; // error gets shown here
f({p1: true});
f({p2: true}); // invalid code here
Then Flow will give me an easy to comprehend error message like this:
src/index.js:5
5: f({p2: true}); // invalid code here
^^^^^^^^^^^^^ function call
3: const f = (obj: Type) => obj; // error gets shown here
^^^^ property `p1`. Property not found in
5: f({p2: true}); // invalid code here
^^^^^^^^^^ object literal
whereas flow-ide will indicate line 3 only, and display the error message property 'p1'. Property not found in
.
This should work since even the JSON output from Flow seems to provide the correct information here:
{
"passed":false,
"errors":[{
"operation":{
"descr":"function call",
"path":"/home/dominicc/dev/btczero/src/shared/types/index.js",
"line":5,
"endline":5,
"start":1,
"end":13
},
"message":[
{
"descr":"property `p1`",
"level":"error",
"path":"/home/dominicc/dev/btczero/src/shared/types/index.js",
"line":3,
"endline":3,
"start":17,
"end":20
},
{
"descr":"Property not found in",
"level":"error",
"path":"",
"line":0,
"endline":0,
"start":1,
"end":0
},
{
"descr":"object literal",
"level":"error",
"path":"/home/dominicc/dev/btczero/src/shared/types/index.js",
"line":5,
"endline":5,
"start":3,
"end":12
}
],
"kind":"infer"
}],
"version":"59d090c1390486bcf585e65f2cfe0214ee74f773 Dec 18 2015 21:50:15"
}
I'm unable to use ide-flow
in the current public version, but everything works fine using the git version. Therefor I'd like to request a new release so we don't have to mess up with git inside of the Atom package folder ;-).
Thanks!
I lose all completion features if I enable ternjs and this plugin at the same time.
It's like I don't have autocomplete at all.
any idea?
running type check produces following error in the web-inspector console:
env: node: No such file or directory util-flow-command.coffee:30
Uncaught TypeError: Bad argument
Atom Version: 0.161.0
System: Mac OS X 10.10.1
Thrown From: ide-flow package, v0.1.0
At /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:126
TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (child_process.js:1134:26)
at Object.exports.spawn (child_process.js:993:9)
at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:47:37)
at run (/Users/webdev/.atom/packages/ide-flow/lib/util-flow-command.coffee:18:25)
at Object.module.exports.startServer (/Users/webdev/.atom/packages/ide-flow/lib/util-flow-command.coffee:55:15)
at Object.module.exports.check (/Users/webdev/.atom/packages/ide-flow/lib/util-flow-command.coffee:64:45)
at PluginManager.check (/Users/webdev/.atom/packages/ide-flow/lib/plugin-manager.coffee:52:21)
at atom-workspace.<anonymous> (/Users/webdev/.atom/packages/ide-flow/lib/ide-flow.coffee:12:22)
at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:112:34)
at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
at WorkspaceView.jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
at new EditorControl (/Users/webdev/.atom/packages/ide-flow/lib/editor-control.coffee:47:24)
at /Users/webdev/.atom/packages/ide-flow/lib/plugin-manager.coffee:11:39
at atom-workspace.attachedCallback (/Applications/Atom.app/Contents/Resources/app/src/workspace-view.js:94:18)
at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:110:34)
at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
at TextEditorView.jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
at TextEditorView.module.exports.TextEditorView.afterAttach (/Applications/Atom.app/Contents/Resources/app/src/text-editor-view.js:180:19)
at callAttachHooks (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:342:67)
at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app/src/pane-element.js:111:9)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)
at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:250:22)
at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:314:21)
at /Applications/Atom.app/Contents/Resources/app/src/workspace.js:494:16
at _fulfilled (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:749:13)
at /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:557:44
at flush (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:378:11)
/cc @atom/core
[Enter steps to reproduce below:]
Atom Version: 0.190.0
System: linux 3.11.0-26-generic
Thrown From: ide-flow package, v0.2.0
Uncaught TypeError: Cannot read property 'length' of null
At /usr/share/atom/resources/app/node_modules/fuzzaldrin/lib/filter.js:19
TypeError: Cannot read property 'length' of null
at module.exports (/usr/share/atom/resources/app/node_modules/fuzzaldrin/lib/filter.js:19:38)
at Object.module.exports.filter (/usr/share/atom/resources/app/node_modules/fuzzaldrin/lib/fuzzaldrin.js:21:14)
at Object.module.exports.requestHandler (/home/CORPUSERS/23060982/.atom/packages/ide-flow/lib/flow-autocomplete-provider.coffee:22:34)
at /home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:151:45
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:134:15)
at AutocompleteManager.getSuggestionsFromProviders (/home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:128:6)
at /home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1
-0:36.7 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
-0:36.1 core:move-down (atom-text-editor.editor.is-focused)
-0:35.7 core:backspace (atom-text-editor.editor.is-focused)
-0:30.1 autocomplete-plus:select-previous (atom-text-editor.editor.is-focused)
-0:28.8 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
3x -0:28.5 core:delete (atom-text-editor.editor.is-focused)
-0:27.7 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
-0:27.4 core:move-down (atom-text-editor.editor.is-focused)
-0:27.0 core:backspace (atom-text-editor.editor.is-focused)
2x -0:18.1 core:select-up (atom-text-editor.editor.is-focused)
2x -0:17.5 core:delete (atom-text-editor.editor.is-focused)
-0:14.3 core:save (atom-text-editor.editor.is-focused)
-0:04.7 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
2x -0:04.5 editor:newline (atom-text-editor.editor.is-focused)
2x -0:04.2 core:move-up (atom-text-editor.editor.is-focused)
3x -0:02.7 core:move-left (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
],
"disabledPackages": [
"project-ring"
]
},
"ide-flow": {}
}
# User
autocomplete-paths, v1.0.2
autocomplete-plus, v2.9.0
autocomplete-snippets, v1.2.0
editorconfig, v0.3.3
file-types, v0.3.0
highlight-selected, v0.9.1
ide-flow, v0.2.0
jsdoc, v0.9.0
linter, v0.12.0
linter-eslint, v0.5.1
tab-history, v0.4.0
whitespace, v0.29.0
# Dev
No dev packages
After installing this plugin, new files started opening in the same tab, and the tab name does not change to the new file name. The atom bar on top shows the correct file name.
[Enter steps to reproduce below:]
Atom Version: 1.9.8
System: "Arch Linux"
Thrown From: ide-flow package, v0.8.0
Uncaught TypeError: Path must be a string. Received undefined
At path.js:7
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.extname (path.js:1433:5)
at isFlowSource (/home/frizi/.atom/packages/ide-flow/lib/utils.coffee:7:11)
at EditorControl.showExpressionType (/home/frizi/.atom/packages/ide-flow/lib/editor-control.coffee:71:19)
at /home/frizi/.atom/packages/ide-flow/lib/editor-control.coffee:37:10
2x -0:10.8.0 pane:show-next-recently-used-item (div.panels-item)
-0:09.9.0 fuzzy-finder:toggle-file-finder (div.panels-item)
-0:09.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:09.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:08.4.0 application:new-file (div.panels-item)
-0:08.4.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-always.use-animations.theme-atom-material-syntax.theme-atom-material-ui)
3x -0:08.0 pane:show-next-recently-used-item (atom-text-editor.editor.is-focused)
-0:07.0 pane:move-active-item-to-top-of-stack (div.panels-item)
4x -0:06.3.0 pane:show-next-recently-used-item (atom-text-editor.editor.mini.is-focused)
-0:04.8.0 pane:move-active-item-to-top-of-stack (atom-text-editor.editor.mini.is-focused)
-0:04.2.0 pane:show-next-recently-used-item (atom-text-editor.editor.mini.is-focused)
-0:03.8.0 pane:move-active-item-to-top-of-stack (atom-text-editor.editor.is-focused)
{
"core": {
"autoHideMenuBar": true,
"disabledPackages": [
"neon-cursor",
"bottom-dock",
"refactor",
"js-refactor"
],
"themes": [
"atom-material-ui",
"atom-material-syntax"
]
},
"ide-flow": {
"flowPath": "flow"
}
}
# User
atom-material-syntax, v0.4.6 (active)
atom-material-ui, v1.3.3 (active)
atom-ternjs, v0.14.1 (active)
auto-indent, v0.5.0 (active)
color-picker, v2.1.1 (active)
emmet, v2.4.3 (active)
hyperclick, v0.0.36 (active)
ide-flow, v0.8.0 (active)
js-hyperclick, v1.4.2 (active)
jumpy, v3.0.3 (inactive)
language-babel, v2.22.0 (active)
language-javascript-jsx, v0.3.7 (active)
language-openscad, v0.4.3 (active)
language-pegjs, v0.5.0 (active)
linter, v1.11.4 (active)
linter-eslint, v7.2.2 (inactive)
merge-conflicts, v1.4.2 (active)
package-cop, v0.2.10 (active)
sync-settings, v0.7.2 (active)
toggle-quotes, v1.0.0 (inactive)
webbox-color, v0.5.9 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (inactive)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.46.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.1 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)
# Dev
No dev packages
Call ::getActiveTextEditor instead
Workspace.getActiveEditor (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:1022:12)
PluginManager.gotoDefinition (/Users/b.fleischhacker/.atom/packages/ide-flow/lib/plugin-manager.coffee:23:28)
atom-workspace.<anonymous> (/Users/b.fleischhacker/.atom/packages/ide-flow/lib/ide-flow.coffee:15:23)
CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
I figure this one's a bug :)
Flow utility not found at '/Users/lukeh/Downloads/flow/flow' /Users/James/.atom/packages/ide-flow/lib/util-flow-command.coffee:48
(anonymous function) /Users/James/.atom/packages/ide-flow/lib/util-flow-command.coffee:48
Note, I'm James. We don't all sign in as lukeh :)
(Joking aside, I'm excited to get this working.. it looks awesome!)
Please:
autocomplete-plus
1.0.0
API: https://github.com/atom-community/autocomplete-plus/wiki/Provider-API[Enter steps to reproduce below:]
/* @flow */
function foo(x) {
return x*10;
}
// This is fine, because we're passing a number now
foo('shubham');
Atom Version: 0.188.0
System: linux 3.13.0-48-generic
Thrown From: ide-flow package, v0.2.0
Uncaught SyntaxError: Unexpected end of input
At file:///usr/share/atom/resources/app/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2Fhome%2Fshbm%22%7D%5D%2C%22bootstrapScript%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2Fusr%2Fshare%2Fatom%2Fresources%2Fapp%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22appVersion%22%3A%220.188.0%22%2C%22shellLoadTime%22%3A1691%2C%22initialPaths%22%3A%5B%22%2Fhome%2Fshbm%22%5D%7D:0
SyntaxError: Unexpected end of input
at Object.parse (native)
at Object.module.exports.autocompleteSync (/home/shbm/.atom/packages/ide-flow/lib/util-flow-command.coffee:103:19)
at Object.module.exports.requestHandler (/home/shbm/.atom/packages/ide-flow/lib/flow-autocomplete-provider.coffee:17:31)
at /home/shbm/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:148:45
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/home/shbm/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:131:15)
at AutocompleteManager.getSuggestionsFromProviders (/home/shbm/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/home/shbm/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:125:6)
at /home/shbm/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1
2x -30:50.6 ide-flow:check (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
-30:42.4 core:save (atom-text-editor.editor.is-focused)
-30:42.4 ide-flow:check (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
-30:42.0 editor:newline (atom-text-editor.editor.is-focused)
-30:40.3 core:save (atom-text-editor.editor.is-focused)
-30:40.3 ide-flow:check (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
-30:38.7 editor:newline (atom-text-editor.editor.is-focused)
-30:38.2 core:save (atom-text-editor.editor.is-focused)
-30:38.2 ide-flow:check (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
2x -30:37.4 editor:newline (atom-text-editor.editor.is-focused)
-30:36.9 core:save (atom-text-editor.editor.is-focused)
-30:36.9 ide-flow:check (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
2x -30:30.9 editor:newline (atom-text-editor.editor.is-focused)
8x -30:27.8 core:backspace (atom-text-editor.editor.is-focused)
3x -30:03.0 editor:newline (atom-text-editor.editor.is-focused)
7x -30:01.2 core:backspace (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"one-dark-ui",
"base16-tomorrow-dark-theme"
],
"audioBeep": false
},
"ide-flow": {
"flowPath": "/home/shbm/Downloads/flow//flow\n"
}
}
# User
autocomplete-plus, v2.7.0
ide-flow, v0.2.0
minimap, v4.6.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: ide-flow package, v0.2.0
Uncaught TypeError: Cannot read property 'stdin' of undefined
At /Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:30
TypeError: Cannot read property 'stdin' of undefined
at run (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:30:28)
at Object.module.exports.typeAtPos (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:73:5)
at PluginManager.typeAtPos (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/plugin-manager.coffee:63:21)
at EditorControl.showExpressionType (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/editor-control.coffee:91:14)
at /Users/arkadiuszponski/.atom/packages/ide-flow/lib/editor-control.coffee:37:10
4x -2:01.9.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-1:00.7.0 core:confirm (atom-text-editor.editor.mini)
-0:44 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-0:08.7.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-0:03.1.0 core:save (atom-text-editor.editor.is-focused)
-0:03.1.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
{
"core": {
"disabledPackages": [
"linter",
"todo-list"
],
"themes": [
"seti-ui",
"base16-tomorrow-dark-theme"
]
},
"ide-flow": {}
}
# User
autocomplete-plus, v2.12.0
emmet, v2.3.8
ide-flow, v0.2.0
lesscompile, v0.5.0
linter-flow, v0.1.4
linter-jsxhint, v0.1.1
react, v0.11.7
seti-ui, v0.6.3
synced-sidebar, v0.2.3
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 0.179.0
System: Unknown Windows Version
Thrown From: ide-flow package, v0.1.0
Uncaught TypeError: Cannot read property 'toString' of null
At /c:/Users/Dzmitry/.atom/packages/ide-flow/lib/util-flow-command.coffee:13
TypeError: Cannot read property 'toString' of null
at getFlowCommand (C:\Users\Dzmitry\.atom\packages\ide-flow\lib\util-flow-command.coffee:8:55)
at run (C:\Users\Dzmitry\.atom\packages\ide-flow\lib\util-flow-command.coffee:19:14)
at Object.module.exports.typeAtPos (C:\Users\Dzmitry\.atom\packages\ide-flow\lib\util-flow-command.coffee:73:5)
at PluginManager.typeAtPos (C:\Users\Dzmitry\.atom\packages\ide-flow\lib\plugin-manager.coffee:72:21)
at EditorControl.showExpressionType (C:\Users\Dzmitry\.atom\packages\ide-flow\lib\editor-control.coffee:88:14)
at C:\Users\Dzmitry\.atom\packages\ide-flow\lib\editor-control.coffee:34:10
{
"core": {
"excludeVcsIgnoredPaths": false,
"disabledPackages": [
"language-c",
"language-gfm",
"language-java",
"language-objective-c"
],
"themes": [
"spacegray-dark-ui",
"base16-tomorrow-dark-theme"
]
},
"ide-flow": {}
}
# User
atom-jshint, v1.5.0
Atom-Syntax-highlighting-for-Sass, v0.5.0
autocomplete-paths, v1.0.2
autocomplete-plus, v2.1.6
bezier-curve-editor, v0.6.5
color-picker, v1.4.4
compass, v0.7.5
css-snippets, v0.5.0
emmet, v2.3.3
file-icons, v1.4.10
file-type-icons, v0.5.4
filetype-color, v0.1.3
htmlhint, v1.0.1
ide-flow, v0.1.0
javascript-snippets, v1.0.0
jsformat, v0.7.18
lambda-snippets, v0.2.1
language-css-plus, v0.3.0
language-javascript-better, v0.7.2
language-javascript-semantic, v0.1.0
language-javascript-subtlegradient, v0.1.0
language-SCSS, v0.2.0
linter, v0.11.1
linter-scss-lint, v0.0.11
minimap, v4.1.4
sassbeautify, v0.2.0
ScssBundle, v0.4.0
spacegray-dark-ui, v0.6.0
# Dev
No dev packages
Really excited to use this package. Having trouble installing it though.
$ 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
$ apm --version
apm 1.18.4
npm 3.10.10
node 6.9.5 x64
python 2.7.12
git 2.12.2
$ apm i ide-flow
Installing ide-flow to /Users/andy/.atom/packages โ
npm ERR! git clone --template=/Users/andy/.atom/.apm/_git-remotes/_templates --mirror https://github.com/Benvie/harmony-collections.git /Users/andy/.atom/.apm/_git-remotes/git-https-github-com-Benvie-harmony-collections-git-e81b4b808359e2def9eeeabfdee69c2989e1fe96-f622d8c9: Cloning into bare repository '/Users/andy/.atom/.apm/_git-remotes/git-https-github-com-Benvie-harmony-collections-git-e81b4b808359e2def9eeeabfdee69c2989e1fe96-f622d8c9'...
npm ERR! git clone --template=/Users/andy/.atom/.apm/_git-remotes/_templates --mirror https://github.com/Benvie/harmony-collections.git /Users/andy/.atom/.apm/_git-remotes/git-https-github-com-Benvie-harmony-collections-git-e81b4b808359e2def9eeeabfdee69c2989e1fe96-f622d8c9: remote: Invalid username or password.
npm ERR! git clone --template=/Users/andy/.atom/.apm/_git-remotes/_templates --mirror https://github.com/Benvie/harmony-collections.git /Users/andy/.atom/.apm/_git-remotes/git-https-github-com-Benvie-harmony-collections-git-e81b4b808359e2def9eeeabfdee69c2989e1fe96-f622d8c9: fatal: Authentication failed for 'https://github.com/Benvie/harmony-collections.git/'
npm ERR! Darwin 15.6.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/andy/.atom/.apm/.apmrc" "--userconfig" "/Users/andy/.atom/.apmrc" "install" "/private/var/folders/cf/0cd30hsj11j9931m0mx5f7yw0000gn/T/d-117812-88013-1t5alcp.4zf0nqaor/package.tgz" "--runtime=electron" "--target=1.6.9" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/andy/.atom/.apm/_git-remotes/_templates --mirror https://github.com/Benvie/harmony-collections.git /Users/andy/.atom/.apm/_git-remotes/git-https-github-com-Benvie-harmony-collections-git-e81b4b808359e2def9eeeabfdee69c2989e1fe96-f622d8c9
npm ERR! Cloning into bare repository '/Users/andy/.atom/.apm/_git-remotes/git-https-github-com-Benvie-harmony-collections-git-e81b4b808359e2def9eeeabfdee69c2989e1fe96-f622d8c9'...
npm ERR! remote: Invalid username or password.
npm ERR! fatal: Authentication failed for 'https://github.com/Benvie/harmony-collections.git/'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/cf/0cd30hsj11j9931m0mx5f7yw0000gn/T/apm-install-dir-117812-88013-1r9dea7.rc5vdndn29/npm-debug.log
Not sure why its saying Invalid username or password
.
I'm not sure how to reproduce, but I end up corrupting ide-flow once every few weeks, and then I get this exception every time flow tries to run.
Any ideas?
Atom Version: 1.0.19
System: Mac OS X 10.10.3
Thrown From: ide-flow package, v0.8.0
Uncaught SyntaxError: Unexpected token .
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Ftom%2FCode%2FMobile%2Fshopify-native%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%7D%5D%2C%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22appVersion%22%3A%221.0.19%22%2C%22shellLoadTime%22%3A224%2C%22initialPaths%22%3A%5B%22%2FUsers%2Ftom%2FCode%2FMobile%2Fshopify-native%22%5D%7D:1
SyntaxError: Unexpected token .
at Object.parse (native)
at run.onMessage (/Users/tom/.atom/packages/ide-flow/lib/util-flow-command.coffee:146:25)
at BufferedProcess.stdout (/Users/tom/.atom/packages/ide-flow/lib/util-flow-command.coffee:38:18)
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:85:13)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at Pipe.onread (net.js:520:20)
-0:34.4.0 core:save (atom-text-editor.editor.is-focused)
-0:34.4.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
6x -0:28.5.0 core:backspace (atom-text-editor.editor.is-focused)
-0:23.3.0 core:save (atom-text-editor.editor.is-focused)
-0:23.3.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
-0:11 editor:newline (atom-text-editor.editor.is-focused)
-0:09.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:09.1.0 core:cancel (atom-text-editor.editor.is-focused)
-0:05.6.0 core:backspace (atom-text-editor.editor.is-focused)
-0:05.2.0 core:move-right (atom-text-editor.editor.is-focused)
-0:02.8.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:02.8.0 core:cancel (atom-text-editor.editor.is-focused)
-0:02.0 core:save (atom-text-editor.editor.is-focused)
-0:02.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
-0:00.4.0 core:save (atom-text-editor.editor.is-focused)
-0:00.4.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
{
"core": {},
"ide-flow": {
"flowPath": "/usr/local/bin/flow"
}
}
# User
ide-flow, v0.8.0
linter, v1.6.0
linter-eslint, v3.0.2
# Dev
No dev packages
autocomplete-plus
is awesome, however autocompletion is completely disabled when editing a file that has no /* @flow */
statement at the beginning of the file. I consider this a bug.
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)
<unknown> (/Users/mauroronchi/.atom/packages/ide-flow/lib/editor-control.coffee:49:26)
The function signature tooltip is only shown when there already has been a call to the function within the same file.
Given the example of flow
:
/* @flow */
function foo(x) {
return x * 10;
}
foo('Hello, world!');
When I type foo
after the last line, the tooltip is shown. Once I comment out the foo
-call and start writing foo
, a autocomplete is shown suggesting the word foo
, not the function with its signature.
Is this an issue of flow
it atom-ide-flow
?
Log output from console when writing foo
while already having a call to foo
in the file:
[{"name":"foo","type":"(x: string) => number","func_details":{"return_type":"number","params":[{"name":"x","type":"string"}]},"path":"/Users/.../test.js","line":3,"endline":5,"start":1,"end":1},{"name":"exports","type":"{}","func_details":null,"path":"","line":0,"endline":0,"start":0,"end":-1}]
Log output from console when writing foo
while having no call to foo
already in file:
[{"name":"foo","type":"","func_details":{"return_type":"number","params":[{"name":"x","type":""}]},"path":"/Users/md/Documents/workspace/vt/vt-app2/test.js","line":3,"endline":5,"start":1,"end":1},{"name":"exports","type":"{}","func_details":null,"path":"","line":0,"endline":0,"start":0,"end":-1}]
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, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor::shadow .ide-flow-error
=> atom-text-editor.editor .ide-flow-error
atom-text-editor::shadow .highlight.ide-flow-error .region
=> atom-text-editor.editor .highlight.ide-flow-error .region
atom-text-editor::shadow .gutter .line-number.ide-flow-error .icon-right
=> atom-text-editor.editor .gutter .line-number.ide-flow-error .icon-right
atom-text-editor::shadow .gutter .line-number.ide-flow-error .icon-right:before
=> atom-text-editor.editor .gutter .line-number.ide-flow-error .icon-right:before
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
As you can see on the right of the screenshot, flow recognise autocomplete need correctly but they don't appear in the menu.
And error reporting is also kinda broken, manually typing flow
give me this :
But Atom I have nothing :
I also have this error randomly appearing :
I have no idea why it's there, 'sdk-js-src' is the name of the name of a folder of another project, but doesnt appear in this project, nether in the lib files or src. Also, no files from this project are opened.
If it helps I'm using Flow version 0.30.0
What would it take to get autocomplete for react components based on prop types?
There's pretty great syntax for type annotating props as seen here https://github.com/facebook/flow/blob/master/tests/new_react/classes.js
It would be phenomenal to get the available props as autocomplete suggestions when typing a component. i.e after I type '<mycomponent ' i would see a list of available attributes and on every space after that until I close the tag.
Is it possible to turn off type hints?
Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.7.0
) of this package:
atom.views.getView(atom.workspace)
, which returns an HTMLElement.Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.
If this package has been replaced by another package or functionality in core, please reply with this information.
See atom/atom#6867 for more info. Thanks!
Perhaps I'm the first one to try using this package with Windows, since support is new?
Installation fails fast.
$ apm install ide-flow
Installing ide-flow to C:\Users\Jonathan\.atom\packages failed
npm ERR! git submodule -q update --init --recursive: C:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 18: .: git-sh-setup: file not found
npm ERR! git submodule -q update --init --recursive:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\Jonathan\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\Jonathan\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\Jonathan\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\Jonathan\\.atom\\.apmrc" "install" "C:\\Users\\Jonathan\\AppData\\Local\\Temp\\d-116821-3060-y1fx3e\\package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=ia32" "--global-style" "--msvs_version=2013"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
npm ERR! code 1
npm ERR! Command failed: git -c core.longpaths=true submodule -q update --init --recursive
npm ERR! C:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 18: .: git-sh-setup: file not found
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Jonathan\AppData\Local\Temp\apm-install-dir-116821-3060-kz663c\npm-debug.log
It seems that "git-sh-setup" is not found. But what's strange is that Git seems to be working normally. And indeed the "missing" file does exist:
$ find / -name "git-sh-setup"
/libexec/git-core/git-sh-setup
/mingw32/libexec/git-core/git-sh-setup
PS:
$ apm --version
apm 1.12.5
npm 3.10.5
node 4.4.5
python 2.7.6
git 2.6.3.windows.1
visual studio 2013
$ flow version
Flow, a static type checker for JavaScript, version 0.32.0
I have flow on my path, but the flowPath
value seems to have been initialized with a trailing line break.
Maybe it's a simple as trimming output from which flow
?
[Enter steps to reproduce below:]
Atom Version: 0.190.0
System: Mac OS X 10.10.3
Thrown From: ide-flow package, v0.2.0
Failed to activate the ide-flow package
At Cannot read property 'check' of null
TypeError: Cannot read property 'check' of null
at atom-workspace.<anonymous> (/Users/jbenner/.atom/packages/ide-flow/lib/ide-flow.coffee:12:23)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:242:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:157:19)
at new EditorControl (/Users/jbenner/.atom/packages/ide-flow/lib/editor-control.coffee:50:19)
at /Users/jbenner/.atom/packages/ide-flow/lib/plugin-manager.coffee:12:39
at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:266:9)
at new PluginManager (/Users/jbenner/.atom/packages/ide-flow/lib/plugin-manager.coffee:10:43)
at Object.module.exports.activate (/Users/jbenner/.atom/packages/ide-flow/lib/ide-flow.coffee:9:26)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:225:19)
at /Applications/Atom.app/Contents/Resources/app/src/package.js:206:30
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:152:15)
at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:199:14)
at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:435:21)
at /Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:268:29
at exit (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:43:16)
at BufferedProcess.triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:63:47)
at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:77:18
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:150:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:166:7)
at Pipe.close (net.js:464:12)
2x -6:11.3 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-seti-ui)
2x -5:49.3 editor:newline (atom-text-editor.editor)
-5:47.0 core:move-down (atom-text-editor.editor)
-5:46.8 core:move-up (atom-text-editor.editor)
-5:46.0 core:move-right (atom-text-editor.editor)
-5:45.9 core:move-up (atom-text-editor.editor)
-5:45.6 core:select-down (atom-text-editor.editor)
2x -5:45.4 core:backspace (atom-text-editor.editor)
-0:01.2 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-seti-ui)
{
"core": {
"themes": [
"seti-ui",
"atom-dark-syntax"
],
"followSymlinks": true
},
"ide-flow": {}
}
# User
autocomplete-plus, v2.9.0
ide-flow, v0.2.0
minimap, v4.1.4
seti-ui, v0.6.3
# Dev
No dev packages
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)
new EditorControl (/Users/tupy/.atom/packages/ide-flow/lib/editor-control.coffee:24:23)
<unknown> (/Users/tupy/.atom/packages/ide-flow/lib/plugin-manager.coffee:17:46)
Workspace.observeTextEditors (<embedded>:11:428231)
new PluginManager (/Users/tupy/.atom/packages/ide-flow/lib/plugin-manager.coffee:13:49)
Use a config schema instead. See the configuration section
of https://atom.io/docs/latest/hacking-atom-package-word-count and
https://atom.io/docs/api/latest/Config for more details
Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:263:11)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:234:14)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:219:30)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:211:14)
PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:435:21)
Sorry for spamming with automated reports, hope it helps :)
The plugin is great, btw! Thank you for your work!
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 create a default one.
[Enter steps to reproduce below:]
Atom Version: 0.188.0
System: Mac OS X 10.10.2
Thrown From: ide-flow package, v0.2.0
Failed to load the ide-flow package
At 'tooltips.less' wasn't found in /Users/thibaultmaekelbergh/Dropbox/Mackup/.atom/packages/ide-flow/styles/ide-flow.less:7:0
LessError: 'tooltips.less' wasn't found
at /Users/thibaultmaekelbergh/Dropbox/Mackup/.atom/packages/ide-flow/styles/ide-flow.less:7:0
-0:49.7 settings-view:open (atom-text-editor.editor)
-0:44.8 core:confirm (atom-text-editor.editor.mini)
-0:01.1 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-kimbie-light.theme-yeti-ui)
{
"core": {
"disabledPackages": [
"jslint",
"emmet",
"unregistered",
"compass",
"quippet",
"autocomplete-paths",
"autocomplete-plus"
],
"themes": [
"yeti-ui",
"kimbie-light"
],
"ignoredNames": [
"node_modules",
".DS_Store",
"npm-debug.log"
]
}
}
# User
Atom-Syntax-highlighting-for-Sass, v0.5.0
atom-spotify, v1.2.0
compare-files, v0.4.1
editor-stats, v0.17.0
editorconfig, v0.3.3
error-status, v0.3.3
file-icons, v1.5.2
gist-it, v0.6.9
git-log, v0.3.0
gulp-snippets, v0.6.1
iTunes, v0.2.0
ide-flow, v0.2.0
jsonlint, v1.0.2
kimbie-light, v1.0.1
language-swift, v0.3.0
laravel, v0.4.2
linter, v0.12.0
linter-jshint, v0.1.0
linter-php, v0.0.11
linter-scss-lint, v0.0.14
remote-edit, v1.7.2
remote-sync, v2.4.1
ssh-config, v0.10.0
travis-ci-status, v0.13.0
web-browser, v1.4.2
yeti-ui, v0.1.6
# Dev
No dev packages
Hi,
I have installed autocomplete plus and ide-flow, I set my flow path, but whenever i start typing I keep getting Uncaught SyntaxError: Unexpected end of input
any ideas why?
Opening a file with Flow enabled, throws the following.
Atom Version: 1.2.0
System: Mac OS X 10.11.1
Thrown From: ide-flow package, v0.8.0
Uncaught TypeError: deprecationSite.getFileName is not a function
At /Users/oivanovs/Applications/Atom.app/Contents/Resources/app.asar/node_modules/grim/lib/grim.js:56
TypeError: deprecationSite.getFileName is not a function
at Object.global.__grim__.deprecate (/Users/oivanovs/Applications/Atom.app/Contents/Resources/app.asar/node_modules/grim/lib/grim.js:56:36)
at TextEditor.module.exports.TextEditor.screenPositionForPixelPosition (/Users/oivanovs/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2929:12)
at EditorControl.showExpressionType (/Users/oivanovs/.atom/packages/ide-flow/lib/editor-control.coffee:74:24)
at /Users/oivanovs/.atom/packages/ide-flow/lib/editor-control.coffee:37:10
-5:23.6.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-light-syntax.theme-one-light-ui)
-4:24.8.0 settings-view:open (atom-text-editor.editor.is-focused)
-3:51.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
3x -3:36.1.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-light-syntax.theme-one-light-ui)
-1:52.3.0 core:copy (div.package-readme.native-key-bindings)
2x -1:40.8.0 core:close (a.)
-1:39.2.0 settings-view:open (atom-text-editor.editor.is-focused)
-1:36.9.0 core:paste (atom-text-editor.editor.mini.is-focused)
-1:36.1.0 core:undo (atom-text-editor.editor.mini.is-focused)
12x -1:33.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-1:31.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
3x -1:05.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-1:03.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:03.5.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-light-syntax.theme-one-light-ui)
{
"core": {
"themes": [
"one-light-ui",
"one-light-syntax"
],
"audioBeep": false,
"excludeVcsIgnoredPaths": false,
"disabledPackages": [
"nuclide-flow",
"linter-eslint"
]
},
"ide-flow": {}
}
# User
ide-flow, v0.8.0
language-babel, v2.5.0
language-fish-shell, v1.0.2
linter, v1.11.1
linter-clojure, v1.0.0
linter-flow, v4.0.0
# Dev
No dev packages
Following up on: #24
Just a note here, I've upgraded both autocomplete+ and flow-ide, and now my normal symbol completion is gone again whenever I have flow-ide activated.
I haven't dug into what's causing it yet, but I'll let you know if I find anything.
[Enter steps to reproduce below:]
Atom Version: 1.1.0
System: Mac OS X 10.10.5
Thrown From: ide-flow package, v0.8.0
Uncaught TypeError: Cannot read property 'check' of null
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:788
TypeError: Cannot read property 'check' of null
at atom-workspace.<anonymous> (/Users/vizidrix/.atom/packages/ide-flow/lib/ide-flow.coffee:12:23)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:143:19)
at /Users/vizidrix/.atom/packages/ide-flow/lib/editor-control.coffee:31:23
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1035:20)
at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1002:19)
at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:519:26)
at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:529:18)
at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:512:19)
at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:560:35)
at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:270:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:243:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:528:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:351:22)
at HTMLDocument.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:20)
-0:13.1.0 core:move-right (atom-text-editor#ide-flow.expressionTypeInterval.editor.mini.is-focused)
4x -0:10.5.0 core:backspace (atom-text-editor#ide-flow.expressionTypeInterval.editor.mini.is-focused)
3x -0:06.6.0 core:save (atom-text-editor#ide-flow.expressionTypeInterval.editor.mini.is-focused)
-0:01.2.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-elucidator.theme-seti-ui)
{
"core": {
"themes": [
"seti-ui",
"elucidator"
],
"disabledPackages": [
"autocomplete-snippets"
]
},
"ide-flow": {
"flowPath": "/usr/local/bin/flow",
"expressionTypeInterval": 100
}
}
# User
block-cursor, v0.13.1
elucidator, v0.1.1
ide-flow, v0.8.0
language-babel, v0.15.12
linter, v1.9.1
linter-flow-plus, v3.1.0
minimap, v4.15.0
react, v0.12.10
seti-ui, v0.8.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: ide-flow package, v0.6.0
Uncaught TypeError: Cannot read property 'on' of undefined
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:759
TypeError: Cannot read property 'on' of undefined
at run (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:40:26)
at Object.module.exports.startServer (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:59:15)
at Object.module.exports.check (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/util-flow-command.coffee:68:45)
at PluginManager.check (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/plugin-manager.coffee:42:21)
at atom-workspace.<anonymous> (/Users/arkadiuszponski/.atom/packages/ide-flow/lib/ide-flow.coffee:12:24)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
at /Users/arkadiuszponski/.atom/packages/ide-flow/lib/editor-control.coffee:31:23
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:917:20)
at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:899:19)
at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:592:26)
at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:523:18)
at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:506:19)
at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:585:35)
at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:310:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:178:20)
2x -3:11 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-2:17.4.0 core:save (atom-text-editor.editor.is-focused)
2x -2:12.7.0 core:backspace (atom-text-editor.editor.is-focused)
-1:51.7.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-0:56.7.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-0:11.3.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
-0:08.5.0 core:save (atom-text-editor.editor.is-focused)
-0:08.4.0 ide-flow:check (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-seti-ui)
{
"core": {
"disabledPackages": [
"linter",
"todo-list",
"atom-beautify",
"php-cs-fixer"
],
"themes": [
"seti-ui",
"base16-tomorrow-dark-theme"
]
},
"ide-flow": {}
}
# User
autocomplete-plus, v2.12.1
emmet, v2.3.8
ide-flow, v0.6.0
lesscompile, v0.5.0
linter-flow, v0.1.4
linter-jsxhint, v0.1.1
react, v0.11.8
seti-ui, v0.7.1
synced-sidebar, v0.2.3
# Dev
No dev packages
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)
<unknown> (/Users/mauroronchi/.atom/packages/ide-flow/lib/editor-control.coffee:49:26)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.