Generate TypeScript meta info for VS Code extension from package.json
by antfuTypeScript
Last 12 weeks · 0 commits
5 of 6 standards met
Describe the bug escapes , `vscode-ext-gen@1.6.0star_under_*_markdownEscape()` currently only escapes HTML/table-sensitive characters: System Info Validations [x] Read the Contributing Guide. [x] Checked that there isn't already an issue that reports the same bug. [x] This is a concrete bug with a minimal reproduction. Contributions [ ] I am willing to submit a PR to fix this issue
Clear and concise description of the problem VSCode's View API related contributions are not extracted no subsequent TS code is generated. Suggested solution I can implement this in a PR, if this feature is sought after. Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Description This PR adds text replacement support for and generation. It reads the package.nls file in the execution directory for replacements. + Added a flag to specify the locale, defaulting to en. + Glob functionality is required, has been replaced with . + Language file selection is implemented via . + Additionally, has been added to snapshot testing. Linked Issues close #19
Clear and concise description of the problem When there are symbols like %a.b.c% in the package.json, VSCode will replace the text based on the package.nls.json file to achieve the i18n function of package.json. However, vscode-ext-gen only outputs the content of package.json as it is. Can we also implement the replacement function of VSCode? Suggested solution Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Repository: antfu/vscode-ext-gen. Description: Generate TypeScript meta info for VS Code extension from package.json Stars: 96, Forks: 13. Primary language: TypeScript. Languages: TypeScript (100%), JavaScript (0%). License: MIT. Latest release: v1.6.0 (6mo ago). Open PRs: 0, open issues: 3. Last activity: 6mo ago. Community health: 85%. Top contributors: antfu, kvoon3, luxass, kermanx, witsaint, jinghaihan, rioj7, jellydn, nicksp, Groupguanfang and others.