-
Notifications
You must be signed in to change notification settings - Fork 511
Intellisense/Tab-completion Intermittent Failures #726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@pcarnella thanks for the report! That log statement doesn't give enough context, can you grab the lines that are indented below it too? That'd be helpful. When this problem occurs, does the situation improve after running this command in the integrated console: Remove-Module PackageManagement |
Thanks for looking into it, some more info... PackageManagement module not loaded: Remove-Module : No modules were removed. Verify that the specification of modules to remove is correct and those modules exist in the runspace.
5/10/2017 7:59:16 PM [ERROR] - Method "DispatchMessage" at line 301 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageDispatcher.cs
That's all there is in the log when the issue happens. |
Interesting that the editor is sending a cancellation request... I wonder what's going on there. Can you e-mail me the whole log file? |
The I think the problem above is a performance issue, which we're tracking in #1256. I'm going to close this as a duplicate (even though it came first) so we can consolidate information. |
System Details
$PSVersionTable
:Name Value
PSVersion 5.1.14393.693
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.693
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
Tab completion often fails for me. For example, typing "get-pro" or "get-serv" and hitting Tab does not complete the command as expected, it will just tab the cursor over. I works if I type slowly or wait a second. Very repeatable. I've had this problem on multiple versions, going back over a year. I tried completely re-installing VSCode/PowerShell extension and deleting code folder in user profile.
Attached Logs
I see this repeated in the log every time the issue happens:
5/10/2017 3:21:10 PM [ERROR] - Method "DispatchMessage" at line 301 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Protocol\MessageProtocol\MessageDispatcher.cs
Follow the instructions in the README
about capturing and sending logs.
The text was updated successfully, but these errors were encountered: