Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf06feb

Browse files
init
1 parent7488350 commitbf06feb

File tree

10 files changed

+124
-0
lines changed

10 files changed

+124
-0
lines changed

‎.gitattributes‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Set default behavior to automatically normalize line endings.
2+
*text=auto
3+

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
*.vsix
3+
.vscod

‎.vscode/launch.json‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// A launch configuration that launches the extension 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":"Extension",
10+
"type":"extensionHost",
11+
"request":"launch",
12+
"runtimeExecutable":"${execPath}",
13+
"args": [
14+
"--extensionDevelopmentPath=${workspaceFolder}"
15+
]
16+
}
17+
]
18+
}

‎.vscodeignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vscode/**
2+
.vscode-test/**
3+
.gitignore
4+
vsc-extension-quickstart.md

‎CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#Change Log
2+
2018.07.26 init

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Intro
2+
3+
This is a VScode extention for CarvueJS
4+
5+
##Demo
6+
![snippets](https://raw.githubusercontent.com/CarvueJS/carvue-vscode-extension/master/assets/carvueSnippet.gif)

‎assets/carvueSnippet.gif‎

919 KB
Loading

‎package.json‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name":"carvuejs",
3+
"displayName":"CarvueJS",
4+
"description":"vscode extension for CarvueJS",
5+
"version":"0.0.1",
6+
"publisher":"CarvueJS",
7+
"engines": {
8+
"vscode":"^1.25.0"
9+
},
10+
"categories": [
11+
"Snippets"
12+
],
13+
"contributes": {
14+
"snippets": [
15+
{
16+
"language":"vue-html",
17+
"path":"./snippets/snippets.json"
18+
}
19+
]
20+
}
21+
}

‎snippets/snippets.json‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"accordion": {
3+
"prefix":"ca-accordion",
4+
"body":"<ca-accordion></ca-accordion>",
5+
"description":"accordion component"
6+
},
7+
"accordion-item": {
8+
"prefix":"ca-accordion-item",
9+
"body":"<ca-accordion-item :title=\"${1}\"></ca-accordion-item>",
10+
"description":"accordion item component"
11+
},
12+
"breadcrumb": {
13+
"prefix":"ca-breadcrumb",
14+
"body":"<ca-breadcrumb noSlash></ca-breadcrumb>",
15+
"description":"breadcrumb component"
16+
},
17+
"breadcrumb-item": {
18+
"prefix":"ca-breadcrumb-item",
19+
"body":"<ca-breadcrumb-item :href=\"${1}\"></ca-breadcrumb-item>",
20+
"description":"breadcrumb item component"
21+
},
22+
"button": {
23+
"prefix":"ca-button",
24+
"body":"<ca-button primary></ca-button>",
25+
"description":"button component"
26+
},
27+
"checkbox": {
28+
"prefix":"ca-checkbox",
29+
"body":"<ca-checkbox :itemId=\"${1}\" :itemValue=\"${2}\"></ca-checkbox>",
30+
"description":"checkbox component"
31+
},
32+
"code-snippt": {
33+
"prefix":"ca-code-snippt",
34+
"body":"<ca-code-snippt type=\"code\"></ca-code-snippt>",
35+
"description":"code-snippt component"
36+
},
37+
"content-switcher": {
38+
"prefix":"ca-content-switcher",
39+
"body":"<ca-content-switcher @selected=\"selected\"></ca-content-switcher>",
40+
"description":"content-switcher component"
41+
},
42+
"content-switcher-button": {
43+
"prefix":"ca-content-switcher-button",
44+
"body":"<ca-content-switcher-button :switchValue=\"${1}\"></ca-content-switcher-button>",
45+
"description":"content-switcher-button component"
46+
}
47+
}

‎vsc-extension-quickstart.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#Welcome to your VS Code Extension
2+
3+
##What's in the folder
4+
* This folder contains all of the files necessary for your extension.
5+
*`package.json` - this is the manifest file that defines the location of the snippet file
6+
and specifies the language of the snippets.
7+
*`snippets/snippets.json` - the file containing all snippets.
8+
9+
##Get up and running straight away
10+
* Press`F5` to open a new window with your extension loaded.
11+
* Create a new file with a file name suffix matching your language.
12+
* Verify that your snippets are proposed on intellisense.
13+
14+
##Make changes
15+
* You can relaunch the extension from the debug toolbar after making changes to the files listed above.
16+
* You can also reload (`Ctrl+R` or`Cmd+R` on Mac) the VS Code window with your extension to load your changes.
17+
18+
##Install your extension
19+
* To start using your extension with Visual Studio Code copy it into the`<user home>/.vscode/extensions` folder and restart Code.
20+
* To share your extension with the world, read onhttps://code.visualstudio.com/docs about publishing an extension.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp