I mostly don’t wait for the results or intellisense because it is too slow.
But sometimes, when I am not sure of a type, I would like it to be here, and it takes very long to have the inference run.
However, my CPU is working around 2% all the time..
=> Is it possible to have visual studio be more agressive with my computer’s ressources ?
Update
- I use Visual Beta 11
- while intellisense does appear immediately after loading a solution, it takes a while when modifying the code (around 20-30 seconds)
The F# VS implementation is not stingy about using resources to give you feedback in the editor. If any IntelliSense info is out of date, it will happily burn one full core (or a little more) trying to catch back up. And if any stale information is available in the meantime, it should serve up the stale results. A wait of tens of seconds is unexpected for any ‘warm’ solution.
(If this is a relatively new install, you might run
ngen eqifrom a VS command prompt to ensure NGEN has finished after the installation; the F# compiler components are slow unless they have been NGEN’d, and this happens in the background after the VS install.)If you see IntelliSense this slow, I’d be curious to know more about your solution (number of files, size of files, using type providers?, …) to identify the problem.