码迷,mamicode.com
首页 > 其他好文 > 详细

deno学习五 typescript + vscode 集成

时间:2020-01-26 22:18:17      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:rip   开发   script   语法   参考资料   安装   json   runtime   github   

deno 实际上也是一个typescript 的runtime,而且代码也是基于 ts 开发,目前社区也有了支持基于vscode 插件(新版本语法支持不好0.31.0)

vscode 插件安装

技术图片

 

 

代码提示效果

技术图片

 

 


不支持的语法,相关issue https://github.com/denoland/deno/issues/3301 
技术图片

 

 

说明

除过使用vscode 插件意外,使用tsconfig.json 也是可以的,但是目前使用上一般,没有直接使用插件方便

参考资料

https://github.com/denoland/deno/issues/3301 
https://github.com/justjavac/typescript-deno-plugin

deno学习五 typescript + vscode 集成

标签:rip   开发   script   语法   参考资料   安装   json   runtime   github   

原文地址:https://www.cnblogs.com/rongfengliang/p/12234905.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!