Sublime Text配置Typescript开发环境

来源:互联网 发布:战龙三国周瑜进阶数据 编辑:程序博客网 时间:2024/05/22 02:01

首先官网下载sublime text3 开发工具。

首先需要安装 package control
直接在git上下载到,然后copy到package下面的路径是C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Packages
安装包现在地址:https://github.com/wbond/package_control
然后记得重命名Package Control, 然后放到路径下面。

然后就可以使用插件控制台工具了,ctrl + Shift + p就可以调用控制台, 然后输入Install Package, 然后搜索 TypeScript,直接安装,重启就ok了。重启记得关掉之前打开的,打开TS 文件就看开到了。gitHub上也可以下载到。
https://github.com/Microsoft/TypeScript-Sublime-Plugin
常用的快捷键:(^ 是 ctrl key):
Feature Shortcut
Rename ^T ^M
Find references ^T ^R
Next reference ^T ^N
Prev reference ^T ^P
Format document ^T ^F
Format selection ^T ^F
Format line ^;
Format braces ^ Shift ]
Navigate to symbol ^ Alt R
Go to definition ^T^D or F12
Trigger completion ^Space
Trigger signature help Alt+,
See previous signature in the tooltip Alt + up
See next signature in the tooltip Alt + down
Paste and format ^V or ⌘V
Quick info ^T ^Q
Build (Win)^B or F7, (OSX) ⌘B or F7
Error list (via Command Palette)

原创粉丝点击