-
Notifications
You must be signed in to change notification settings - Fork 223
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
Add language feature support for classes #14
Comments
Probably can't make this in for 0.1.0, will get it out soon after for 0.2.0. |
Is there any update on this request? |
Hey Brian, not at the moment, but we'll definitely be adding it within the next few releases. Which features have you been missing the most for classes so far? |
Intelligent auto-completion and parameter hints are my number one. |
Can you give an example of what you mean by intelligent auto-completion? Parameter hints for class methods are definitely coming! |
Right now, the only completion feature VS Code has when working with classes is if it see I am typing a word that already exist, it will suggest it. What I mean is: only show me the methods and constructors for the respective class type. Furthermore, it would be nice if it understood the value-types I am currently typing and show the respective signature(s) as hints or show warnings when it the object doesn't have signature the for values being pass (assuming the value was explicitly typed). |
Yep, most of those things are definitely coming. |
Go to Definition on Method of Object would also be nice. |
@kapilmb, any chance you might be able to help with this one for 0.8.0 release (early October)? |
@daviwil Sorry for getting back so late about this. Sure, you can assign this to me if you haven't started work on it already. |
Assigned, thanks Kapil! |
This issue is closed for a long time, but it doesn't really work. No symbols search, no go to definition, no itellisense for classes and methods on dot sourced files... |
Hi. |
IIRC PSES uses the v3 AST to cover all supported versions of PowerShell (v3-6). We've been talking about dropping support for v3/4 in the editor in the next major version of the extension. This would allow us to move to the v5 AST which recognizes |
This change provides a default launch.json configuration for debugging PowerShell scripts.
Hello, Now I 'm working with VSCode to manage different language files (including PS) under the same folder and the lack of those two functionalities is so annoying that I had to implement it. Probably it is not the best way to implement it but it works. I don't know if it is worth proposing a pull request for this change since this functionality will already be available in a next major version. In any case, it is located in this fork if you want to review it. |
@livianaf if you would like to send a PR that would be awesome :) this is highly requested and what better time to send a PR than Hacktoberfest! |
Uf! I got too many errors I don't know how to manage :( I'm sorry, this is my first PR. How can I get the detail of the errors generated by the PR checks? |
Fixed by #1984 |
The following features do not work when inside a class:
When outside of a class all features work normally.
The text was updated successfully, but these errors were encountered: