-
Notifications
You must be signed in to change notification settings - Fork 511
PowerShell on Mac OS X: Intellisense not working for cmdlets #250
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
Thanks Alex! Hey @DSotnikov, I am going to make a guess and say that you might not have OpenSSL installed on your machine. This will cause the language and debug services to fail to load. If you have Homebrew installed you can just run |
Yes, that helped! Thank you so much! You can close the ticket now. |
Glad to hear it! Closing the issue now. |
Thanks! I've had the same issue and this fixed it. Maybe a note should be added to the install steps? |
David added a note to On Thu, Aug 25, 2016 at 7:35 AM, Will Ernst [email protected]
|
Let me know if I should also add that note to this project's README.md so that it shows up on the extension info page in VS Code. I wonder if users will even follow the link to the installation document? |
Thanks! Much appreciated. I ended up on that page while troubleshooting my issue as it seemed logical that I hadn't installed or configured something correctly so that seems sufficient to me personally. I don't know that it makes sense to clutter the README with duplicate information. If someone isn't going to follow the link to the installation document they probably wouldn't read the README either. That said, it might not hurt to have some added emphasis with a general purpose catch-all statement recommending that you follow the installation documentation to ensure proper installation and configuration. It "just works" on Windows and OpenSSL is a non-intuitive prereq. But honestly, if you're setting up to do Powershell development on Linux/macOS you should expect to need to read some documentation. :D |
IMHO, ideally VSCode would check for OpenSSL (if it is a prerequisite) and Right now, both VSCode and PowerShell extension get installed just fine and Dmitry On Thu, Aug 25, 2016 at 11:28 AM, Will Ernst [email protected]
|
That's a good point. The OpenSSL requirement is actually coming from PowerShell, but I wonder if there'd be an easy way for the extension to check for it without launching PowerShell... Looks like checking for the existence of |
Tracking that request here: #264 |
I posted on #264 but just in case someone out there is looking for the fix for MacPorts:
|
Hello, I have installed OpenSSL and "symlinked", but I am still not able to debug in VSCode. What should be any other thing to take into account? Suggestions? Christian |
@christianhv can you capture logs and e-mail them to me? If you've done those steps and it still doesn't work then maybe there's another problem. |
Hello, I'm facing the issue despite following instruction here https://github.com/PowerShell/vscode-powershell/blob/master/docs/troubleshooting.md#1-powershell-intellisense-does-not-work-cant-debug-scripts I've installed Openssl via homebrew but when trying to use intellisense I get a "no suggestion" despite SSL libraries and links being there. To be noted I still get the OpenSSL warning when opening VSC. Not sure if I missed or overlooked something. |
Same thing here and I tried everything on the forum |
@tomaaa can you please capture and send logs by following these instructions: |
Reproducing the problem doesn't seems to generate logging. I added the "powershell.developer.editorServicesLogLevel": "Verbose" in settings.json. |
@Helocheck @tomaaa there was a bug in the way I was checking for the Homebrew installation of OpenSSL, this was fixed on Friday: #292. I think your problems should be fixed when we release the 0.8.0 update this week (shooting for Wednesday). If you still have trouble after that, let me know and I will diagnose further. |
Excellent, I will check again this week. |
Moved from microsoft/vscode#10731
From @DSotnikov
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: