Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTS的第一个版本发布了 #12

Open
htwx opened this issue May 2, 2018 · 7 comments
Open

CTS的第一个版本发布了 #12

htwx opened this issue May 2, 2018 · 7 comments

Comments

@htwx
Copy link
Collaborator

htwx commented May 2, 2018

环境准备

需要 node 及 vscode
安装好 node 及 vscode 后

  • 在命令行输入命令:

npm install ctsscript -g

打开 vscode 在 搜索插件 cts
安装 htwx.ctsscript 及 htwx.vscpinyin 2个插件
如果需要 node 编程 可以安装 node类型定义文件

  • 在命令行输入命令:

npm install @types.zh-cn/node

就可以 使用 cts 编程了
目前 教程较少 可参考 typescript 及 node 编程
关键字等基本内容可参考 htwx.ctsscript MD 文件
本人会写些例子
希望有兴趣的人帮忙测试

@nobodxbodon
Copy link
Member

恭喜! 打算再走一遍这个入门教程. 再请教一下: 有几个关键词不知对应中文: constructor, this, document.body.innerHTML. 请问哪里可以找到对应中文?

@htwx
Copy link
Collaborator Author

htwx commented May 2, 2018

cts 有 类型定义文件 除了 关键字 可以看 .d.cts 文件
在 cts 模块的 安装目录

@htwx
Copy link
Collaborator Author

htwx commented May 2, 2018

我没在 其他系统测试过
我用的 是 win 系统
其他系统不知道 上传后会不会有问题

@htwx
Copy link
Collaborator Author

htwx commented May 2, 2018

关键字 我在 readme 里面 枚举了 关键字对应表

@nobodxbodon
Copy link
Member

多谢. 我先在Mac系统里试试. 如果有问题会报告.

@htwx
Copy link
Collaborator Author

htwx commented May 2, 2018

这个版本实现了可配置关键字等一些内容, 所以这个版本很容易的 改成 例如 日语\韩语\德语等任意语言编程

@htwx
Copy link
Collaborator Author

htwx commented May 2, 2018

你qq有没

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants