Flow-for-vscode: code intellisense Very slow

Created on 5 Apr 2017  路  24Comments  路  Source: flowtype/flow-for-vscode

_From @hengkx on April 2, 2017 14:36_

  • VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T14:02:52.799Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:

|Extension|Author|Version|
|---|---|---|
|npm-intellisense|christian-kohler|1.3.0|
|path-intellisense|christian-kohler|1.2.0|
|vscode-eslint|dbaeumer|1.2.8|
|vscode-babel-coloring|dzannotti|0.0.4|
|vscode-html-css|ecmel|0.0.33|
|EditorConfig|EditorConfig|0.6.2|
|flow-for-vscode|flowtype|0.5.0|
|auto-close-tag|formulahendry|0.3.10|
|auto-rename-tag|formulahendry|0.0.11|
|vscode-create-saga|hengkx|0.0.2|
|JSDocTagComplete|HookyQR|0.0.2|
|code-beautifier|michelemelluso|1.6.2|
|vscode-scss|mrmlnc|0.6.2|
|vscode-jest|Orta|2.0.5|
|vscode-icons|robertohuertasm|7.4.0|
|sass-indented|robinbentley|1.3.1|
|vscode-react-native|vsmobile|0.3.1|
|JavaScriptSnippets|xabikos|1.4.0|
|ReactSnippets|xabikos|1.2.1|;


Steps to Reproduce:

1.
2.

_Copied from original issue: Microsoft/vscode#23818_

Most helpful comment

I am experiencing the same issue. It's really really slow on Windows. I have colleagues sitting next to me on a Mac and on Ubuntu and they're fine (well about as fast as flow gets I guess, still nowhere near the blazing fast speed of typescript). Why is it so slow on Windows?

All 24 comments

_From @ramya-rao-a on April 2, 2017 19:53_

For which language are you finding intellisense slow?

_From @hengkx on April 3, 2017 2:56_

@ramya-rao-a js code intellisense Very slow,use https://github.com/airtoxin/Electron-React-Boilerplate

_From @aeschli on April 3, 2017 7:33_

@hengkx Can you attach a code sample that shows the slowness?

_From @hengkx on April 3, 2017 7:54_

@aeschli custome js code intellisense example "dg": { "prefix": "dg", "body": [ "document.getElementById($1)" ], "description": "document.getElementById(id)" }, small project is normal intellisense ,large project shows slowness

_From @aeschli on April 3, 2017 10:59_

Sorry, you have to give more precise steps to show what you are doing and what is slow.
Also screenshots or an animated gif can be helpful.

_From @hengkx on April 4, 2017 6:56_

@aeschli
vs code slow

_From @aeschli on April 4, 2017 7:21_

@hengkx Thanks!
Can you run without any extension and see if that makes a difference?
Start code with code --disable-extensions

_From @hengkx on April 4, 2017 13:17_

@aeschli Thanks, This flow-for-vscode flowtype 0.5.0 disable, code intellisense speed normal

confirm

Same here, I can barely use flow

me too man!

I moved away from Flow and I'm using TypeScript now, much much better. Super fast, automatic imports, code completion, smart variable completion depending on type. It's almost become an IDE!

I am experiencing the same issue. It's really really slow on Windows. I have colleagues sitting next to me on a Mac and on Ubuntu and they're fine (well about as fast as flow gets I guess, still nowhere near the blazing fast speed of typescript). Why is it so slow on Windows?

Has anyone still got this issue with v0.67.0?

I have given up on what seemed to be a fantastic addition to my JS code and a credible alternative to TS. Will check again in a few months :)

I've been doing some work in jest with flow + vscode using the technique in https://github.com/flowtype/flow-for-vscode/issues/211 and it worked well

@orta are you on windows?

Nope, ah this is a windows issue - I don't think this issue should be on the vscode extension at all, seems like a problem with flow itself.

You're probably right

Same issue. Very slow on windows 10, even with a good computer. I tried disabling the builting typescript & javascript but then autocomplete stopped working.

have any other windows users tried this language server extension? It seems to be faster than the other flow extensions (still not as fast as on a Mac).

UPDATE - You can use "flow.useLSP": true instead!

@rssfrncs have you tried setting up "useLSP": true in your config? It uses the same language server under the hood.

@thymikee just saw that thanks!

The same problem for me on Mac. Rebooting VSCode time from time helps, but this experience is so awful. I'm also working on another project In parallel with React and Typescript and TS works like a charm!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ajhyndman picture ajhyndman  路  4Comments

sgronblo picture sgronblo  路  6Comments

Eugene-Musika-cpamatica picture Eugene-Musika-cpamatica  路  6Comments

siegebell picture siegebell  路  5Comments

ghost picture ghost  路  3Comments