Skip to content

Commit b1ea57a

Browse files
committed
add plugin skeleton and run hello world extension
1 parent fcd6264 commit b1ea57a

17 files changed

+2737
-0
lines changed

.eslintrc.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": [
9+
"@typescript-eslint"
10+
],
11+
"rules": {
12+
"@typescript-eslint/naming-convention": "warn",
13+
"@typescript-eslint/semi": "warn",
14+
"curly": "warn",
15+
"eqeqeq": "warn",
16+
"no-throw-literal": "warn",
17+
"semi": "off"
18+
},
19+
"ignorePatterns": [
20+
"out",
21+
"dist",
22+
"**/*.d.ts"
23+
]
24+
}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ build/Release
4141
node_modules/
4242
jspm_packages/
4343

44+
# Build directories
45+
out/
46+
4447
# TypeScript v1 declaration files
4548
typings/
4649

.vscode/extensions.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint"
6+
]
7+
}

.vscode/launch.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": [
13+
"--extensionDevelopmentPath=${workspaceFolder}"
14+
],
15+
"outFiles": [
16+
"${workspaceFolder}/out/**/*.js"
17+
],
18+
"preLaunchTask": "${defaultBuildTask}"
19+
},
20+
{
21+
"name": "Extension Tests",
22+
"type": "extensionHost",
23+
"request": "launch",
24+
"args": [
25+
"--extensionDevelopmentPath=${workspaceFolder}",
26+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
27+
],
28+
"outFiles": [
29+
"${workspaceFolder}/out/test/**/*.js"
30+
],
31+
"preLaunchTask": "${defaultBuildTask}"
32+
}
33+
]
34+
}

.vscode/settings.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off"
11+
}

.vscode/tasks.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

.vscodeignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.vscode/**
2+
.vscode-test/**
3+
src/**
4+
.gitignore
5+
.yarnrc
6+
vsc-extension-quickstart.md
7+
**/tsconfig.json
8+
**/.eslintrc.json
9+
**/*.map
10+
**/*.ts

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Change Log
2+
3+
All notable changes to the "automotive-app-deployment" extension will be documented in this file.
4+
5+
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6+
7+
## [Unreleased]
8+
9+
- Initial release

README.md

+73
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,75 @@
11
# vscode-plugin-automotive-app-deployment
22
Code base for the VSCode plugin development to automate automotive app deployment
3+
4+
# automotive-app-deployment README
5+
6+
This is the README for your extension "automotive-app-deployment". After writing up a brief description, we recommend including the following sections.
7+
8+
## Features
9+
10+
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
11+
12+
For example if there is an image subfolder under your extension project workspace:
13+
14+
\!\[feature X\]\(images/feature-x.png\)
15+
16+
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
17+
18+
## Requirements
19+
20+
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
21+
22+
## Extension Settings
23+
24+
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
25+
26+
For example:
27+
28+
This extension contributes the following settings:
29+
30+
* `myExtension.enable`: Enable/disable this extension.
31+
* `myExtension.thing`: Set to `blah` to do something.
32+
33+
## Known Issues
34+
35+
Calling out known issues can help limit users opening duplicate issues against your extension.
36+
37+
## Release Notes
38+
39+
Users appreciate release notes as you update your extension.
40+
41+
### 1.0.0
42+
43+
Initial release of ...
44+
45+
### 1.0.1
46+
47+
Fixed issue #.
48+
49+
### 1.1.0
50+
51+
Added features X, Y, and Z.
52+
53+
---
54+
55+
## Following extension guidelines
56+
57+
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
58+
59+
* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines)
60+
61+
## Working with Markdown
62+
63+
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
64+
65+
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
66+
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
67+
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
68+
69+
## For more information
70+
71+
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
72+
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
73+
74+
**Enjoy!**
75+

0 commit comments

Comments
 (0)