tptee / flowide Goto Github PK
View Code? Open in Web Editor NEWIDE-caliber support for Flow in Sublime Text
License: MIT License
IDE-caliber support for Flow in Sublime Text
License: MIT License
Hi Tyler
Just saw this good plugin. And the Flow tool. It is good one
What do u think, is it possible to make this for CudaText?
///I don't write JS so hard for me to make it
Autocompletion tooltip flashes, briefly shows a batch of options, then quickly gets override by another batch provided by flow. I guess it's due to conflict with sublime's stock autocompletion. Can you provide a solution to disable fix behavior?
Did google but find no good solution. I know this is not a problem of FlowIDE itself, but still think here's the right place to ask, cus other users are very likely to encounter the same problem.
import type { foo } from 'bar.js';
function(a: foo) {
...
}
When I try to jump to definition on foo
in the function it takes my cursor up to the import statement instead of opening the file bar.js
and taking me to the definition of foo.
When working on code like:
type Foo<U> = {
bar: U
};
const baz: Foo<number> = {
bar: 3
};
if I right-click and select 'view type' on baz
, I get shown Foo
but the CLI shows Foo<number>
.
Now that flow does officially support windows, any chance this plugin could too?
It would be nice if we could disable this setting, as it interferes with other packages (like sublimelinter-flow)
keep getting message in console:
Invalid context
None
using sublime text 3 on macOS, build 3126
Hi,
When I'm editing a reducer in a reasonably large project I get frequent lockups complete with the infamous OS X beach ball mouse cursor. (These reducers are a bit challenging because there's a big sum-type for all the actions and states.) But shouldn't Flow run in a background process?
My only config is "use_npm_flow": true
and I'm using Flow version 0.52 (not upgraded yet, that's why I need to rely on the npm version...)
I use flow-bin
within my projects and have Node installed via nvm
and when I try using this plugin I get the following error output.
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 320, in on_selection_modified_async
callback.on_selection_modified_async(v)
File "flow-ide in /home/wldcordeiro/.config/sublime-text-3/Installed Packages/FlowIDE.sublime-package", line 179, in on_selection_modified_async
File "flow-ide in /home/wldcordeiro/.config/sublime-text-3/Installed Packages/FlowIDE.sublime-package", line 45, in parse_cli_dependencies
File "flow-ide in /home/wldcordeiro/.config/sublime-text-3/Installed Packages/FlowIDE.sublime-package", line 17, in find_flow_config
File "./python3.3/posixpath.py", line 151, in dirname
AttributeError: 'NoneType' object has no attribute 'rfind'
I haven't looked into your plugin source too much yet but I'm assuming it's not finding my configuration file or Flow. I have a .flowconfig
in my project though. So I'm at a loss for what the issue may be.
Hi!
Currently I'm working on a project that has set all=true
in .flowconfig
file, so there's no // @flow
in any of the files and as such FlowIDE does not activate at all.
I believe that if .flowconfig
exists, FlowIDE should check if all
option is present and all features should be activated just like when file has // @flow
on top
Traceback (most recent call last):
File "flowide.listeners.coverage in /Users/allen/Library/Application Support/Sublime Text 3/Installed Packages/FlowIDE.sublime-package", line 14, in <lambda>
File "flowide.util in /Users/allen/Library/Application Support/Sublime Text 3/Installed Packages/FlowIDE.sublime-package", line 11, in wrapper
File "flowide.util in /Users/allen/Library/Application Support/Sublime Text 3/Installed Packages/FlowIDE.sublime-package", line 20, in debounced
AttributeError: 'NoneType' object has no attribute 'project_data'
Sublime Dev 3136
using a simple project created with create-react-app
and configured flow for it.
Latest version of plugin with these settings:
{
"flow_path": "flow",
"use_npm_flow": true,
"omit_function_parameters": false,
"show_sublime_autocomplete_suggestions": true,
"show_coverage": true,
"debounce_ms": 300
}
Hi ๐
Please provide a shortcut to open autocompletion tooltip (maybe ctrl+space).
Autocompletion for objects opens after you type a dot and the first letter of a property or method. But it won't help you if don't know property names.
When the tooltip closes because you changed cursor position you have to type the next letter to open it again.
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.