Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
JedediahXu committed Mar 11, 2023
1 parent acee6a5 commit 4c6a55b
Show file tree
Hide file tree
Showing 19 changed files with 2,836 additions and 0 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

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
out
dist
node_modules
.vscode-test/
*.vsix
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nuxt.isNuxtApp": false
}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Change Log

All notable changes to the "Reminder" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [Unreleased]

- Initial release
71 changes: 71 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Reminder README

This is the README for your extension "Reminder". After writing up a brief description, we recommend including the following sections.

## Features

Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.

For example if there is an image subfolder under your extension project workspace:

\!\[feature X\]\(images/feature-x.png\)

> 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.
## Requirements

If you have any requirements or dependencies, add a section describing those and how to install and configure them.

## Extension Settings

Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.

For example:

This extension contributes the following settings:

* `myExtension.enable`: Enable/disable this extension.
* `myExtension.thing`: Set to `blah` to do something.

## Known Issues

Calling out known issues can help limit users opening duplicate issues against your extension.

## Release Notes

Users appreciate release notes as you update your extension.

### 1.0.0

Initial release of ...

### 1.0.1

Fixed issue #.

### 1.1.0

Added features X, Y, and Z.

---

## Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines)

## Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.

## For more information

* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)

**Enjoy!**
109 changes: 109 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"name": "Reminder",
"displayName": "事件提醒",
"description": "配置一项提醒事件吧,比如:久座提醒,喝水提醒,事件提醒等",
"publisher": "reminder",
"version": "0.0.1",
"author": {
"name": "Chetserenade"
},
"engines": {
"vscode": "^1.76.0"
},
"keywords": [
"事件提醒",
"久座提醒",
"喝水提醒",
"Reminder"
],
"categories": [
"Other"
],
"bugs": {
"url": "https://github.com/formulahendry/vscode-ycy/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/Microsoft/vscode-wordcount/blob/master/README.md",
"repository": {
"url": "https://github.com/cmstead/js-refactor.git",
"type": "git"
},
"activationEvents": [
"onCommand:extension.start",
"onWebviewPanel:extension.start",
"*"
],
"icon": "./src/images/time.png",
"galleryBanner": {
"color": "#C2FFD4",
"theme": "dark"
},
"main": "./dist/extension.js",
"contributes": {
"keybindings": [{
"command": "extension.start",
"key": "ctrl+f1",
"mac": "cmd+f1",
"when": "inputFocus"
}],
"commands": [{
"command": "extension.start",
"title": "Reminder"
}],
"configuration": {
"type": "object",
"title": "ReminderSetting",
"properties": {
"reminder.interval": {
"type": "number",
"default": 1,
"description": "提醒间隔(分钟)"
},
"reminder.title": {
"type": "string",
"default": "起来稍微活动一分钟或者喝一点水吧!",
"description": "提示内容"
},
"reminder.motif": {
"type": "string",
"default": "REST TIME",
"description": "主旨"
},
"reminder.picture": {
"type": "array",
"default": [
"https://static.surmon.me/thumbnail/leave-china.jpg"
],
"description": "设置图片地址"
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.76.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5",
"ts-loader": "^9.4.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"@vscode/test-electron": "^2.2.3"
}
}
Loading

0 comments on commit 4c6a55b

Please sign in to comment.