• Stars
    star
    111
  • Rank 314,454 (Top 7 %)
  • Language
    TypeScript
  • License
    Other
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visual Studio Code WPILib extensions

VS Code WPILib

CI

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 17
  • 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.

More Repositories

1

allwpilib

Official Repository of WPILibJ and WPILibC
C++
1,046
star
2

GradleRIO

The official gradle plugin for the FIRST Robotics Competition
Java
259
star
3

frc-docs

Official FRC Documentation powered by Read the Docs
JavaScript
144
star
4

shuffleboard

A modern dashboard for FRC
Java
79
star
5

sphinxext-opengraph

Sphinx extension to generate unique OpenGraph metadata
Python
74
star
6

PathWeaver

Desktop application for generating motion paths
Java
64
star
7

frc-characterization

Tools to help FRC teams measure the physical parameters of their robot
Python
51
star
8

ntcore

NetworkTables Core Library (ARCHIVED, merged into allwpilib)
C++
39
star
9

RobotBuilder

Generate C++ or Java FRC programs
Java
36
star
10

sphinxext-rediraffe

Sphinx extension to redirect files
Python
32
star
11

2024Beta

Repository for Beta Testing of 2024 Software
32
star
12

sysid

System identification for robot mechanisms
C++
28
star
13

cscore

Camera access and streaming library (ARCHIVED, merged into allwpilib)
C++
24
star
14

SmartDashboard

Java
23
star
15

VisionBuildSamples

ARCHIVED - Samples for building Vision code for desktop and coprocessors
Java
18
star
16

EclipsePlugins

Java
14
star
17

Axon

TypeScript
14
star
18

sphinxext-remoteliteralinclude

Extends literalinclude to include URLs
Python
13
star
19

DetectCoral

Object detection for the FIRST Robotics Competition
Python
13
star
20

gradle-jni

Gradle plugin for ease of creating JNI libraries.
Java
13
star
21

wpilib-ws-robot-romi

TypeScript
10
star
22

sphinxext-pwa

Sphinx extension to make a PWA.
Python
9
star
23

vendor-template

C++
9
star
24

WPILibInstaller-Avalonia

C++
8
star
25

OutlineViewer

Java
8
star
26

Control-System-Vectors

Collection of community contributed vectors of the FRC Control System
7
star
27

wpiutil

WPI Utility Library
C++
7
star
28

docker-images

Docker images for building WPILib
Makefile
7
star
29

xrp-wpilib-firmware

C++
7
star
30

sphinxext-photofinish

Sphinx extension that adds responsive images to documentation
Python
6
star
31

frc-docs-translations

Translation Repository for frc-docs
Python
6
star
32

opensdk

Shell
6
star
33

thirdparty-opencv

OpenCV Maven packaging for FRC
C++
6
star
34

toolchain-builder

RoboRio Compiler < 2020 (See https://github.com/wpilibsuite/roborio-toolchain for 2020+)
Shell
5
star
35

design-docs

Design documents for proposed additions and changes to the wpilibsuite projects
5
star
36

NetworkTablesClients

NT Client implementations for multiple languages
C#
5
star
37

styleguide

Style guides for wpilibsuite projects
Python
5
star
38

ni-libraries

Houses the NI Libraries for WPILib building
C++
5
star
39

sphinxext-toptranslators

Grabs top translation contributors from PO files
Python
4
star
40

WPILibInstaller

The WPILib Offline Installer
C#
4
star
41

ohnoyoudidnt

Sphinx linter for frc-docs
Python
4
star
42

raspbian-toolchain

Toolchain builder for raspbian
Shell
4
star
43

xcode-notarize

Xcode Notarize
JavaScript
4
star
44

java-installer

Creates and installs an embedded JRE on the RoboRIO
Java
4
star
45

roborio-toolchain

GCC cross-compiler toolchain for roboRIO
Shell
4
star
46

native-utils

Gradle utility plugin for compiling native libraries
Java
4
star
47

vendor-json-repo

WPILib Vendor JSON Repository (WIP)
Python
4
star
48

robotbuilder-2

TypeScript
3
star
49

dev-ops

WPILib Suite Dev-Ops Documentation
3
star
50

homebrew-wpilib

This repository contains a collection of Homebrew (aka, Brew) "formulae" for WPILib.
Ruby
3
star
51

nivision

Not supported in 2018
Java
3
star
52

node-wpilib-ws

WebSocket server for interfacing with non-FRC hardware
TypeScript
3
star
53

sphinxext-presentations

Sphinx extension to present documentation
TypeScript
2
star
54

wpilib-version-plugin

Gradle plugin for determing what repository to pull and push dependencies to, and what version a part should be
Java
2
star
55

supervisely

Python
2
star
56

zulu-jre-ipk

Azul Zulu JRE ipk package builder
Makefile
2
star
57

wpimath

Math library (includes units and Eigen)
C++
2
star
58

riolog

Standalone version of Eclipse riolog
Java
2
star
59

roboRIOVisionExamples

Roborio Vision Examples
Java
2
star
60

sphinxext-delta

Sphinx extension for previewing changed github articles
Python
2
star
61

thirdparty-googletest

googletest gradle build for maven packaging
2
star
62

build-tools

Tools used by the Jenkins instance
2
star
63

branding

Branding standards for WPILib
Python
2
star
64

thirdparty-apriltag

Third-party build of apriltag
2
star
65

gradle-cpp-vscode

Gradle Plugin for generating a JSON representation of model based native builds
Java
2
star
66

sfxlib

SFX dashboard data library
Java
1
star
67

sfx

SFX dashboard UI
Ruby
1
star
68

sfxmeta

SFX dashboard annotations
Java
1
star
69

CANJaguar

Libraries for CANJaguar - Removed for the 2018 season
C++
1
star
70

frc-openjfx-windows

1
star
71

apple-signing-test

C++
1
star
72

desktop-common

Common library for WPILib JavaFX desktop applications
Java
1
star
73

wpilib-ws-robot

Base library for a WPILib WebSocket robot (Client/Server implementations)
TypeScript
1
star
74

sfx-livewindow

SFX LiveWindow plugin
Java
1
star
75

sphinxext-linkcheckdiff

Sphinx extension to run diff-only linkchecks.
Python
1
star
76

roborio-ant-tasks

Ant tasks for roboRIO
Java
1
star
77

frc-openjdk-roborio

OpenJDK builds for FRC RoboRIO
Shell
1
star
78

doxygen-mirror

Shell
1
star
79

StandaloneAppSamples

App Samples for running apps standalone
Java
1
star
80

wpilib-repositories-plugin

Gradle plugin for easy configuration of the wpilib repository scheme
Groovy
1
star
81

thirdparty-fonts

Fonts for imgui applications
Shell
1
star
82

deploy-utils

About Additions to the model-based DSL for deploying Java and Native projects to remote targets
Java
1
star