Skip to content

JSON Syntax Highlighting in String of JSON within Powershell file #1519

@animusyosho

Description

@animusyosho

I like to define objects in json and convert to hashtable object. That works well, but it's hard to troubleshoot JSON when it's not colored, and I have to copy and paste to a json file for vscode to color things in and show where I am missing a bracket or comma or whatnot. Would be nice if this is doable inside the powershell files themselves via this great plugin! If somehow that could just use the default VScode bevavior for json files inside a defined block of json, that would be perfect.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: VS CodeRequest to use or implement a VS Code feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions