Skip to content

Completion list takes far too long even after an initial list is generated #4209

@jaredpar

Description

@jaredpar

edits by @cartermp

Current issue:

Thanks to @buybackoff for the repro:

  1. Download Spreads.
  2. Build the solution (build.cmd)
  3. Open the solution and theSortedMap.fs file.
  4. Add a new line after line 125, and type this.

Expected: completion list appears reasonably fast, at least certainly after the first try.

Actual: completion appears many seconds after the . every time.

Old issue:

Recently started playing around with VsVim on 15.6 preview 2 and noticed that Intellisense is extremely slow. At first I thought it was broken but eventually found it's just taking ~6-8 seconds to display. This reproduces consistently.

  1. Clone https://github.com/jaredpar/VsVim
  2. Switch to branch repro/fsharp-intellisense-perf
  3. Open VsVim.sln
  4. Open Modes_Visual_VisualMode.fs
  5. Wait for semantic colorizing to take place (ensure initial binding pass is done).
  6. Navigate to line 223. Will have text _selectionTracker.UpdateSelection()
  7. Open a line above and type _selectionTracker.

I would expect Intellisense to popup rather quickly here. Instead it takes ~8 seconds to popup. You can delete the . and retype and see the effect over and over again.

Of possible interest here is this F# project is on the new SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-APIImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions