Skip to content

Commit

Permalink
chore: change code indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Seaton Jiang committed Jun 28, 2020
1 parent 8313b4d commit 733cbd9
Show file tree
Hide file tree
Showing 12 changed files with 904 additions and 900 deletions.
6 changes: 2 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"recommendations": [
"ms-vscode.vscode-typescript-tslint-plugin"
]
}
"recommendations": ["ms-vscode.vscode-typescript-tslint-plugin"]
}
54 changes: 24 additions & 30 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
16 changes: 8 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"files.exclude": {
"out": false
},
"search.exclude": {
"out": true
},
"typescript.tsc.autoDetect": "off"
}
"files.exclude": {
"out": false
},
"search.exclude": {
"out": true
},
"typescript.tsc.autoDetect": "off"
}
32 changes: 16 additions & 16 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Seaton Jiang
Copyright (c) 2019-2020 Seaton Jiang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
80 changes: 40 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gitmoji-vscode

![About](https://raw.githubusercontent.com/Vtrois/gitmoji-vscode/master/images/about.gif)
![About](https://raw.githubusercontent.com/vtrois/gitmoji-vscode/master/images/about.gif)

## About

Expand All @@ -17,76 +17,76 @@ This project provides an easy solution for using [Gitmoji](https://github.com/ca

### Select output type

* `outputType` - Configure the type of emoji output as needed. Default is `emoji`
- `outputType` - Configure the type of emoji output as needed. Default is `emoji`

For emoji type:

![emoji](https://raw.githubusercontent.com/Vtrois/gitmoji-vscode/master/images/emoji.png)
![emoji](https://raw.githubusercontent.com/vtrois/gitmoji-vscode/master/images/emoji.png)

For code type:

![code](https://raw.githubusercontent.com/Vtrois/gitmoji-vscode/master/images/code.png)
![code](https://raw.githubusercontent.com/vtrois/gitmoji-vscode/master/images/code.png)

Sample configuration:

```json
{
"gitmoji.outputType": "emoji"
"gitmoji.outputType": "emoji"
}
```

**Notice**: If you use Gitlab or Coding, type emoji, if you use Github, you can type code or emoji.

### Add configurable additionnal emojis

* `additionalEmojis` - Add configurable additionnal emojis.
- `additionalEmojis` - Add configurable additionnal emojis.

Sample configuration:

```json
{
"gitmoji.additionalEmojis":[
{
"emoji": "🐳",
"code": ":whale:",
"description": "Work about Docker",
"description_zh_cn": "倄理 Docker η›Έε…³ηš„ε·₯作"
},
{
"emoji": "🚚",
"code": ":truck:",
"description": "Moving or renaming files",
"description_zh_cn": "η§»εŠ¨ζˆ–ι‡ε‘½εζ–‡δ»Ά"
}
]
"gitmoji.additionalEmojis": [
{
"emoji": "🐳",
"code": ":whale:",
"description": "Work about Docker",
"description_zh_cn": "倄理 Docker η›Έε…³ηš„ε·₯作"
},
{
"emoji": "🚚",
"code": ":truck:",
"description": "Moving or renaming files",
"description_zh_cn": "η§»εŠ¨ζˆ–ι‡ε‘½εζ–‡δ»Ά"
}
]
}
```

**Notice**: `description_zh_cn` is a chinese (zh_CN) version of the description. If empty, the english description will be used.

### Only use your additionnal emojis

* `onlyUseAdditionalEmojis` - Use your additional emojis instead the ones from the extension.
- `onlyUseAdditionalEmojis` - Use your additional emojis instead the ones from the extension.

Sample configuration:

```json
{
"gitmoji.additionalEmojis":[
{
"emoji": "🐳",
"code": ":whale:",
"description": "Work about Docker",
"description_zh_cn": "倄理 Docker η›Έε…³ηš„ε·₯作"
},
{
"emoji": "🚚",
"code": ":truck:",
"description": "Moving or renaming files",
"description_zh_cn": "η§»εŠ¨ζˆ–ι‡ε‘½εζ–‡δ»Ά"
}
],
"gitmoji.onlyUseAdditionalEmojis": true
"gitmoji.additionalEmojis": [
{
"emoji": "🐳",
"code": ":whale:",
"description": "Work about Docker",
"description_zh_cn": "倄理 Docker η›Έε…³ηš„ε·₯作"
},
{
"emoji": "🚚",
"code": ":truck:",
"description": "Moving or renaming files",
"description_zh_cn": "η§»εŠ¨ζˆ–ι‡ε‘½εζ–‡δ»Ά"
}
],
"gitmoji.onlyUseAdditionalEmojis": true
}
```

Expand All @@ -96,14 +96,14 @@ Thanks to the contributors who inspired this project.

**Project:**

* [Gitmoji](https://github.com/carloscuesta/gitmoji)
- [Gitmoji](https://github.com/carloscuesta/gitmoji)

* [Git Emoji Commit](https://github.com/maixiaojie/git-emoji)
- [Git Emoji Commit](https://github.com/maixiaojie/git-emoji)

**Contributors:**

* @Fen, @will-stone, @ewen-lbh, @Hector-98
- @Fen, @will-stone, @ewen-lbh, @Hector-98

## License

The code is available under the [MIT](https://github.com/Vtrois/gitmoji-vscode/blob/master/LICENSE) license.
The code is available under the [MIT](https://github.com/vtrois/gitmoji-vscode/blob/master/LICENSE) license.
Loading

0 comments on commit 733cbd9

Please sign in to comment.