Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Commit

Permalink
2020 (#164)
Browse files Browse the repository at this point in the history
2020 Kickoff Release
  • Loading branch information
pjreiniger authored Jan 12, 2020
1 parent 0f28c2c commit 0793680
Show file tree
Hide file tree
Showing 13 changed files with 335 additions and 56 deletions.
71 changes: 71 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/vscode"
],
"outFiles": [
"${workspaceFolder}/vscode/out/**/*.js"
],
"preLaunchTask": "vscode-web-watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/vscode",
"--extensionTestsPath=${workspaceFolder}/vscode/out/test"
],
"outFiles": [
"${workspaceFolder}/vscode/out/test/**/*.js"
],
"preLaunchTask": "vscode-web-watch"
},
{
"type": "node",
"request": "launch",
"name": "Standalone: Main",
"protocol": "inspector",
"runtimeExecutable": "${workspaceFolder}/standalone/node_modules/.bin/electron",
"runtimeArgs": [
"--remote-debugging-port=9223",
"standalone"
],
"outFiles": [
"${workspaceFolder}/standalone/out/**/*.js"
],
"windows": {
"runtimeExecutable": "${workspaceFolder}/standalone/node_modules/.bin/electron.cmd"
},
"preLaunchTask": "standalone-watch"
},
{
"name": "Standalone: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}/standalone",
"timeout": 30000
}
],
"compounds": [
{
"name": "Standalone: All",
"configurations": [
"Standalone: Main",
"Standalone: Renderer"
]
}
]
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"java.configuration.updateBuildConfiguration": "disabled",
"java.import.gradle.enabled": false,
"java.import.maven.enabled": false,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"python.linting.pylintEnabled": true
}
37 changes: 37 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"identifier": "vscode-web-watch",
"script": "webpack-watch",
"path": "vscode/",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"type": "npm",
"identifier": "standalone-watch",
"script": "watch",
"problemMatcher": "$tsc-watch",
"path": "standalone/",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
40 changes: 40 additions & 0 deletions standalone/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Electron: Main",
"protocol": "inspector",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeArgs": [
"--remote-debugging-port=9223",
"."
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"preLaunchTask": "npm: watch"
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": [
"Electron: Main",
"Electron: Renderer"
]
}
]
}
10 changes: 10 additions & 0 deletions standalone/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"java.import.exclusions": [
"**/node_modules/**",
"**/.metadata/**",
"**/archetype-resources/**",
"**/META-INF/maven/**",
"**/resources/**"
],
"java.configuration.updateBuildConfiguration": "disabled"
}
20 changes: 20 additions & 0 deletions standalone/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
57 changes: 29 additions & 28 deletions vscode/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,33 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
7 changes: 4 additions & 3 deletions vscode/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
"java.configuration.updateBuildConfiguration": "disabled",
"java.import.gradle.enabled": false,
"java.import.maven.enabled": false
}
34 changes: 17 additions & 17 deletions vscode/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
24 changes: 23 additions & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"activationEvents": [
"workspaceContains:.wpilib/wpilib_preferences.json",
"workspaceContains:build/vscodeconfig.json",
"onCommand:snobotsim.setupProject"
"onCommand:snobotsim.setupProject",
"onCommand:snobotsim.updateSnobotSim",
"onCommand:snobotsim.runJavaSnobotSim"
],
"main": "./out/extension.js",
"contributes": {
Expand All @@ -27,6 +29,16 @@
"command": "snobotsim.setupProject",
"title": "%snobotsim.setupProject.title%",
"category": "SnobotSim"
},
{
"command": "snobotsim.updateSnobotSim",
"title": "%snobotsim.updateSnobotSim.title%",
"category": "SnobotSim"
},
{
"command": "snobotsim.runJavaSnobotSim",
"title": "%snobotsim.runJavaSnobotSim.title%",
"category": "SnobotSim"
}
],
"menus": {
Expand All @@ -35,6 +47,16 @@
"when": "resourceFilename == build.gradle",
"command": "snobotsim.setupProject",
"group": "SnobotSim"
},
{
"when": "resourceFilename == build.gradle",
"command": "snobotsim.updateSnobotSim",
"group": "SnobotSim"
},
{
"when": "resourceFilename == build.gradle",
"command": "snobotsim.runJavaSnobotSim",
"group": "SnobotSim"
}
]
}
Expand Down
4 changes: 3 additions & 1 deletion vscode/package.nls.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"snobotsim.setupProject.title": "Setup SnobotSim"
"snobotsim.setupProject.title": "Setup SnobotSim",
"snobotsim.updateSnobotSim.title": "Update SnobotSim",
"snobotsim.runJavaSnobotSim.title": "Run SnobotSim (Java)"
}
Loading

0 comments on commit 0793680

Please sign in to comment.