PowerShell / PowerShell/vscode-powershell

Add schema validation for PSD1 files

Open
#5,131 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
Summary

I am working a lot with PSD1 files that all use the same structure. Currently I have to create this file manually, since VSCode doesn't know the structure of the PSD1 file and therefore is unable to help out.

I know that the PSD1 format is lacking a schema definition for validation. But it would be really helpful if VSCode would be able to help out creating these PSD1 files.

Proposed Design

Maybe the plugin can initiate a schema format for PSD1 files and incorporate that into the plugin, so it is then able to use IntelliSense to allow easier creation of PSD1 files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by mapping how the VS Code PowerShell extension handles PSD1 files and reviewing available schema formats. Done would require a defined PSD1 schema incorporated into the extension so IntelliSense can assist with creating these files.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript, vscode
Domain
developer-experience, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.