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
Intellisense not working when more than one DynamicParameter is used #2117
Comments
@DarkLite1 do other IDE features continue to work after you hit this? e.g. do you continue to get completions for other things? |
@DarkLite1 thanks for reporting this...interestingly the editor and terminal are using the same API so it could be a performance reason as to why the parameters are not loading |
@rjmholt when this happens and I try another function to complete in the editor pane, like type |
@SydneyhSmith you can find the logs here: Notice that on the first try the function executed intellisense correctly, the second time I tried it it kept showing the text |
I made an export of both dynamic parameters, one that is generated by the function and one that is made manually. This will allow someone with more knowledge to see what the difference in them is and why intellisense doesn't work in |
@DarkLite1 based on your response, I suspect you're hitting PowerShell/PowerShellEditorServices#762 (comment). @SeeminglyScience might have some insight there. This is something we don't have much control over; the fix lies in PackageManagement, but we're investigating how to fix it since it also affects PSScriptAnalyzer |
Yeah the OP doesn't hang for me, so there's a good chance it's related. |
This issue is being closed as inactive, if this issue is still occurring it will be re-opened |
Bot is trigger happy... |
Version: 1.37.0-insider (user setup)
Commit: 92da68a71cfb60bd3b9b0d7fbfb2a7e1fff9dbaf
Date: 2019-08-01T05:37:54.848Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 6.2.9200
Steps to Reproduce:
Consider the following example function:
The function `New-DynamicParamter' can be downloaded here.
-Type
)Terminal
or in the editor of thePowerShell ISE
.I was going nuts about this, because I thought my code was broken. Seems after a bit of stressing it's a bug in the editor pane. Thank you for looking at this.
The text was updated successfully, but these errors were encountered: