Skip to content

Add $psEditor extension for HTML document preview API #191

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
daviwil opened this issue May 18, 2016 · 0 comments
Closed

Add $psEditor extension for HTML document preview API #191

daviwil opened this issue May 18, 2016 · 0 comments
Labels
Issue-Enhancement A feature request (enhancement).
Milestone

Comments

@daviwil
Copy link
Contributor

daviwil commented May 18, 2016

A really interesting possibility for the $psEditor.VSCode API would be to provide integration with the new TextDocumentContentProvider API in VS Code. This API allows you to show an HTML-based preview of arbitrary content. This could enable PowerShell script authors to show UI or rendered data as a result of running a PowerShell script.

Some examples of this API being used in TypeScript:

cc @dfinke

@daviwil daviwil added the Issue-Enhancement A feature request (enhancement). label May 18, 2016
@daviwil daviwil added this to the Backlog milestone May 18, 2016
daviwil added a commit to daviwil/vscode-powershell that referenced this issue Jun 20, 2017
This change adds new custom HTML content views which are driven by the
new HtmlContentView APIs in the PowerShellEditorServices.VSCode module.
These views allow the user to show a custom view with rendered HTML
content that can either be set or appended to using PowerShell cmdlets.

Resolves PowerShell#191
@daviwil daviwil modified the milestones: 1.4.0, Future Jun 20, 2017
daviwil added a commit that referenced this issue Jun 20, 2017
This change adds new custom HTML content views which are driven by the
new HtmlContentView APIs in the PowerShellEditorServices.VSCode module.
These views allow the user to show a custom view with rendered HTML
content that can either be set or appended to using PowerShell cmdlets.

Resolves #191
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

1 participant