Skip to content
| Marketplace
Sign in
Visual Studio Code>Language Packs>TS SmartNew to Visual Studio Code? Get it now.
TS Smart

TS Smart

City

|
345 installs
| (0) | Free
A smart typescript helper.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TS Smart

A smart typescript helper.

Email

Github

VSCode

Function

  • 根据 JSON 解析出 TypeScript Interface

  • Parse TypeScript Interface from JSON

skip.gif

  • 并添加 export

  • And add export

skip.gif

Start Use

1、选中需要解析的 JSON

1、Select the JSON that you want to parse.

2、ctrl+shift+p

3、input TS Smart: typeof json or TS Smart: typeof json export

TODO List

  • 添加自定义或默认快捷键(欢迎给出建议),开放更多参数,如前缀...

  • Add custom or default shortcut keys (suggestions are welcome), open more parameters such as prefix...

  • 根据 export const json = {} 自动识别是否添加 export

  • Automatically identify whether to add export according to export const json = {}

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft