feat: add APort VS Code extension#90
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dc9a0955cf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| fileName.endsWith(".aport.json") || | ||
| fileName.endsWith(".aport-policy.json") || | ||
| fileName.endsWith(".aport-passport.json") || | ||
| fileName.endsWith("aport.policy.json") || | ||
| fileName.endsWith("aport.passport.json") |
There was a problem hiding this comment.
Include
aport-passport.json in APort document detection
The completion provider never treats aport-passport.json as an APort file because isLikelyAPortDocument only checks for .aport-passport.json and aport.passport.json. This conflicts with the extension manifest, which explicitly maps aport-passport.json in contributes.jsonValidation (tools/vscode-extension/package.json), so users creating that supported filename from scratch won’t get APort completions until content happens to match the fallback regex.
Useful? React with 👍 / 👎.
Summary
Closes #35 by adding a VS Code extension under
tools/vscode-extensionfor APort policy and integration development.The extension includes:
Validation
npm run compilenpm testnpm pack --dry-rungit diff --check