Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion vscode-wpilib/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["eg2.tslint"]
"recommendations": [
"dbaeumer.vscode-eslint",
"amodio.tsl-problem-matcher",
"ms-vscode.extension-test-runner"
]
}
19 changes: 3 additions & 16 deletions vscode-wpilib/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,12 @@
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"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"
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
9 changes: 7 additions & 2 deletions vscode-wpilib/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" 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
Expand Down
19 changes: 18 additions & 1 deletion vscode-wpilib/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,29 @@
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": ["npm: watch", "npm: watch-tests"],
"problemMatcher": []
}
]
}
15 changes: 5 additions & 10 deletions vscode-wpilib/.vscodeignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
.vscode/**
.vscode-test/**
node_modules
.gitignore
webpack.config.js
gulpfile.js
package-lock.json
i18n/**/package.i18n.json
locale/**
tsconfig.json
tslint.json
out/test/**
out/**/*.map
resources/webviews/out/**/*.map
src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
tslint.json
resources/webviews/tsconfig.json
resources/webviews/tslint.json
eslint.config.mjs
**/*.map
**/*.ts
**/.vscode-test.*
2 changes: 1 addition & 1 deletion vscode-wpilib/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const jsontransform = require('gulp-json-transform');
const del = require('del');
const nls = require('vscode-nls-dev');

// If all VS Code langaues are support you can use nls.coreLanguages
// If all VS Code languages are supported you can use nls.coreLanguages
const languages = [
{
id: 'zh-CN',
Expand Down
2 changes: 2 additions & 0 deletions vscode-wpilib/locale/zh-cn/message.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ Failed to start tool: 工具运行失败
No tools found. Would you like to use Gradle to grab some?: 没找到工具,要使用 Gradle 来装一些吗?
# Can only extract to absolute path
# Please select project type, language, and base.
# Could not find cpptools C++ extension. Debugging is disabled.
# Could not find Debugger for Java extension. Debugging is disabled.
Binary file removed vscode-wpilib/media/codicon.ttf
Binary file not shown.
53 changes: 0 additions & 53 deletions vscode-wpilib/media/main.css

This file was deleted.

Binary file removed vscode-wpilib/media/wpilib.png
Binary file not shown.
Loading