Skip to content

Intellisense Hanging in Editor #2590

Closed
Closed

Description

Issue Type: Bug

As of today when I updated to 2020.3.1 there have been frequent intellisense hangs/crashes. I cannot seem to find a way to reproduce it reliably but it happens within a few minutes of reloading either the extension or vscode. Had been working consistently for about a week on the same project in the previous extension version with no issues. No other changes to the environment. Attached the error logs and editor services verbose output.

Extension version: 2020.3.1
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz (4 x 3100)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.95GB (21.95GB free)
Process Argv
Screen Reader no
VM 0%

editorServices.txt
1585437259-3a5b48de-f50f-46cc-9d7c-3cd4c1d40cee1585436631396.zip

Activity

  1. ghost added
    Needs: Triage
    on Mar 28, 2020
  2. TylerLeonhardt commented on Mar 30, 2020

    @TylerLeonhardt
    Member

    Thanks for the info! Can you please set the log level to Diagnostic and try to repro again? It looks like the log files in the zip are basically empty... I expected to see more if they were proper logs. This might be an indication that the issue could be elsewhere but we need to know more.

    "powershell.developer.editorServicesLogLevel": "Diagnostic"
  3. added and removed
    Needs: Triage
    on Mar 30, 2020
  4. GHartsfield commented on Mar 30, 2020

    @GHartsfield
    Author

    Thanks for the reply, I thought there wasn't much in the logs as well - unfortunately those were taken in diagnostic mode. I have switched back over to the non-preview extension and the problem has gone away. Don't know if its relevant but I am using custom prefixes in the modules which your GetCommandSynopsisAsync refactor seemed to fix - now that I'm back in non-preview I have no intellisense issues but I do have issues with the module prefixes again.

  5. ghost added
    Needs: Maintainer Attention
    on Mar 30, 2020
  6. stevenebutler commented on Mar 30, 2020

    @stevenebutler

    My intellisense doesn't work at all with the latest preview 2020.3.1, anywhere in my code base. I have dropped back to 2020.3.0 where it appears to work reasonably well.

  7. added
    Issue-Bug
    and removed
    Needs: Maintainer Attention
    on Mar 31, 2020
  8. TylerLeonhardt commented on Apr 1, 2020

    @TylerLeonhardt
    Member

    stevenebutler Geoff Hartsfield (@GHartsfield) I just published 2020.3.2 of PowerShell Preview. Can you give it a try and let me know how works for you? Thanks!

  9. TylerLeonhardt commented on Apr 1, 2020

    @TylerLeonhardt
    Member
  10. added
    Resolution-Fixed
    and removed on Apr 1, 2020
  11. TylerLeonhardt commented on Apr 1, 2020

    @TylerLeonhardt
    Member

    I've received one report that said this issue was fixed so I'm going to close this. Let me know how it goes for you two!

  12. stevenebutler commented on Apr 1, 2020

    @stevenebutler

    Hi yes, is fixed for me too - I did give a thumbs up to indicate this but you may not have seen it.

  13. ghost added
    Needs: Maintainer Attention
    on Apr 1, 2020
  14. TylerLeonhardt commented on Apr 1, 2020

    @TylerLeonhardt
    Member

    stevenebutler thanks! Sorry I wasn't sure if that was "it's fixed! " or "I'll try it out!" my bad.

  15. removed
    Needs: Maintainer Attention
    on Apr 1, 2020
  16. GHartsfield commented on Apr 2, 2020

    @GHartsfield
    Author

    It appears I'm still having issues with this. It happens much less often (after a few hours rather than minutes). But I still can't seem to reliably reproduce it. Have attached new diagnostic log. The intellisense hang happened around 2:10pm.

    2020.3.2.zip

  17. ghost added
    Needs: Maintainer Attention
    on Apr 2, 2020
  18. stevenebutler commented on Apr 5, 2020

    @stevenebutler

    Hi, I see similar lock ups with the editor intellisense after a period of it working. I'm sorry I'm unable to provide logs due to my employment agreement. A restart of the integrated console gets it working again so it's annoying but not completely detrimental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IntelliSenseIssue-BugResolution-Fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions