Skip to content

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

Closed
lucdekens opened this issue Apr 25, 2016 · 10 comments
Closed

Show IntelliSense suggestions in manifest (psd1) files #159

lucdekens opened this issue Apr 25, 2016 · 10 comments
Labels
Issue-Enhancement A feature request (enhancement).

Comments

@lucdekens
Copy link

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 ?

@daviwil
Copy link
Contributor

daviwil commented Apr 25, 2016

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.

@daviwil daviwil added the Issue-Enhancement A feature request (enhancement). label Apr 25, 2016
@daviwil daviwil added this to the Backlog milestone Apr 25, 2016
@daviwil daviwil changed the title Manifest Intellisense Show IntelliSense suggestions in manifest (psd1) files Apr 25, 2016
@lucdekens
Copy link
Author

You are right David.
Most of the commercial PowerShell editors also just provide a template, no intellisense either.

Is that possible, a template based on the file extension ?

@daviwil
Copy link
Contributor

daviwil commented Apr 25, 2016

Yep! @rkeithhill and I are working on something for this for a future version of the VS Code extension.

@lzybkr
Copy link

lzybkr commented Apr 25, 2016

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.

@rkeithhill
Copy link
Contributor

rkeithhill commented Apr 25, 2016

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. :-)

@lucdekens
Copy link
Author

@daviwil
Copy link
Contributor

daviwil commented Apr 25, 2016

Thanks Luc!

@TylerLeonhardt
Copy link
Member

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?

@rkeithhill
Copy link
Contributor

Yup.

@TylerLeonhardt
Copy link
Member

Sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

5 participants