立即注册 登录
气象家园 返回首页

一大碗年糕的个人空间 http://bbs.06climate.com/?116087 [收藏] [复制] [分享] [RSS]

日志

vscode插件开发

热度 1已有 178 次阅读2022-1-23 00:23

开个帖记录中
转载:
VS Code 插件开发中文文档:
https://liiked.github.io/VS-Code-Extension-Doc-ZH/#/get-started/your-first-extension
https://github.com/Liiked/VS-Code-Extension-Doc-ZH
https://www.cnblogs.com/architectforest/p/15730460.html
开发过程中遇到的问题:
1、关于脚手架yo code报错commmand not found, 重新配置node下bin环境变量
https://www.semicolonworld.com/question/47807/how-to-fix-ldquo-yo-command-not-found-rdquo-after-installing-yeoman
2、关于publish插件时npm install vsce报错,需提前安装好vsce依赖环境:
https://github.com/microsoft/vscode-vsce
Linux

In order to save credentials safely, this project uses keytar which uses libsecret, which you may need to install before publishing extensions. Setting the VSCE_STORE=file environment variable will revert back to the file credential store. Using the VSCE_PAT environment variable will also avoid using keytar.

Depending on your distribution, you will need to run the following command:

  • Debian/Ubuntu: sudo apt-get install libsecret-1-dev
  • Alpine: apk add libsecret
  • Red Hat-based: sudo yum install libsecret-devel
  • Arch Linux: sudo pacman -S libsecret
package.json配置:
https://www.cnblogs.com/imgss/p/13503637.html
https://segmentfault.com/a/1190000017279102

发表评论 评论 (2 个评论)

回复 内马尔 2022-1-24 22:55
      
回复 一大碗年糕 2022-1-25 09:52
内马尔:          
  

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部