Skip to content

Commit

Permalink
Added necessary changes and files to provide this plugin as a vscode …
Browse files Browse the repository at this point in the history
…extension.
  • Loading branch information
Thierry Delafontaine committed Mar 3, 2022
1 parent 7203be6 commit 20b79c0
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Set default behavior to automatically normalize line endings.
* text=auto

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
*.vsix
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// A launch configuration that launches the extension 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",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
4 changes: 4 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vscode/**
.vscode-test/**
.gitignore
vsc-extension-quickstart.md
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Change Log

All notable changes to the "zhaw-snippets" extension will be documented in this file.

## 1.0.0

- Initial release
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# zhaw-snippets
A collection of ZHAW related snippets
# ZHAW Snippets

This repo contains a collection of ZHAW related snippets.
## Features

Currently, this collection provides snippets for the InES file headers in C/C++
and VHDL. More snippets will be added when they get requested or I when I
encounter them.

## Snippets

| Snippet | Purpose | Available in |
| ------- | -------------------- | ------------ |
| `inesh` | The InES file header | c, cpp, vhdl |


## Release Notes

Users appreciate release notes as you update your extension.

### 1.0.0

Initial release of zhaw-snippets
Binary file added imgs/zhaw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 24 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
{
"name": "zhaw_snippets",
"name": "zhaw-snippets",
"displayName": "ZHAW Snippets",
"description": "A collection of ZHAW related snippets",
"icon": "imgs/zhaw.png",
"version": "1.0.0",
"publisher": "InES-HPMM",
"engines": {
"vscode": "^1.11.0"
"vscode": "^1.64.0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/InES-HPMM/zhaw-snippets",
},
"scripts": {
"build": "vsce package -o zhaw-snippets-$npm_package_version.vsix",
"install": "yarn build && code --install-extension zhaw-snippets-$npm_package_version.vsix"
},
"keywords": [
"snippets",
"zhaw",
],
"categories": [
"Snippets",
],
"contributes": {
"snippets": [
{
Expand All @@ -11,7 +32,7 @@
},
{
"language": ["c", "cpp"],
"path": "./snippets/c.json"
"path": "./snippets/cpp.json"
}
]
}
Expand Down
File renamed without changes.

0 comments on commit 20b79c0

Please sign in to comment.