-
Notifications
You must be signed in to change notification settings - Fork 8
CTS v2演示 使用说明
Xuan Wu edited this page Jan 10, 2019
·
7 revisions
源码网站在https://github.com/program-in-chinese/CTS. CTS全名"Chinese TypeScript".
$ npm install -g ctsscript
@htwx 建议直接使用中文命名和说明, 比如"vscode拼音输入法"
- CtsScript support for VSCode
-
VsCode-PinyinInputMethod
@htwx 这个输入法插件是否可以单独运行? 它只能用在编辑
.cts
文件时吗?
可在vscode插件视图搜索"cts:
$ cts --init
生成ctsconfig.json
配置文件. 可将"outDir"改为需要的输出目录, 如"./输出"
@htwx 这里提示信息仍为"Successfully created a tsconfig.json file", 应改为"ctsconfig.json"
创建一个"源码"目录, 可放置自己编写的cts源码文件
$ npm install @types-zh-cn/node
@htwx 此步骤是否必须? 目的是什么?