-
Notifications
You must be signed in to change notification settings - Fork 513
Show IntelliSense suggestions in manifest (psd1) files #159
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
Hey Luc! I believe that we don't get IntelliSense for manifest files because it's not provided by the PowerShell engine. I just tried getting IntelliSense for a manifest file in the PowerShell ISE and nothing came up. Have you seen IntelliSense in manifest files anywhere before? This might be a good feature request for UserVoice if we determine that it isn't already being provided by the engine. |
You are right David. Is that possible, a template based on the file extension ? |
Yep! @rkeithhill and I are working on something for this for a future version of the VS Code extension. |
The engine doesn't provide completions for a manifest, so it'd be good to put this on uservoice. The engine would have to guess it's completing in a manifest because the api doesn't accept a filename, so at best, it would have to guess based on some heuristics, but I think it might work well. |
Another uservoice idea would be to support PSD1 schema files. Perhaps that is just a fully fleshed out set of key/value pairs for all nested hashtables? Part of that would be a top-level key "schema" with a value that is perhaps a path to a schema file. Just thinking out loud here. :-) |
Thanks Luc! |
Should we defer this issue (close it) to PowerShell's issue that JohnLudlow has opened? If PowerShell adds completions for psd1's we should get intellisense for free, right? |
Yup. |
Sounds good! |
As far as I can see, Intellisense for manifests (.psd1) is not yet implemented.
Is that on the list of features to come, or am I missing something ?
The text was updated successfully, but these errors were encountered: