vscode-wpilib:Visual Studio Code WPILib扩展

  • j1_347034
    了解作者
  • 453.4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-23 13:22
    上传日期
VS代码WPILib 该存储库包含WPILib VS Code扩展,以及包含扩展功能的独立电子项目。 建立依赖关系 节点JS-已在节点8上进行了测试。 Java-经过Java 11测试 VS Code-用于开发/调试。 TS棉绒扩展 Chrome调试扩展程序 为了调试扩展,您将需要扩展的依赖关系。 Microsoft C ++扩展和Java扩展包。 设置依赖关系 为了正确构建,需要进行一些设置。 进入vscode-wpilib并运行npm install 进入wpilib-utility-standalone并运行npm install 从根目录运行./gradlew updateAllDependencies 。 这将从WPILib获取模板和示例,并将共享依赖项从vscode扩展名移至独立实用程序。 每当您在vscode项目中更新共享依赖项时,都将需要重新运行此命令。 在V
vscode-wpilib-main.zip
内容介绍
# VS Code WPILib ![CI](https://github.com/wpilibsuite/vscode-wpilib/workflows/CI/badge.svg) This repository contains the WPILib VS Code extension, along with the standalone electron project that contains some of the functionality of the extension. ## Build Dependencies * Node JS - Tested with Node 8. * Java - Tested with Java 11 * VS Code - For development/debugging. * TS Lint Extension * Chrome Debug Extension * In order to debug the extension, you will need the extension dependencies for the extension. The Microsoft C++ extension and the Java extension pack. ## Setting up Dependencies In order to properly build, there is some setup that needs to occur. 1. Go into `vscode-wpilib` and run `npm install` 2. Go into into `wpilib-utility-standalone` and run `npm install` 3. From the root, run `./gradlew updateAllDependencies`. This will grab the templates and examples from WPILib, and move the shared dependencies from the vscode extension to the standalone utility. This command will need to be reran any time you update the shared dependencies in the vscode project. 4. Open the root folder in VS Code. ## Building and Debugging Once you have the project open in VS Code, there are 5 debugging targets set up. * `Extension` Will launch the extension to debug * `Extension Tests` Will launch the extension tests * `Standalone: Main` Will launch the standalone project. The debugger will be attached to the host process * `Standalone: Renderer` Will attach to the standalone projects renderer process * `Standalone: All` Will launch the standalone project, and attach to the renderer. This will attach 2 separate debuggers. In addition, each project has a `compile` and a `lint` npm command. These will compile and lint their respective projects. Please run these before submitting any PR, as CI will check these. In addition, VS Code's lint does not detect the same lint errors as running lint manually would. ## Testing We highly recommend you do any testing by launching in the debugger. Unlike Eclipse, local building is not required to update WPILib versions, so building files to install is not exactly a simple setup. We will be posting instructions for this later, but not currently. ## Warning about shared dependencies. Because of limitiations in typescript, we cannot easily have a shared library that works in both the vscode extension and the standalone utility. Because VS Code is the primary platform, the files are stored in that folder. Anything in the following folder is considered shared. * `vscode-wpilib/shared` * `vscode-wpilib/riolog/shared` In these, any updates from the the standalone project will not be see in the vscode project, nor will they get committed to git. Please edit these files in the VS Code extension to apply changes.
评论
    相关推荐
    • Chrome浏览器最新版本
      Chrome浏览器最新版本
    • Berrycast for Chrome-crx插件
      语言:English 生产力工具,可加快和改善您的沟通...功能-永久免费计划-屏幕录制-摄像头-麦克风-扬声器-选择屏幕或部分屏幕-密码保护-完全集成到Outlook Web中将很快出现:-Gmail集成-Microsoft Teams集成-注释-还有很多
    • Chrome强制允许Flash
      使谷歌浏览器强制允许flash, 不用每次都要去设置,还可以恢复默认设置, 还有注册表键值中文说明。
    • chromium-extension:chrome微软eage浏览器扩展
      Chrome延伸 chrome微软eage浏览器扩展
    • timelock-chrome
      TimeLock(Chrome扩展程序) 受到启发。 在您拥有MIND之前,互联网就没有兴趣了。 漫不经心地浪费时间从来都不是一件有趣的事。 作为一个有思想的人,在进入任何网站之前,您应该三思而行。 然后,快速完成任务,...
    • chrome插件mqttbox
      chrome插件解压版,打开浏览器开发者模式使用,新版microsoft edge也可以使用,也需要打开开发者模式
    • Refinitiv Workspace Chrome Extension-crx插件
      语言:English Refinitiv Workspace Chrome扩展程序 将Refinitiv Workspace Web与Microsoft Office加载项一起使用。 Refinitiv Workspace Chrome扩展程序,可管理多个Workspace应用程序以在同一设备上同时运行。
    • Google Chrome OS
      chrome os 谷歌
    • Local CDN-chrome插件
      Local CDN 是一款非常实用的 Chrome 扩展,它能够将网页中的第三方 js 文件劫持至本地,让那些本来有访问障碍的网站得以重生,而那些原本不慢的网站更快。支持 googleapis、aspnetcdn、microsoft、cloudflare、baidu...
    • chrome浏览器插件例子
      一个chrome浏览器插件,自动填写worktile的任务描述表单