├── .editorconfig
├── .gitignore
├── .prettierignore
├── .prettierrc
├── .vscode
├── extensions.json
├── launch.json
├── settings.json
└── tasks.json
├── .vscodeignore
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.ja.md
├── README.ko.md
├── README.md
├── README.pt-BR.md
├── README.pt-PT.md
├── README.zh-CN.md
├── assets
├── about.gif
├── code.png
├── emoji.png
├── gitmoji.gif
└── icon.png
├── languages
├── bundle.l10n.ja.json
├── bundle.l10n.ko.json
├── bundle.l10n.pt-br.json
├── bundle.l10n.pt-pt.json
└── bundle.l10n.zh-cn.json
├── package.json
├── package.nls.ja.json
├── package.nls.json
├── package.nls.ko.json
├── package.nls.pt_br.json
├── package.nls.pt_pt.json
├── package.nls.zh-cn.json
├── src
├── extension.ts
├── git.d.ts
└── gitmoji.ts
├── tsconfig.json
└── tslint.json
/.editorconfig:
--------------------------------------------------------------------------------
1 | [*]
2 | indent_style = space
3 | indent_size = 4
4 | end_of_line = lf
5 | charset = utf-8
6 | insert_final_newline = true
7 | trim_trailing_whitespace = true
8 |
9 | [*.md]
10 | trim_trailing_whitespace = false
11 | insert_final_newline = false
12 |
13 | [{*.json,*.md,*.yml}]
14 | indent_size = 2
15 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | out/
3 | node_modules/
4 | *.vsix
5 | package-lock.json
6 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | *.md
2 | /.vscode/
3 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "printWidth": 300,
3 | "tabWidth": 4,
4 | "useTabs": false,
5 | "semi": true,
6 | "singleQuote": true,
7 | "proseWrap": "preserve",
8 | "arrowParens": "avoid",
9 | "bracketSpacing": true,
10 | "endOfLine": "auto",
11 | "eslintIntegration": true,
12 | "htmlWhitespaceSensitivity": "ignore",
13 | "ignorePath": ".prettierignore",
14 | "jsxBracketSameLine": false,
15 | "jsxSingleQuote": false,
16 | "requireConfig": false,
17 | "stylelintIntegration": true,
18 | "trailingComma": "es5",
19 | "tslintIntegration": true
20 | }
21 |
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["ms-vscode.vscode-typescript-tslint-plugin"]
3 | }
4 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | "name": "Run Extension",
6 | "type": "extensionHost",
7 | "request": "launch",
8 | "runtimeExecutable": "${execPath}",
9 | "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
10 | "outFiles": ["${workspaceFolder}/out/**/*.js"],
11 | "preLaunchTask": "${defaultBuildTask}"
12 | },
13 | {
14 | "name": "Extension Tests",
15 | "type": "extensionHost",
16 | "request": "launch",
17 | "runtimeExecutable": "${execPath}",
18 | "args": [
19 | "--extensionDevelopmentPath=${workspaceFolder}",
20 | "--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
21 | ],
22 | "outFiles": ["${workspaceFolder}/out/test/**/*.js"],
23 | "preLaunchTask": "${defaultBuildTask}"
24 | }
25 | ]
26 | }
27 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "files.exclude": {
3 | "out": false
4 | },
5 | "search.exclude": {
6 | "out": true
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0.0",
3 | "tasks": [
4 | {
5 | "type": "npm",
6 | "script": "watch",
7 | "problemMatcher": "$tsc-watch",
8 | "isBackground": true,
9 | "presentation": {
10 | "reveal": "never"
11 | },
12 | "group": {
13 | "kind": "build",
14 | "isDefault": true
15 | }
16 | }
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/.vscodeignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .vscode/**
3 | src/**
4 | .gitignore
5 | tsconfig.json
6 | tslint.json
7 | *.ts
8 | *.vsix
9 | *.map
10 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.3.0 (2025-06-04)
4 |
5 | - Add offline support emoji.
6 | - Add Gitmoji auto-suggestion based on commit message.
7 | - Upgrade dependent.
8 |
9 | ## v1.2.5 (2023-12-26)
10 |
11 | - Add config to insert emoji at the end of the commit.
12 | - Sync with official.
13 |
14 | ## v1.2.4 (2023-08-16)
15 |
16 | - Upgrade dependent.
17 |
18 | ## v1.2.3 (2023-06-13)
19 |
20 | - Add Japanese translation.
21 | - Increase the minimum requirements for VSCode versions (v1.74.0).
22 |
23 | ## v1.2.2 (2022-12-08)
24 |
25 | - Mark _rootUri as optional property.
26 |
27 | ## v1.2.1 (2022-12-03)
28 |
29 | - Increase the minimum requirements for VSCode versions (v1.73.0).
30 |
31 | ## v1.2.0 (2022-11-29)
32 |
33 | - Sync with official.
34 | - Add multiple language translations.
35 |
36 | ## v1.1.2 (2022-03-07)
37 |
38 | - Use smiley codicon instead of custom svg icon.
39 |
40 | ## v1.1.1 (2022-02-17)
41 |
42 | - Sync with official.
43 |
44 | ## v1.1.0 (2021-12-14)
45 |
46 | - Sync with official.
47 | - Change of owners.
48 |
49 | ## v1.0.9 (2021-10-11)
50 |
51 | - Update Chinese translation content.
52 |
53 | ## v1.0.8 (2021-09-18)
54 |
55 | - Add necktie emoji for business logic.
56 | - Swap emoji entry for an actual emoji.
57 |
58 | ## v1.0.7 (2021-06-17)
59 |
60 | - Add emoji for TDD.
61 |
62 | ## v1.0.6 (2021-05-08)
63 |
64 | - Render unicode gitmojis as image by default.
65 |
66 | ## v1.0.5 (2021-03-13)
67 |
68 | - Sync with official.
69 |
70 | ## v1.0.4 (2020-12-13)
71 |
72 | - Sync with official.
73 |
74 | ## v1.0.3 (2020-11-27)
75 |
76 | - Fix emoji code not showing up in source control.
77 |
78 | ## v1.0.2 (2020-11-25)
79 |
80 | - Sync with official.
81 | - Add the ability to search for gitmoji by emoji code.
82 |
83 | ## v1.0.1 (2020-11-08)
84 |
85 | - Sync with official.
86 |
87 | ## v1.0.0 (2020-10-06)
88 |
89 | - Official version release.
90 | - Sync with official.
91 |
92 | ## v0.2.4 (2020-10-04)
93 |
94 | - Sync with official.
95 | - Replace default github branch.
96 | - Update VSCode api.
97 |
98 | ## v0.2.3 (2020-09-23)
99 |
100 | - Sync with official.
101 |
102 | ## v0.2.2 (2020-08-30)
103 |
104 | - Sync with official.
105 | - Fix lower case "Remove".
106 |
107 | ## v0.2.1 (2020-07-22)
108 |
109 | - Change all the verbs to infinitive.
110 | - Fix icons to match new style.
111 |
112 | ## v0.2.0 (2020-07-03)
113 |
114 | - Add build scripts emojis.
115 | - Clarify bulb description.
116 | - Update wrench description.
117 | - Specify some descriptions.
118 | - Modify the installation method.
119 | - Change code indentation.
120 |
121 | ## v0.1.9 (2020-05-23)
122 |
123 | - Add option to only use the configurable additionnal emojis.
124 |
125 | ## v0.1.8 (2020-01-30)
126 |
127 | - Add configurable additionnal emojis.
128 | - Add new emoji for deprecating code that needs to be cleaned up.
129 |
130 | ## v0.1.7 (2020-01-13)
131 |
132 | - Add space after emoji prefix.
133 |
134 | ## v0.1.6 (2019-12-27)
135 |
136 | - Optimization command description.
137 |
138 | ## v0.1.5 (2019-12-15)
139 |
140 | - Add new emoji for catching errors.
141 |
142 | ## v0.1.4 (2019-11-21)
143 |
144 | - Configure the type of Gitmoji output.
145 |
146 | ## v0.1.3 (2019-11-19)
147 |
148 | - Fix extension description.
149 |
150 | ## v0.1.2 (2019-11-17)
151 |
152 | - Repair install instructions.
153 |
154 | ## v0.1.1 (2019-11-17)
155 |
156 | - Sync with official.
157 | - Chinese description according to the vscode env.
158 |
159 | ## v0.1.0 (2019-11-16)
160 |
161 | - Initial release.
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | We as members, contributors, and leaders pledge to make participation in our
6 | community a harassment-free experience for everyone, regardless of age, body
7 | size, visible or invisible disability, ethnicity, sex characteristics, gender
8 | identity and expression, level of experience, education, socio-economic status,
9 | nationality, personal appearance, race, religion, or sexual identity
10 | and orientation.
11 |
12 | We pledge to act and interact in ways that contribute to an open, welcoming,
13 | diverse, inclusive, and healthy community.
14 |
15 | ## Our Standards
16 |
17 | Examples of behavior that contributes to a positive environment for our
18 | community include:
19 |
20 | * Demonstrating empathy and kindness toward other people
21 | * Being respectful of differing opinions, viewpoints, and experiences
22 | * Giving and gracefully accepting constructive feedback
23 | * Accepting responsibility and apologizing to those affected by our mistakes,
24 | and learning from the experience
25 | * Focusing on what is best not just for us as individuals, but for the
26 | overall community
27 |
28 | Examples of unacceptable behavior include:
29 |
30 | * The use of sexualized language or imagery, and sexual attention or
31 | advances of any kind
32 | * Trolling, insulting or derogatory comments, and personal or political attacks
33 | * Public or private harassment
34 | * Publishing others' private information, such as a physical or email
35 | address, without their explicit permission
36 | * Other conduct which could reasonably be considered inappropriate in a
37 | professional setting
38 |
39 | ## Enforcement Responsibilities
40 |
41 | Community leaders are responsible for clarifying and enforcing our standards of
42 | acceptable behavior and will take appropriate and fair corrective action in
43 | response to any behavior that they deem inappropriate, threatening, offensive,
44 | or harmful.
45 |
46 | Community leaders have the right and responsibility to remove, edit, or reject
47 | comments, commits, code, wiki edits, issues, and other contributions that are
48 | not aligned to this Code of Conduct, and will communicate reasons for moderation
49 | decisions when appropriate.
50 |
51 | ## Scope
52 |
53 | This Code of Conduct applies within all community spaces, and also applies when
54 | an individual is officially representing the community in public spaces.
55 | Examples of representing our community include using an official e-mail address,
56 | posting via an official social media account, or acting as an appointed
57 | representative at an online or offline event.
58 |
59 | ## Enforcement
60 |
61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
62 | reported to the community leaders responsible for enforcement at
63 | hi@seatonjiang.com.
64 | All complaints will be reviewed and investigated promptly and fairly.
65 |
66 | All community leaders are obligated to respect the privacy and security of the
67 | reporter of any incident.
68 |
69 | ## Enforcement Guidelines
70 |
71 | Community leaders will follow these Community Impact Guidelines in determining
72 | the consequences for any action they deem in violation of this Code of Conduct:
73 |
74 | ### 1. Correction
75 |
76 | **Community Impact**: Use of inappropriate language or other behavior deemed
77 | unprofessional or unwelcome in the community.
78 |
79 | **Consequence**: A private, written warning from community leaders, providing
80 | clarity around the nature of the violation and an explanation of why the
81 | behavior was inappropriate. A public apology may be requested.
82 |
83 | ### 2. Warning
84 |
85 | **Community Impact**: A violation through a single incident or series
86 | of actions.
87 |
88 | **Consequence**: A warning with consequences for continued behavior. No
89 | interaction with the people involved, including unsolicited interaction with
90 | those enforcing the Code of Conduct, for a specified period of time. This
91 | includes avoiding interactions in community spaces as well as external channels
92 | like social media. Violating these terms may lead to a temporary or
93 | permanent ban.
94 |
95 | ### 3. Temporary Ban
96 |
97 | **Community Impact**: A serious violation of community standards, including
98 | sustained inappropriate behavior.
99 |
100 | **Consequence**: A temporary ban from any sort of interaction or public
101 | communication with the community for a specified period of time. No public or
102 | private interaction with the people involved, including unsolicited interaction
103 | with those enforcing the Code of Conduct, is allowed during this period.
104 | Violating these terms may lead to a permanent ban.
105 |
106 | ### 4. Permanent Ban
107 |
108 | **Community Impact**: Demonstrating a pattern of violation of community
109 | standards, including sustained inappropriate behavior, harassment of an
110 | individual, or aggression toward or disparagement of classes of individuals.
111 |
112 | **Consequence**: A permanent ban from any sort of public interaction within
113 | the community.
114 |
115 | ## Attribution
116 |
117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118 | version 2.0, available at
119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120 |
121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
122 | enforcement ladder](https://github.com/mozilla/diversity).
123 |
124 | [homepage]: https://www.contributor-covenant.org
125 |
126 | For answers to common questions about this code of conduct, see the FAQ at
127 | https://www.contributor-covenant.org/faq. Translations are available at
128 | https://www.contributor-covenant.org/translations.
129 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2019-2022 Seaton Jiang
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.ja.md:
--------------------------------------------------------------------------------
1 | [English](README.md) | [简体中文](README.zh-CN.md) | [Português Brasileiro](README.pt-BR.md) | [Português Europeu](README.pt-PT.md) | **日本語** | [한국어](README.ko.md)
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | 不具合報告
22 | ·
23 | 機能リクエスト
24 |
25 |
26 | VSCode 内の Git コミットメッセージ用 Gitmoji ツール
27 |
28 | ## 💻 スクリーンショット
29 |
30 |
31 |
32 |
33 |
34 | ## 📦 インストール
35 |
36 | 1. [Visual Studio Code](https://code.visualstudio.com/) を開く。
37 | 2. `Ctrl+Shift+X` で拡張機能タブを開く。
38 | 3. `Gitmoji` と入力して、この拡張機能を見つける。
39 | 4. `インストール` ボタンをクリック後、 `有効にする` ボタンをクリックする。
40 |
41 | ## 🔨 設定
42 |
43 | ### 絵文字の出力タイプ選択
44 |
45 | - `outputType` - 絵文字の出力タイプを設定できます。(デフォルトは `emoji` タイプ)。
46 |
47 | emoji タイプの出力例:
48 |
49 | 
50 |
51 | code タイプの出力例:
52 |
53 | 
54 |
55 | 例:
56 |
57 | ```json
58 | {
59 | "gitmoji.outputType": "emoji"
60 | }
61 | ```
62 |
63 | > **注意**: Gitlab や Coding で使用する場合は、「code」タイプを選択しなければなりません。 GitHub で使用する場合は、任意のタイプを選択できます。
64 |
65 | ### カスタム絵文字を設定する
66 |
67 | - `addCustomEmoji` - 自分でカスタマイズした絵文字を追加できます。
68 |
69 | 例:
70 |
71 | ```json
72 | {
73 | "gitmoji.addCustomEmoji": [
74 | {
75 | "emoji": "🧵",
76 | "code": ":thread:",
77 | "description": "マルチスレッドや並行処理に関連するコードの追加/更新"
78 | },
79 | {
80 | "emoji": "🦺",
81 | "code": ":safety_vest:",
82 | "description": "バリデーションの追加/更新"
83 | }
84 | ]
85 | }
86 | ```
87 |
88 | ### カスタム絵文字のみを使用する
89 |
90 | - `onlyUseCustomEmoji` - 拡張機能にもとから含まれるデフォルトの絵文字ではなく、自身でカスタマイズした絵文字のみを使用する(デフォルトでは無効)。
91 |
92 | 例:
93 |
94 | ```json
95 | {
96 | "gitmoji.onlyUseCustomEmoji": true
97 | }
98 | ```
99 |
100 | ### ショートコードで絵文字検索
101 |
102 | - `showEmojiCode` - ショートコードによる絵文字の検索を有効にする(デフォルトでは無効)。
103 |
104 | 例:
105 |
106 | ```json
107 | {
108 | "gitmoji.showEmojiCode": true
109 | }
110 | ```
111 |
112 | ### コミットの最後に絵文字を挿入
113 |
114 | - `asSuffix` - コミットメッセージの接尾辞として絵文字を挿入することを有効にします。
115 |
116 | 例:
117 |
118 | ```json
119 | {
120 | "gitmoji.asSuffix": true
121 | }
122 | ```
123 |
124 |
125 | ## 🤝 コントリビュートについて
126 |
127 | 私たちはすべての貢献を歓迎します。どんなアイデアでもプルリクエストとして、あるいはイシューとして提出することができます!
128 |
129 | ## 📃 ライセンス
130 |
131 | このプロジェクトは MIT ライセンスで公開されています。詳しくは [LICENSE](https://github.com/seatonjiang/gitmoji-vscode/blob/main/LICENSE) をご覧ください。
132 |
--------------------------------------------------------------------------------
/README.ko.md:
--------------------------------------------------------------------------------
1 | [English](README.md) | [简体中文](README.zh-CN.md) | [Português Brasileiro](README.pt-BR.md) | [Português Europeu](README.pt-PT.md) | [日本語](README.ja.md) | **한국어**
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | 버그 제보하기
24 | ·
25 | 기능 요청하기
26 |
27 |
28 |
29 | VSCode에서 깃 커밋 메세지를 위한 깃모지 도구
30 |
31 |
32 | ## 💻 Screenshot
33 |
34 |
35 |
36 |
37 |
38 | ## 📦 Install
39 |
40 | 1. [Visual Studio Code](https://code.visualstudio.com/)를 엽니다.
41 | 2. `Ctrl+Shift+X`를 입력해서 확장 프로그램 탭을 엽니다.
42 | 3. `Gitmoji`를 입력해서 확장 프로그램을 찾습니다.
43 | 4. `Install` 을 눌러 다운을 받고, `Enable` 버튼으로 사용합니다.
44 |
45 | ## 🔨 Configuration
46 |
47 | ### 출력 형식
48 |
49 | - `outputType` - (필요한 경우) 이모지의 출력 형식을 설정합니다. 기본값은 `emoji`입니다.
50 |
51 | 이모지 형식 예시:
52 |
53 | 
54 |
55 | 코드 형식 예시:
56 |
57 | 
58 |
59 | 간단한 구성 예시:
60 |
61 | ```json
62 | {
63 | "gitmoji.outputType": "emoji"
64 | }
65 | ```
66 |
67 | > **중요** : Gitlab을 사용하는 중이라면 `emoji` 형식만 가능합니다. Github에선 `code` ,`emoji` 모두 사용할 수 있습니다.
68 |
69 | ### 이모지 추가하기
70 |
71 | - `addCustomEmoji` - Gitmoji 이외의 사용자 정의 이모지를 추가합니다.
72 |
73 | 간단한 구성 예시:
74 |
75 | ```json
76 | {
77 | "gitmoji.addCustomEmoji": [
78 | {
79 | "emoji": "🧵",
80 | "code": ":thread:",
81 | "description": "Add or update code related to multithreading or concurrency"
82 | },
83 | {
84 | "emoji": "🦺",
85 | "code": ":safety_vest:",
86 | "description": "Add or update code related to validation"
87 | }
88 | ]
89 | }
90 | ```
91 |
92 | ### 사용자 정의 이모지만 사용하려면
93 |
94 | - `onlyUseCustomEmoji` - Gitmoji를 사용하지 않고 사용자 정의 이모지만 사용합니다.
95 |
96 | 간단한 구성 예시:
97 |
98 | ```json
99 | {
100 | "gitmoji.onlyUseCustomEmoji": true
101 | }
102 | ```
103 |
104 | ### 이모지 코드로 깃모지 찾기
105 |
106 | - `showEmojiCode` - 이모지 코드로 검색합니다. (예시: 'ambulance'를 검색하면 'hotfix' 결과가 표시됩니다.)
107 |
108 | 간단한 구성 예시:
109 |
110 | ```json
111 | {
112 | "gitmoji.showEmojiCode": true
113 | }
114 | ```
115 |
116 | ### 커밋 끝에 이모지 추가하기
117 |
118 | - `asSuffix` - 커밋 메세지 끝에 이모지를 추가합니다.
119 |
120 | 간단한 구성 예시:
121 |
122 | ```json
123 | {
124 | "gitmoji.asSuffix": true
125 | }
126 | ```
127 |
128 | ## 🤝 Contributing
129 |
130 | 모든 기여를 환영합니다. 프로젝트의 아이디어를 issue나 PR로 남겨주세요, 감사합니다!
131 |
132 | ## 📃 License
133 |
134 | 이 프로젝트는 MIT License를 따릅니다. 라이센스 정보는 [LICENCE](https://github.com/seatonjiang/gitmoji-vscode/blob/main/LICENSE) 에서 자세하게 확인할 수 있습니다.
135 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | **English** | [简体中文](README.zh-CN.md) | [Português Brasileiro](README.pt-BR.md) | [Português Europeu](README.pt-PT.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | Report Bug
24 | ·
25 | Request Feature
26 |
27 |
28 |
29 | Gitmoji tool for git commit messages in VSCode
30 |
31 |
32 | ## 💻 Screenshot
33 |
34 |
35 |
36 |
37 |
38 | ## 📦 Install
39 |
40 | 1. Open [Visual Studio Code](https://code.visualstudio.com/).
41 | 2. Press `Ctrl+Shift+X` to open the Extensions tab.
42 | 3. Type `Gitmoji` to find the extension.
43 | 4. Click the `Install` button, then the `Enable` button.
44 |
45 | ## 🔨 Configuration
46 |
47 | ### Select output type
48 |
49 | - `outputType` - Configure the type of emoji output as needed. Default is `emoji`.
50 |
51 | For emoji type:
52 |
53 | 
54 |
55 | For code type:
56 |
57 | 
58 |
59 | Sample configuration:
60 |
61 | ```json
62 | {
63 | "gitmoji.outputType": "emoji"
64 | }
65 | ```
66 |
67 | > **Notice**: If you use Gitlab, type emoji, if you use GitHub, you can type code or emoji.
68 |
69 | ### Add configurable additionnal emojis
70 |
71 | - `addCustomEmoji` - Add custom emoji other than Gitmoji.
72 |
73 | Sample configuration:
74 |
75 | ```json
76 | {
77 | "gitmoji.addCustomEmoji": [
78 | {
79 | "emoji": "🧵",
80 | "code": ":thread:",
81 | "description": "Add or update code related to multithreading or concurrency"
82 | },
83 | {
84 | "emoji": "🦺",
85 | "code": ":safety_vest:",
86 | "description": "Add or update code related to validation"
87 | }
88 | ]
89 | }
90 | ```
91 |
92 | ### Only use your Custom emojis
93 |
94 | - `onlyUseCustomEmoji` - Only use your custom emoji, not the ones in the Gitmoji.
95 |
96 | Sample configuration:
97 |
98 | ```json
99 | {
100 | "gitmoji.onlyUseCustomEmoji": true
101 | }
102 | ```
103 |
104 | ### Search Gitmoji by emoji code
105 |
106 | - `showEmojiCode` - Enable searching gitmojis by emoji code (example: ambulance will return hotfix).
107 |
108 | Sample configuration:
109 |
110 | ```json
111 | {
112 | "gitmoji.showEmojiCode": true
113 | }
114 | ```
115 |
116 | ### Insert emoji at the end of the commit
117 |
118 | - `asSuffix` - Enable emoji insertion as a suffix of the commit message.
119 |
120 | Sample configuration:
121 |
122 | ```json
123 | {
124 | "gitmoji.asSuffix": true
125 | }
126 | ```
127 |
128 | ### Auto-match emoticons based on submitted messages
129 |
130 | - `autoMatch` - Automatically matches emoji based on message submissions.
131 |
132 | Sample configuration:
133 |
134 | ```json
135 | {
136 | "gitmoji.autoMatch": true
137 | }
138 | ```
139 |
140 | ## 🤝 Contributing
141 |
142 | We welcome all contributions. You can submit any ideas as Pull requests or as Issues, have a good time!
143 |
144 | ## 📃 License
145 |
146 | The project is released under the MIT License, see the [LICENCE](https://github.com/seatonjiang/gitmoji-vscode/blob/main/LICENSE) file for details.
147 |
--------------------------------------------------------------------------------
/README.pt-BR.md:
--------------------------------------------------------------------------------
1 | [English](README.md) | [简体中文](README.zh-CN.md) | **Português Brasileiro** | [Português Europeu](README.pt-PT.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | Sinalize o bug
24 | ·
25 | Solicite a nova função
26 |
27 |
28 |
29 | Ferramenta Gitmoji para mensagens de compromisso de gitmoji em VSCode
30 |
31 |
32 | ## 💻 Captura de tela
33 |
34 |
35 |
36 |
37 |
38 | ## 📦 Instalação
39 |
40 | 1. Abra [Visual Studio Code](https://code.visualstudio.com/).
41 | 2. Pressione `Ctrl` + `Shift`+ `X` para abrir o guia de extensões.
42 | 3. Digite `Gitmoji` para achar a extensão.
43 | 4. Clique no botão `Instalar`, então o botão `Ativar`.
44 |
45 | ## 🔨 Configuração
46 |
47 | ### Selecione o tipo de saída
48 |
49 | - `outputType` - Configurar o tipo de saída de *emoji,* conforme necessário. O padrão é `emoji`.
50 |
51 | Para o tipo de *emoji:*
52 |
53 | 
54 |
55 | Para o tipo de código:
56 |
57 | 
58 |
59 | Amostra de configuração:
60 |
61 | ```json
62 | {
63 | "gitmoji.outputType": "emoji"
64 | }
65 | ```
66 |
67 | **Observação**: Se você usar Gitlab, digite `emoji`, se você usar GitHub, você pode escrever `code` ou `emoji`.
68 |
69 | ### Configurar a adição de *emojis* adicionais
70 |
71 | - `addCustomEmoji` - Configurar a adição de novos *emojis.*
72 |
73 | Amostra de configuração:
74 |
75 | ```json
76 | {
77 | "gitmoji.addCustomEmoji": [
78 | {
79 | "emoji": "🧵",
80 | "code": ":thread:",
81 | "description": "Adicionar ou atualizar código relacionado a multithreading ou concurrency"
82 | },
83 | {
84 | "emoji": "🦺",
85 | "code": ":safety_vest:",
86 | "description": "Adicionar ou atualizar código relacionado à validação"
87 | }
88 | ]
89 | }
90 | ```
91 |
92 | ### Usar apenas os *emojis* adicionais
93 |
94 | - `onlyUseCustomEmoji` - Usar seus *emojis* adicionais ao invés desses da extensão.
95 |
96 | Amostra de configuração:
97 |
98 | ```json
99 | {
100 | "gitmoji.onlyUseCustomEmoji": true
101 | }
102 | ```
103 |
104 | ### Procurar `gitmoji` pelo código de *emoji*
105 |
106 | - `showEmojiCode` - Ativar a pesquisa de *gitmojis* pelo código de *emoji*. (Por exemplo: `ambulance` retornará `hotfix`).
107 |
108 | Amostra de configuração:
109 |
110 | ```json
111 | {
112 | "gitmoji.showEmojiCode": true
113 | }
114 | ```
115 |
116 | ### Insira o emoji no final do commit
117 |
118 | - `asSuffix` - Ative a inserção do emoji como um sufixo da mensagem de commit.
119 |
120 | Amostra de configuração:
121 |
122 | ```json
123 | {
124 | "gitmoji.asSuffix": true
125 | }
126 | ```
127 |
128 | ## 🤝 Contribuição
129 |
130 | Nós damos as boas-vindas a quaisquer contribuições. Você pode enviar quaisquer ideias, assim como *pull requests* ou *issues*. Tenha um ótimo tempo!
131 |
132 | ## 📃 Licença
133 |
134 | O projeto está sob a licença de MIT, veja o arquivo da [LICENÇA](https://github.com/seatonjiang/gitmoji-vscode/blob/main/LICENSE) para ver mais detalhes.
135 |
--------------------------------------------------------------------------------
/README.pt-PT.md:
--------------------------------------------------------------------------------
1 | [English](README.md) | [简体中文](README.zh-CN.md) | [Português Brasileiro](README.pt-BR.md) | **Português Europeu** | [日本語](README.ja.md) | [한국어](README.ko.md)
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | Denuncie o bug
24 | ·
25 | Solicite a nova função
26 |
27 |
28 |
29 | Ferramenta Gitmoji para mensagens de compromisso de gitmoji em VSCode
30 |
31 |
32 | ## 💻 Captura de ecrã
33 |
34 |
35 |
36 |
37 |
38 | ## 📦 Instalação
39 |
40 | 1. Abra [Visual Studio Code](https://code.visualstudio.com/).
41 | 2. Prima `Ctrl` + `Shift`+ `X` para o guia de extensões.
42 | 3. Introduza `Gitmoji` para encontrar a extensão.
43 | 4. Prima o botão `Instalar`, então o botão `Ativar`.
44 |
45 | ## 🔨 Definição
46 |
47 | ### Selecione a categoria de saída
48 |
49 | - `outputType` - Definir a categoria de saída de *emoji,* conforme necessário. O padrão é `emoji`.
50 |
51 | Para a categoria de *emoji:*
52 |
53 | 
54 |
55 | Para a categoria de código:
56 |
57 | 
58 |
59 | Amostra de definição:
60 |
61 | ```json
62 | {
63 | "gitmoji.outputType": "emoji"
64 | }
65 | ```
66 |
67 | **Observação**: Se vocë utilizar Gitlab, introduza `emoji`, se você utilizar, você pode introduzir `code` ou `emoji`.
68 |
69 | ### Definição da adição de novos *emojis*
70 |
71 | - `addCustomEmoji` - Configurar a adição de novos *emojis.*
72 |
73 | Amostra de definição:
74 |
75 | ```json
76 | {
77 | "gitmoji.addCustomEmoji": [
78 | {
79 | "emoji": "🧵",
80 | "code": ":thread:",
81 | "description": "Adicionar ou actualizar código relacionado com multithreading ou concurrency"
82 | },
83 | {
84 | "emoji": "🦺",
85 | "code": ":safety_vest:",
86 | "description": "Adicionar ou actualizar o código relacionado com a validação"
87 | }
88 | ]
89 | }
90 | ```
91 |
92 | ### Utilizar apenas os novos *emojis*
93 |
94 | - `onlyUseCustomEmoji` - Utilizar seus novos *emojis* ao invés daqueles da extensão.
95 |
96 | Amostra de definição:
97 |
98 | ```json
99 | {
100 | "gitmoji.onlyUseCustomEmoji": true
101 | }
102 | ```
103 |
104 | ### Pesquisar `gitmoji` pelo código de *emoji*
105 |
106 | - `showEmojiCode` - Habilitar a pesquisa de *gitmojis* pelo código de *emoji*. (Por exemplo: `ambulance` tornar-se-á `hotfix`).
107 |
108 | Amostra de definição:
109 |
110 | ```json
111 | {
112 | "gitmoji.showEmojiCode": true
113 | }
114 | ```
115 |
116 | ### Inserir emoji no final do compromisso
117 |
118 | - `asSuffix` - Ative a inserção de emoji como um sufixo da mensagem de compromisso.
119 |
120 | Amostra de definição:
121 |
122 | ```json
123 | {
124 | "gitmoji.asSuffix": true
125 | }
126 | ```
127 |
128 | ## 🤝 Contribuição
129 |
130 | Quaisquer contribuições sempre serão bem-vindas. Você pode enviar quaisquer ideias, solicitações de *pull* ou problemas (*issues*). Tenha um excelente tempo!
131 |
132 | ## 📃 Licença
133 |
134 | O projeto está lançado com a licença de MIT, veja o ficheiro da [LICENÇA](https://github.com/seatonjiang/gitmoji-vscode/blob/main/LICENSE) para saber mais informações.
135 |
--------------------------------------------------------------------------------
/README.zh-CN.md:
--------------------------------------------------------------------------------
1 | [English](README.md) | **简体中文** | [Português Brasileiro](README.pt-BR.md) | [Português Europeu](README.pt-PT.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | 报告问题
22 | ·
23 | 功能需求
24 |
25 |
26 | VSCode 中用于 Git 提交信息的 Gitmoji 工具
27 |
28 | ## 💻 扩展截图
29 |
30 |
31 |
32 |
33 |
34 | ## 📦 安装扩展
35 |
36 | 1. 首先打开 [Visual Studio Code](https://code.visualstudio.com/);
37 | 2. 使用 `Ctrl+Shift+X` 组合键打开「扩展」标签;
38 | 3. 输入 `Gitmoji` 寻找此扩展;
39 | 4. 点击 `安装` 按钮,然后点击 `启用` 按钮即可。
40 |
41 | **提示**:也可以直接在 Marketplace 中找到 [Gitmoji](https://marketplace.visualstudio.com/items?itemName=seatonjiang.gitmoji-vscode),然后点击 `Install` 即可。
42 |
43 | ## 🔨 配置扩展
44 |
45 | ### 表情符号输出类型
46 |
47 | - `outputType` - 配置表情符号的输出类型(默认为 `emoji` 模式)。
48 |
49 | emoji 模式的例子:
50 |
51 | 
52 |
53 | code 模式的例子:
54 |
55 | 
56 |
57 | 示例配置:
58 |
59 | ```json
60 | {
61 | "gitmoji.outputType": "emoji"
62 | }
63 | ```
64 |
65 | > **提示**:如果在 Gitlab 或者 Coding 中使用,需要选择「code」模式;如果在 GitHub 中使用,可以随意选择「emoji」或「code」模式。
66 |
67 | ### 添加自定义表情符号
68 |
69 | - `addCustomEmoji` - 添加自定义表情符号。
70 |
71 | 示例配置:
72 |
73 | ```json
74 | {
75 | "gitmoji.addCustomEmoji": [
76 | {
77 | "emoji": "🧵",
78 | "code": ":thread:",
79 | "description": "添加或更新与多线程或并发相关的代码"
80 | },
81 | {
82 | "emoji": "🦺",
83 | "code": ":safety_vest:",
84 | "description": "添加或更新与验证相关的代码"
85 | }
86 | ]
87 | }
88 | ```
89 |
90 | ### 仅使用自定义表情符号
91 |
92 | - `onlyUseCustomEmoji` - 仅使用自定义添加的表情符号,而不使用扩展中自带的表情符号(该功能默认关闭)。
93 |
94 | 示例配置:
95 |
96 | ```json
97 | {
98 | "gitmoji.onlyUseCustomEmoji": true
99 | }
100 | ```
101 |
102 | ### 通过简码搜索表情符号
103 |
104 | - `showEmojiCode` - 开启通过简码搜索表情符号功能(该功能默认关闭)。
105 |
106 | 示例配置:
107 |
108 | ```json
109 | {
110 | "gitmoji.showEmojiCode": true
111 | }
112 | ```
113 |
114 | ### 在消息最后插入表情符号
115 |
116 | - `asSuffix` - 开启在消息最后插入标签符号的功能(该功能默认关闭)。
117 |
118 | 示例配置:
119 |
120 | ```json
121 | {
122 | "gitmoji.asSuffix": true
123 | }
124 | ```
125 |
126 | ### 根据提交消息自动匹配表情符号
127 |
128 | - `autoMatch` - 根据提交消息自动匹配表情符号功能(该功能默认关闭)。
129 |
130 | 示例配置:
131 |
132 | ```json
133 | {
134 | "gitmoji.autoMatch": true
135 | }
136 | ```
137 |
138 | ## 🤝 参与共建
139 |
140 | 我们欢迎所有的贡献,你可以将任何想法作为 Pull requests 或 Issues 提交,顺颂商祺!
141 |
142 | ## 📃 开源许可
143 |
144 | 项目基于 MIT 许可证发布,详细说明请参阅 [LICENCE](https://github.com/seatonjiang/gitmoji-vscode/blob/main/LICENSE) 文件。
145 |
--------------------------------------------------------------------------------
/assets/about.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seatonjiang/gitmoji-vscode/62e2f31a5ada60825101e18fae142ccba4751f0c/assets/about.gif
--------------------------------------------------------------------------------
/assets/code.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seatonjiang/gitmoji-vscode/62e2f31a5ada60825101e18fae142ccba4751f0c/assets/code.png
--------------------------------------------------------------------------------
/assets/emoji.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seatonjiang/gitmoji-vscode/62e2f31a5ada60825101e18fae142ccba4751f0c/assets/emoji.png
--------------------------------------------------------------------------------
/assets/gitmoji.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seatonjiang/gitmoji-vscode/62e2f31a5ada60825101e18fae142ccba4751f0c/assets/gitmoji.gif
--------------------------------------------------------------------------------
/assets/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seatonjiang/gitmoji-vscode/62e2f31a5ada60825101e18fae142ccba4751f0c/assets/icon.png
--------------------------------------------------------------------------------
/languages/bundle.l10n.ja.json:
--------------------------------------------------------------------------------
1 | {
2 | "Improve structure/format of the code": "コードの構造/形式の改善",
3 | "Improve performance": "パフォーマンス改善",
4 | "Remove code or files": "コードやファイルの削除",
5 | "Fix a bug": "バグの修正",
6 | "Critical hotfix": "重大なホットフィックス",
7 | "Introduce new features": "新機能の導入",
8 | "Add or update documentation": "ドキュメンテーションの追加/更新",
9 | "Deploy stuff": "デプロイ",
10 | "Add or update the UI and style files": "UIやスタイルファイルの追加/更新",
11 | "Begin a project": "プロジェクトの開始",
12 | "Add, update, or pass tests": "テストの追加/更新/合格",
13 | "Fix security or privacy issues": "セキュリティやプライバシーに関する問題の修正",
14 | "Add or update secrets": "シークレットの追加/更新",
15 | "Release/Version tags": "リリース/バージョンタグ",
16 | "Fix compiler/linter warnings": "コンパイラ/リンターの警告を修正",
17 | "Work in progress": "作業中",
18 | "Fix CI Build": "CIビルドの修正",
19 | "Downgrade dependencies": "依存関係のダウングレード",
20 | "Upgrade dependencies": "依存関係のアップグレード",
21 | "Pin dependencies to specific versions": "依存関係を特定のバージョンに固定",
22 | "Add or update CI build system": "CIビルドシステムの追加/更新",
23 | "Add or update analytics or track code": "分析またはトラッキングコードの追加/更新",
24 | "Refactor code": "コードのリファクタリング",
25 | "Add a dependency": "依存関係の追加",
26 | "Remove a dependency": "依存関係の削除",
27 | "Add or update configuration files": "設定ファイルの追加/更新",
28 | "Add or update development scripts": "開発スクリプトの追加/更新",
29 | "Internationalization and localization": "多言語対応",
30 | "Fix typos": "誤字の修正",
31 | "Write bad code that needs to be improved": "改善が必要な悪いコード",
32 | "Revert changes": "変更を元に戻す",
33 | "Merge branches": "ブランチをマージ",
34 | "Add or update compiled files or packages": "コンパイル済みファイルやパッケージの追加/更新",
35 | "Update code due to external API changes": "外部APIの変更に伴うコードの更新",
36 | "Move or rename resources (e.g.: files, paths, routes)": "リソース (例:ファイル、パス、ルート) を移動/名称変更",
37 | "Add or update license": "ライセンスの追加/更新",
38 | "Introduce breaking changes": "破壊的な変更の導入",
39 | "Add or update assets": "アセットの追加/更新",
40 | "Improve accessibility": "アクセシビリティ改善",
41 | "Add or update comments in source code": "ソースコード上のコメントの追加/更新",
42 | "Write code drunkenly": "酔った勢いでコードを書く",
43 | "Add or update text and literals": "ドキュメンテーションを追加/更新",
44 | "Perform database related changes": "データベース関連の変更の実行",
45 | "Add or update logs": "ログの追加/更新",
46 | "Remove logs": "ログ削除",
47 | "Add or update contributor(s)": "コントリビューター追加/更新",
48 | "Improve user experience/usability": "UX/ユーザビリティ改善",
49 | "Make architectural changes": "アーキテクチャの変更",
50 | "Work on responsive design": "レスポンシブデザイン",
51 | "Mock things": "モックテスト",
52 | "Add or update an easter egg": "イースターエッグ追加",
53 | "Add or update a .gitignore file": ".gitignore追加",
54 | "Add or update snapshots": "スナップショット追加/更新",
55 | "Perform experiments": "新機能の実験",
56 | "Improve SEO": "SEO改善",
57 | "Add or update types": "型の追加/更新",
58 | "Add or update seed files": "シードファイルの追加/更新",
59 | "Add, update, or remove feature flags": "フィーチャーフラグの追加/更新/削除",
60 | "Catch errors": "エラーキャッチ",
61 | "Add or update animations and transitions": "アニメーションやトランジションの追加/更新",
62 | "Deprecate code that needs to be cleaned up": "クリーンアップが必要なコードの非推奨化",
63 | "Work on code related to authorization, roles and permissions": "認証/ロール/パーミッションに関するコード",
64 | "Simple fix for a non-critical issue": "重大でない問題の軽微な修正",
65 | "Data exploration/inspection": "データの探索/検査",
66 | "Remove dead code": "デッドコード削除",
67 | "Add a failing test": "失敗するテストの追加",
68 | "Add or update business logic": "ビジネスロジックの追加/更新",
69 | "Add or update healthcheck": "ヘルスチェックの追加/更新",
70 | "Infrastructure related changes": "インフラ関連の変更",
71 | "Improve developer experience": "DX改善",
72 | "Add sponsorships or money related infrastructure": "スポンサーやお金に関するインフラの追加",
73 | "Add or update code related to multithreading or concurrency": "マルチスレッドや並行処理に関連するコードの追加/更新",
74 | "Add or update code related to validation": "バリデーションの追加/更新",
75 | "Improve offline support": "オフライン対応の改善"
76 | }
77 |
--------------------------------------------------------------------------------
/languages/bundle.l10n.ko.json:
--------------------------------------------------------------------------------
1 | {
2 | "Improve structure/format of the code": "구조 개선/코드 포맷 적용",
3 | "Improve performance": "성능 개선",
4 | "Remove code or files": "코드 혹은 파일 제거",
5 | "Fix a bug": "버그 수정",
6 | "Critical hotfix": "중요한 긴급 수정",
7 | "Introduce new features": "새 기능 추가",
8 | "Add or update documentation": "문서 추가/수정",
9 | "Deploy stuff": "배포 관련 작업",
10 | "Add or update the UI and style files": "UI,스타일 파일 추가/업데이트",
11 | "Begin a project": "프로젝트 시작",
12 | "Add, update, or pass tests": "추가, 업데이트 혹은 테스트 통과",
13 | "Fix security or privacy issues": "보안 및 프라이버시 문제 수정",
14 | "Add or update secrets": "시크릿(비밀키) 추가/업데이트",
15 | "Release/Version tags": "릴리스/버전 태그",
16 | "Fix compiler/linter warnings": "컴파일러/린터 경고 수정",
17 | "Work in progress": "작업 중",
18 | "Fix CI Build": "CI 빌드 수정",
19 | "Downgrade dependencies": "종속성 다운그레이드",
20 | "Upgrade dependencies": "종속성 업그레이드",
21 | "Pin dependencies to specific versions": "종속성을 특정 버전에 고정",
22 | "Add or update CI build system": "CI 빌드 시스템 추가/업데이트",
23 | "Add or update analytics or track code": "분석, 추적 코드 추가/업데이트",
24 | "Refactor code": "코드 리팩토링",
25 | "Add a dependency": "종속성 추가",
26 | "Remove a dependency": "종속성 제거",
27 | "Add or update configuration files": "구성 파일 추가/수정",
28 | "Add or update development scripts": "개발 스크립트 추가/업데이트",
29 | "Internationalization and localization": "다국어 지원",
30 | "Fix typos": "오타 수정",
31 | "Write bad code that needs to be improved": "개선이 필요한 불량 코드",
32 | "Revert changes": "변경 사항 되돌리기",
33 | "Merge branches": "브랜치 병합",
34 | "Add or update compiled files or packages": "컴파일된 파일 및 패키지 추가/업데이트",
35 | "Update code due to external API changes": "외부 API 변경으로 인한 코드 업데이트",
36 | "Move or rename resources (e.g.: files, paths, routes)": "자원 위치/이름 변경 (예시:파일, 경로, 라우터)",
37 | "Add or update license": "라이센스 추가/업데이트",
38 | "Introduce breaking changes": "호환되지 않는 변경 사항 추가",
39 | "Add or update assets": "에셋 추가/업데이트",
40 | "Improve accessibility": "접근성 개선",
41 | "Add or update comments in source code": "소스코드 주석 추가/업데이트",
42 | "Write code drunkenly": "술 마시고 코드작성",
43 | "Add or update text and literals": "텍스트 및 리터럴 추가/업데이트",
44 | "Perform database related changes": "데이터베이스 관련 변경 실행",
45 | "Add or update logs": "로그 추가/업데이트",
46 | "Remove logs": "로그 제거",
47 | "Add or update contributor(s)": "기여자 추가/업데이트",
48 | "Improve user experience/usability": "UX/사용성 개선",
49 | "Make architectural changes": "아키텍처 변경",
50 | "Work on responsive design": "반응형 디자인 작업",
51 | "Mock things": "모의 테스트",
52 | "Add or update an easter egg": "이스터에그 추가/업데이트",
53 | "Add or update a .gitignore file": ".gitignore 추가",
54 | "Add or update snapshots": "스냅샷 추가/업데이트",
55 | "Perform experiments": "새로운 기능 실험",
56 | "Improve SEO": "SEO 개선",
57 | "Add or update types": "타입 추가/업데이트",
58 | "Add or update seed files": "시드파일 추가/업데이트",
59 | "Add, update, or remove feature flags": "기능 플래그 추가/업데이트",
60 | "Catch errors": "에러 처리",
61 | "Add or update animations and transitions": "애니메이션 및 트랜지션 추가/업데이트",
62 | "Deprecate code that needs to be cleaned up": "코드 지원 중단",
63 | "Work on code related to authorization, roles and permissions": "권한 부여, 역할 및 권한과 관련된 코드 작업",
64 | "Simple fix for a non-critical issue": "중요하지 않은 문제에 대한 간단한 수정",
65 | "Data exploration/inspection": "데이터 탐색/검사",
66 | "Remove dead code": "사용하지 않는 코드 제거",
67 | "Add a failing test": "실패 테스트 추가",
68 | "Add or update business logic": "비즈니스 로직 추가/ 업데이트",
69 | "Add or update healthcheck": "헬스체크 추가/업데이트",
70 | "Infrastructure related changes": "인프라 관련 변경",
71 | "Improve developer experience": "DX 개선",
72 | "Add sponsorships or money related infrastructure": "스폰서 및 자금 관련 인프라 추가",
73 | "Add or update code related to multithreading or concurrency": "멀티스레딩 및 병렬처리 관련 코드 추가/업데이트",
74 | "Add or update code related to validation": "검증 관련 추가/업데이트",
75 | "Improve offline support": "오프라인 지원 개선"
76 | }
77 |
--------------------------------------------------------------------------------
/languages/bundle.l10n.pt-br.json:
--------------------------------------------------------------------------------
1 | {
2 | "Improve structure/format of the code": "Melhorar a estrutura ou o formato do código",
3 | "Improve performance": "Melhorar o desempenho",
4 | "Remove code or files": "Deletar o código ou os arquivos",
5 | "Fix a bug": "Corrigir um bug",
6 | "Critical hotfix": "Correção de bug crítico",
7 | "Introduce new features": "Adicionar novas funções",
8 | "Add or update documentation": "Adicionar ou atualizar a documentação",
9 | "Deploy stuff": "Publicar ou lançar",
10 | "Add or update the UI and style files": "Adicionar ou atualizar os arquivos de interface do usuário e de estilo",
11 | "Begin a project": "Iniciar um projeto",
12 | "Add, update, or pass tests": "Adicionar, atualizar ou passar testes",
13 | "Fix security or privacy issues": "Corrigir problemas de segurança ou privacidade",
14 | "Add or update secrets": "Adicionar ou atualizar as chaves secretas",
15 | "Release/Version tags": "Tags de lançamento ou versão",
16 | "Fix compiler/linter warnings": "Corrigir avisos do compilador ou linter",
17 | "Work in progress": "Em desenvolvimento",
18 | "Fix CI Build": "Corrigir a construção de CI",
19 | "Downgrade dependencies": "Desatualizar dependências",
20 | "Upgrade dependencies": "Atualizar dependências",
21 | "Pin dependencies to specific versions": "Fixar dependências a versões específicas",
22 | "Add or update CI build system": "Adicionar ou atualizar o sistema de construção de CI",
23 | "Add or update analytics or track code": "Adicionar ou atualizar o sistema de análise ou de rastreio de código",
24 | "Refactor code": "Refatorar código",
25 | "Add a dependency": "Adicionar uma dependência",
26 | "Remove a dependency": "Deletar uma dependência",
27 | "Add or update configuration files": "Adicionar ou atualizar arquivos de configuração",
28 | "Add or update development scripts": "Adicionar ou atualizar scripts de desenvolvimento",
29 | "Internationalization and localization": "Internacionalização e localização",
30 | "Fix typos": "Corrigir erros de digitação",
31 | "Write bad code that needs to be improved": "Escrever código ruim que precisa ser melhorado",
32 | "Revert changes": "Reverter alterações",
33 | "Merge branches": "Mesclar as branches",
34 | "Add or update compiled files or packages": "Adicionar ou atualizar arquivos compilados ou pacotes",
35 | "Update code due to external API changes": "Atualizar código por causa das alterações externas de API",
36 | "Move or rename resources (e.g.: files, paths, routes)": "Mover ou renomear recursos (ex.: arquivos, caminhos, rotas)",
37 | "Add or update license": "Adicionar ou atualizar licença",
38 | "Introduce breaking changes": "Introduzir alterações que podem causar problemas",
39 | "Add or update assets": "Adicionar ou atualizar recursos",
40 | "Improve accessibility": "Melhorar a acessibilidade",
41 | "Add or update comments in source code": "Adicionar ou atualizar comentários no código-fonte",
42 | "Write code drunkenly": "Escrever código de forma bêbada",
43 | "Add or update text and literals": "Adicionar ou atualizar texto e literais",
44 | "Perform database related changes": "Realizar alterações relacionadas ao banco de dados",
45 | "Add or update logs": "Adicionar ou atualizar logs",
46 | "Remove logs": "Deletar logs",
47 | "Add or update contributor(s)": "Adicionar ou atualizar contribuidor(es)",
48 | "Improve user experience/usability": "Melhorar a experiência ou a usabilidade do usuário",
49 | "Make architectural changes": "Fazer alterações arquiteturais",
50 | "Work on responsive design": "Trabalhar no design responsivo",
51 | "Mock things": "Simular coisas",
52 | "Add or update an easter egg": "Adicionar ou atualizar um easter egg",
53 | "Add or update a .gitignore file": "Adicionar ou atualizar um arquivo .gitignore",
54 | "Add or update snapshots": "Adicionar ou atualizar snapshots",
55 | "Perform experiments": "Realizar experimentos",
56 | "Improve SEO": "Melhorar o SEO",
57 | "Add or update types": "Adicionar ou atualizar tipos",
58 | "Add or update seed files": "Adicionar ou atualizar arquivos de seed",
59 | "Add, update, or remove feature flags": "Adicionar, atualizar ou remover as bandeiras de funcionalidades",
60 | "Catch errors": "Pegar erros",
61 | "Add or update animations and transitions": "Adicionar ou atualizar animações e transições",
62 | "Deprecate code that needs to be cleaned up": "Deprecar código que precisa de limpeza",
63 | "Work on code related to authorization, roles and permissions": "Trabalhar no código relacionado à autorização, funções e permissões",
64 | "Simple fix for a non-critical issue": "Solução simples para um problema não crítico",
65 | "Data exploration/inspection": "Exploração ou inspeção de dados",
66 | "Remove dead code": "Remover código morto",
67 | "Add a failing test": "Adicionar um teste de falha",
68 | "Add or update business logic": "Adicionar ou atualizar lógica de negócios",
69 | "Add or update healthcheck": "Adicionar ou atualizar checagem de saúde",
70 | "Infrastructure related changes": "Alterações relacionadas à infraestrutura",
71 | "Improve developer experience": "Melhorar a experiência do desenvolvedor",
72 | "Add sponsorships or money related infrastructure": "Adicionar patrocínios ou infraestrutura relacionada a dinheiro",
73 | "Add or update code related to multithreading or concurrency": "Adicionar ou atualizar código relacionado a multithreading ou concurrency",
74 | "Add or update code related to validation": "Adicionar ou atualizar código relacionado à validação",
75 | "Improve offline support": "Melhorar o suporte offline"
76 | }
77 |
--------------------------------------------------------------------------------
/languages/bundle.l10n.pt-pt.json:
--------------------------------------------------------------------------------
1 | {
2 | "Improve structure/format of the code": "Aprimorar a estrutura ou o formato do código",
3 | "Improve performance": "Aprimorar o desempenho",
4 | "Remove code or files": "Excluir o código ou os ficheiros",
5 | "Fix a bug": "Corrigir uma falha",
6 | "Critical hotfix": "Correcção de falha crítica",
7 | "Introduce new features": "Introduzir novas funcionalidades",
8 | "Add or update documentation": "Aderir ou actualizar a documentação",
9 | "Deploy stuff": "Publicar ou lançar",
10 | "Add or update the UI and style files": "Aderir ou actualizar os ficheiros de interface do utilizador e de estilo",
11 | "Begin a project": "Iniciar um projecto",
12 | "Add, update, or pass tests": "Aderir, actualizar ou realizar os testes",
13 | "Fix security or privacy issues": "Corrigir problemas de segurança ou privacidade",
14 | "Add or update secrets": "Aderir ou actualizar as chaves secretas",
15 | "Release/Version tags": "Rótulos de lançamento ou versão",
16 | "Fix compiler/linter warnings": "Corrigir as advertências do compilador ou linter",
17 | "Work in progress": "Em curso",
18 | "Fix CI Build": "Consertar a construção de CI",
19 | "Downgrade dependencies": "Degradar as dependências",
20 | "Upgrade dependencies": "Actualizar as dependências",
21 | "Pin dependencies to specific versions": "Fixar as dependências a versões específicas",
22 | "Add or update CI build system": "Aderir ou actualizar o sistema de construção de CI",
23 | "Add or update analytics or track code": "Aderir ou actualizar análises ou código de pista",
24 | "Refactor code": "Refactorar o código",
25 | "Add a dependency": "Aderir uma dependência",
26 | "Remove a dependency": "Excluir uma dependência",
27 | "Add or update configuration files": "Aderir ou actualizar ficheiros de definição",
28 | "Add or update development scripts": "Aderir ou actualizar argumentos de construção",
29 | "Internationalization and localization": "Internacionalização e localização",
30 | "Fix typos": "Corrigir os erros ortográficos",
31 | "Write bad code that needs to be improved": "Introduzir mau código que precisa ser aprimorado",
32 | "Revert changes": "Reverter as mudanças",
33 | "Merge branches": "Fundir as ramificações",
34 | "Add or update compiled files or packages": "Aderir ou actualizar ficheiros compilados ou pacotes",
35 | "Update code due to external API changes": "Actualizar o código devido às alterações externas de API",
36 | "Move or rename resources (e.g.: files, paths, routes)": "Mover ou renomear recursos (ex.: ficheiros, caminhos, rotas)",
37 | "Add or update license": "Aderir ou actualizar a licença",
38 | "Introduce breaking changes": "Introduzir as mudanças de ruptura",
39 | "Add or update assets": "Aderir ou actualizar os recursos",
40 | "Improve accessibility": "Aprimorar a acessibilidade",
41 | "Add or update comments in source code": "Aderir ou actualizar os comentários no código fonte",
42 | "Write code drunkenly": "Escrever o código de forma embriagada",
43 | "Add or update text and literals": "Aderir ou actualizar o texto e os literais",
44 | "Perform database related changes": "Realizar as mudanças relacionadas à base de dados",
45 | "Add or update logs": "Aderir ou actualizar os registos",
46 | "Remove logs": "Excluir os registos",
47 | "Add or update contributor(s)": "Aderir ou actualizar o(s) contribuidor(es)",
48 | "Improve user experience/usability": "Aprimorar a experiência ou a usabilidade do utilizador",
49 | "Make architectural changes": "Realizar as alterações arquitecturais",
50 | "Work on responsive design": "Trabalhar na concepção reactiva",
51 | "Mock things": "Simular as coisas",
52 | "Add or update an easter egg": "Aderir ou actualizar um easter egg",
53 | "Add or update a .gitignore file": "Aderir ou actualizar um ficheiro .gitignore",
54 | "Add or update snapshots": "Aderir ou actualizar as capturas de ecrã",
55 | "Perform experiments": "Efectuar os experimentos",
56 | "Improve SEO": "Aprimorar o SEO",
57 | "Add or update types": "Aderir ou actualizar as etiquetas",
58 | "Add or update seed files": "Aderir ou actualizar os ficheiros de seed",
59 | "Add, update, or remove feature flags": "Aderir, actualizar ou excluir as bandeiras de funcionalidades",
60 | "Catch errors": "Capturar os erros",
61 | "Add or update animations and transitions": "Aderir ou actualizar as animações e as transições",
62 | "Deprecate code that needs to be cleaned up": "Depreciar o código que precisa de ser limpo",
63 | "Work on code related to authorization, roles and permissions": "Trabalho em código relacionado com autorização, papéis e permissões",
64 | "Simple fix for a non-critical issue": "Solução simples para um problema não crítico",
65 | "Data exploration/inspection": "Exploração ou inspecção de dados",
66 | "Remove dead code": "Excluir o código morto",
67 | "Add a failing test": "Aderir um teste de falha",
68 | "Add or update business logic": "Aderir ou actualizar a lógica empresarial",
69 | "Add or update healthcheck": "Aderir ou actualizar a verificação de saúde",
70 | "Infrastructure related changes": "Mudanças relacionadas com infraestrutura",
71 | "Improve developer experience": "Aprimorar a experiência do programador",
72 | "Add sponsorships or money related infrastructure": "Acrescentar patrocínios ou infra-estruturas relacionadas com dinheiro",
73 | "Add or update code related to multithreading or concurrency": "Adicionar ou actualizar código relacionado com multithreading ou concurrency",
74 | "Add or update code related to validation": "Adicionar ou actualizar o código relacionado com a validação",
75 | "Improve offline support": "Aprimorar o suporte offline"
76 | }
77 |
--------------------------------------------------------------------------------
/languages/bundle.l10n.zh-cn.json:
--------------------------------------------------------------------------------
1 | {
2 | "Improve structure/format of the code": "改进项目结构 / 代码格式",
3 | "Improve performance": "提高性能",
4 | "Remove code or files": "删除代码或文件",
5 | "Fix a bug": "修复 BUG",
6 | "Critical hotfix": "紧急热修复",
7 | "Introduce new features": "引入新特性",
8 | "Add or update documentation": "添加或更新文档",
9 | "Deploy stuff": "部署项目",
10 | "Add or update the UI and style files": "添加或更新 UI 与样式文件",
11 | "Begin a project": "初次提交",
12 | "Add, update, or pass tests": "添加、更新或通过测试",
13 | "Fix security or privacy issues": "修复安全或隐私问题",
14 | "Add or update secrets": "添加或更新 secrets",
15 | "Release/Version tags": "Release / Version 标签",
16 | "Fix compiler/linter warnings": "修复编译器 / 链接器警告",
17 | "Work in progress": "进行中的工作",
18 | "Fix CI Build": "修复 CI 构建",
19 | "Downgrade dependencies": "降级依赖版本",
20 | "Upgrade dependencies": "升级依赖版本",
21 | "Pin dependencies to specific versions": "将依赖设定为指定版本",
22 | "Add or update CI build system": "添加或更新 CI 构建系统",
23 | "Add or update analytics or track code": "添加或更新分析或跟踪代码",
24 | "Refactor code": "重构代码",
25 | "Add a dependency": "添加依赖",
26 | "Remove a dependency": "移除依赖",
27 | "Add or update configuration files": "添加或更新配置文件",
28 | "Add or update development scripts": "添加或更新开发脚本",
29 | "Internationalization and localization": "国际化和本地化 (i18n)",
30 | "Fix typos": "修复拼写错误",
31 | "Write bad code that needs to be improved": "写不好的代码,需要改进",
32 | "Revert changes": "还原更改",
33 | "Merge branches": "合并分支",
34 | "Add or update compiled files or packages": "添加或更新已编译的文件或包",
35 | "Update code due to external API changes": "由于外部 API 变化而更新代码",
36 | "Move or rename resources (e.g.: files, paths, routes)": "移动或重命名资源(如:文件、路径或路由)",
37 | "Add or update license": "添加或更新 License",
38 | "Introduce breaking changes": "引入重大变更",
39 | "Add or update assets": "添加或更新资源",
40 | "Improve accessibility": "改善无障碍环境",
41 | "Add or update comments in source code": "在源代码中添加或更新注释",
42 | "Write code drunkenly": "醉醺醺地写代码",
43 | "Add or update text and literals": "添加或更新文本与字面",
44 | "Perform database related changes": "执行与数据库相关的更改",
45 | "Add or update logs": "添加或更新日志",
46 | "Remove logs": "删除日志",
47 | "Add or update contributor(s)": "添加或更新贡献者",
48 | "Improve user experience/usability": "提高用户体验 / 可用性",
49 | "Make architectural changes": "进行架构更改",
50 | "Work on responsive design": "进行响应式设计",
51 | "Mock things": "进行 Mock 测试",
52 | "Add or update an easter egg": "添加或更新一个彩蛋",
53 | "Add or update a .gitignore file": "添加或更新 .gitignore 文件",
54 | "Add or update snapshots": "添加或更新快照",
55 | "Perform experiments": "试验新功能",
56 | "Improve SEO": "改善 SEO",
57 | "Add or update types": "添加或更新类型",
58 | "Add or update seed files": "添加或更新 SEED 文件",
59 | "Add, update, or remove feature flags": "添加、更新或删除特性标志",
60 | "Catch errors": "捕获异常",
61 | "Add or update animations and transitions": "添加或更新动画和过场",
62 | "Deprecate code that needs to be cleaned up": "清理废弃代码",
63 | "Work on code related to authorization, roles and permissions": "编写与授权、角色和权限相关的代码",
64 | "Simple fix for a non-critical issue": "简单修复非关键性问题",
65 | "Data exploration/inspection": "数据探索 / 数据巡检",
66 | "Remove dead code": "删除无效代码",
67 | "Add a failing test": "添加失败测试",
68 | "Add or update business logic": "添加或更新业务逻辑",
69 | "Add or update healthcheck": "添加或更新健康检查",
70 | "Infrastructure related changes": "与基础设施相关的变化",
71 | "Improve developer experience": "改善开发者体验",
72 | "Add sponsorships or money related infrastructure": "添加赞助或与金钱相关的基础设施",
73 | "Add or update code related to multithreading or concurrency": "添加或更新与多线程或并发相关的代码",
74 | "Add or update code related to validation": "添加或更新与验证相关的代码",
75 | "Improve offline support": "改善离线支持"
76 | }
77 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gitmoji-vscode",
3 | "displayName": "Gitmoji",
4 | "description": "Gitmoji tool for git commit messages in VSCode",
5 | "version": "1.3.0",
6 | "author": {
7 | "name": "Seaton Jiang",
8 | "email": "hi@seatonjiang.com"
9 | },
10 | "publisher": "seatonjiang",
11 | "license": "MIT",
12 | "bugs": {
13 | "url": "https://github.com/seatonjiang/gitmoji-vscode/issues"
14 | },
15 | "repository": {
16 | "type": "git",
17 | "url": "https://github.com/seatonjiang/gitmoji-vscode.git"
18 | },
19 | "homepage": "https://github.com/seatonjiang/gitmoji-vscode/blob/main/README.md",
20 | "engines": {
21 | "vscode": "^1.86.0"
22 | },
23 | "keywords": [
24 | "git",
25 | "emoji",
26 | "gitmoji",
27 | "commit",
28 | "messages"
29 | ],
30 | "categories": [
31 | "Other"
32 | ],
33 | "icon": "assets/icon.png",
34 | "activationEvents": [
35 | "onCommand:extension.showGitmoji"
36 | ],
37 | "main": "./out/extension.js",
38 | "l10n": "./languages",
39 | "contributes": {
40 | "commands": [
41 | {
42 | "command": "extension.showGitmoji",
43 | "title": "%gitmoji.command.showGitmoji.title%",
44 | "icon": "$(smiley)"
45 | }
46 | ],
47 | "menus": {
48 | "scm/title": [
49 | {
50 | "when": "scmProvider == git",
51 | "command": "extension.showGitmoji",
52 | "group": "navigation"
53 | }
54 | ]
55 | },
56 | "configuration": {
57 | "title": "Gitmoji",
58 | "properties": {
59 | "gitmoji.addCustomEmoji": {
60 | "type": "array",
61 | "default": [],
62 | "items": {
63 | "type": "object",
64 | "title": "A gitmoji entry",
65 | "properties": {
66 | "emoji": {
67 | "type": "string"
68 | },
69 | "code": {
70 | "type": "string"
71 | },
72 | "description": {
73 | "type": "string"
74 | }
75 | }
76 | },
77 | "description": "%gitmoji.config.addCustomEmoji%"
78 | },
79 | "gitmoji.outputType": {
80 | "type": "string",
81 | "default": "emoji",
82 | "enum": [
83 | "code",
84 | "emoji"
85 | ],
86 | "enumDescriptions": [
87 | "%gitmoji.config.outputType.code%",
88 | "%gitmoji.config.outputType.emoji%"
89 | ],
90 | "description": "%gitmoji.config.outputType%"
91 | },
92 | "gitmoji.onlyUseCustomEmoji": {
93 | "type": "boolean",
94 | "default": false,
95 | "description": "%gitmoji.config.onlyUseCustomEmoji%"
96 | },
97 | "gitmoji.showEmojiCode": {
98 | "type": "boolean",
99 | "default": false,
100 | "description": "%gitmoji.config.showEmojiCode%"
101 | },
102 | "gitmoji.asSuffix": {
103 | "type": "boolean",
104 | "default": false,
105 | "description": "%gitmoji.config.asSuffix%"
106 | },
107 | "gitmoji.autoMatch": {
108 | "type": "boolean",
109 | "default": false,
110 | "description": "%gitmoji.config.autoMatch%"
111 | }
112 | }
113 | }
114 | },
115 | "scripts": {
116 | "vscode:prepublish": "npm run compile",
117 | "compile": "tsc -p ./",
118 | "watch": "tsc -watch -p ./",
119 | "pretest": "npm run compile"
120 | },
121 | "devDependencies": {
122 | "@types/glob": "^8.1.0",
123 | "@types/mocha": "^10.0.10",
124 | "@types/node": "^22.15.29",
125 | "@types/vscode": "^1.86.0",
126 | "@vscode/test-electron": "^2.5.2",
127 | "@vscode/l10n-dev": "^0.0.35",
128 | "@vscode/vsce": "^3.4.2",
129 | "glob": "^11.0.2",
130 | "mocha": "^11.5.0",
131 | "tslint": "^6.1.3",
132 | "typescript": "^5.8.3"
133 | },
134 | "dependencies": {
135 | "@vscode/l10n": "^0.0.18"
136 | }
137 | }
138 |
--------------------------------------------------------------------------------
/package.nls.ja.json:
--------------------------------------------------------------------------------
1 | {
2 | "gitmoji.command.showGitmoji.title": "絵文字を選択",
3 | "gitmoji.config.addCustomEmoji": "独自の絵文字を追加する",
4 | "gitmoji.config.onlyUseCustomEmoji": "拡張機能にもとから含まれるデフォルトの絵文字ではなく、自身でカスタマイズした絵文字のみを使用する",
5 | "gitmoji.config.outputType": "絵文字の出力タイプの設定",
6 | "gitmoji.config.outputType.code": "GitHub、Giteeなどで利用可能",
7 | "gitmoji.config.outputType.emoji": "GitHub、Gitlab、Codingなどで利用可能",
8 | "gitmoji.config.showEmojiCode": "ショートコードで絵文字を検索できるようにする",
9 | "gitmoji.config.asSuffix": "メッセージの最後にGitmojiを挿入",
10 | "gitmoji.config.autoMatch": "コミットメッセージに基づいて絵文字を自動的にマッチングするかどうか"
11 | }
12 |
--------------------------------------------------------------------------------
/package.nls.json:
--------------------------------------------------------------------------------
1 | {
2 | "gitmoji.command.showGitmoji.title": "Choose Gitmoji",
3 | "gitmoji.config.addCustomEmoji": "Add custom emoji other than Gitmoji",
4 | "gitmoji.config.onlyUseCustomEmoji": "Only use your custom emoji, not the ones in the Gitmoji",
5 | "gitmoji.config.outputType": "Configure the type of emoji output as needed",
6 | "gitmoji.config.outputType.code": "Suitable for GitHub, Gitee etc",
7 | "gitmoji.config.outputType.emoji": "Suitable for GitHub, Gitlab, Coding, etc",
8 | "gitmoji.config.showEmojiCode": "Enable searching gitmojis by emoji code (example: ambulance will return hotfix)",
9 | "gitmoji.config.asSuffix": "Insertion of Gitmoji at the end of messages",
10 | "gitmoji.config.autoMatch": "Whether to enable auto-matching emoji based on commit message"
11 | }
12 |
--------------------------------------------------------------------------------
/package.nls.ko.json:
--------------------------------------------------------------------------------
1 | {
2 | "gitmoji.command.showGitmoji.title": "Gitmoji 선택하기",
3 | "gitmoji.config.addCustomEmoji": "사용자 정의 이모지를 추가합니다.",
4 | "gitmoji.config.onlyUseCustomEmoji": "사용자 정의 이모지만 사용합니다.",
5 | "gitmoji.config.outputType": "(필요한 경우) 이모지 출력 형식을 설정합니다.",
6 | "gitmoji.config.outputType.code": "GitHub, Gitee 등과 호환됩니다.",
7 | "gitmoji.config.outputType.emoji": "GitHub, Gitlab, Coding 등과 호환됩니다.",
8 | "gitmoji.config.showEmojiCode": "이모지 코드를 사용해 Gitmoji를 검색할 수 있도록 합니다. (예: 'ambulance'를 검색하면 'hotfix' 결과가 표시됨)",
9 | "gitmoji.config.asSuffix": "커밋 메시지 끝에 Gitmoji를 추가합니다.",
10 | "gitmoji.config.autoMatch": "커밋 메시지에 따라 자동으로 이모지를 매칭할지 여부"
11 | }
12 |
--------------------------------------------------------------------------------
/package.nls.pt_br.json:
--------------------------------------------------------------------------------
1 | {
2 | "gitmoji.command.showGitmoji.title": "Escolha Gitmoji",
3 | "gitmoji.config.addCustomEmoji": "Adicionar emoji personalizados além de Gitmoji",
4 | "gitmoji.config.onlyUseCustomEmoji": "Use somente seus emoji personalizados, não os do Gitmoji",
5 | "gitmoji.config.outputType": "Configurar o tipo de saída de Gitmoji",
6 | "gitmoji.config.outputType.code": "Adequado para GitHub, Gitee, etc",
7 | "gitmoji.config.outputType.emoji": "Adequado para GitHub, Gitlab, Codificação, etc",
8 | "gitmoji.config.showEmojiCode": "Habilitar gitmojis de busca por código emoji (exemplo: ambulance retornará hotfix)",
9 | "gitmoji.config.asSuffix": "Inserção de Gitmoji no final das mensagens",
10 | "gitmoji.config.autoMatch": "Habilitar auto-matching de emoji com base na mensagem de commit"
11 | }
12 |
--------------------------------------------------------------------------------
/package.nls.pt_pt.json:
--------------------------------------------------------------------------------
1 | {
2 | "gitmoji.command.showGitmoji.title": "Escolher Gitmoji",
3 | "gitmoji.config.addCustomEmoji": "Adicionar emoji personalizados para além de Gitmoji",
4 | "gitmoji.config.onlyUseCustomEmoji": "Use apenas os seus emoji personalizados, não os do Gitmoji",
5 | "gitmoji.config.outputType": "Configurar o tipo de saída de Gitmoji",
6 | "gitmoji.config.outputType.code": "Adequado para GitHub, Gitee, etc",
7 | "gitmoji.config.outputType.emoji": "Adequado para GitHub, Gitlab, Codificação, etc",
8 | "gitmoji.config.showEmojiCode": "Activar a pesquisa de gitmojis por código emoji (exemplo: ambulance devolverá o hotfix)",
9 | "gitmoji.config.asSuffix": "Inserção de Gitmoji no final das mensagens",
10 | "gitmoji.config.autoMatch": "Ativar a correspondência automática de emoji com base na mensagem de commit"
11 | }
12 |
--------------------------------------------------------------------------------
/package.nls.zh-cn.json:
--------------------------------------------------------------------------------
1 | {
2 | "gitmoji.command.showGitmoji.title": "选择表情符号",
3 | "gitmoji.config.addCustomEmoji": "添加自定义表情符号",
4 | "gitmoji.config.onlyUseCustomEmoji": "仅使用自定义添加的表情符号,而不使用扩展中自带的表情符号",
5 | "gitmoji.config.outputType": "配置表情符号的输出类型",
6 | "gitmoji.config.outputType.code": "适用于 GitHub、Gitee 等平台",
7 | "gitmoji.config.outputType.emoji": "适用于 GitHub、Gitlab、Coding 等平台",
8 | "gitmoji.config.showEmojiCode": "开启通过简码搜索表情符号功能",
9 | "gitmoji.config.asSuffix": "开启在消息末尾插入表情符号功能",
10 | "gitmoji.config.autoMatch": "开启根据提交消息自动匹配表情符号功能"
11 | }
12 |
--------------------------------------------------------------------------------
/src/extension.ts:
--------------------------------------------------------------------------------
1 | import * as vscode from 'vscode';
2 | import { GitExtension, Repository } from './git';
3 | import Gitmoji from './gitmoji';
4 |
5 | export function activate(context: vscode.ExtensionContext) {
6 | let disposable = vscode.commands.registerCommand('extension.showGitmoji', (uri?) => {
7 | const git = getGitExtension();
8 |
9 | if (!git) {
10 | vscode.window.showErrorMessage('Unable to load Git Extension');
11 | return;
12 | }
13 |
14 | let addCustomEmoji: Array = vscode.workspace.getConfiguration().get('gitmoji.addCustomEmoji') || [];
15 | const showEmojiCode: boolean | undefined = vscode.workspace.getConfiguration().get('gitmoji.showEmojiCode');
16 | const onlyUseCustomEmoji: boolean | undefined = vscode.workspace.getConfiguration().get('gitmoji.onlyUseCustomEmoji');
17 | const autoMatch: boolean | undefined = vscode.workspace.getConfiguration().get('gitmoji.autoMatch');
18 | const outputType = vscode.workspace.getConfiguration().get('gitmoji.outputType');
19 | const asSuffix: boolean | undefined = vscode.workspace.getConfiguration().get('gitmoji.asSuffix') || false;
20 |
21 | let emojis = onlyUseCustomEmoji === true ? [...addCustomEmoji] : [...Gitmoji, ...addCustomEmoji];
22 |
23 | // fetch comment to auto match emoji
24 | let comment = '';
25 | if (autoMatch && git.repositories.length > 0) {
26 | comment = git.repositories[0].inputBox.value.toLowerCase();
27 | const matched = emojis.filter(e => {
28 | return e.description?.toLowerCase().includes(comment)
29 | || e.code?.toLowerCase().includes(comment);
30 | });
31 | if (matched.length > 0) {
32 | emojis = matched;
33 | }
34 | }
35 |
36 | const items = emojis.map(emojiObj => {
37 | const { description, code, emoji } = emojiObj;
38 | const displayCode = showEmojiCode ? code : '';
39 | const label = `${emoji} ${description} ${displayCode}`;
40 | return {
41 | label,
42 | code,
43 | emoji,
44 | };
45 | });
46 |
47 | vscode.window.showQuickPick(items).then(function (selected) {
48 | if (selected) {
49 | vscode.commands.executeCommand('workbench.view.scm');
50 | const valueToAdd = outputType === 'emoji' ? selected.emoji : selected.code;
51 |
52 | if (uri) {
53 | const uriPath = uri._rootUri?.path || uri.rootUri.path;
54 | let selectedRepository = git.repositories.find(repository => repository.rootUri.path === uriPath);
55 | if (selectedRepository) {
56 | updateCommit(selectedRepository, valueToAdd, asSuffix);
57 | }
58 | } else {
59 | for (let repo of git.repositories) {
60 | updateCommit(repo, valueToAdd, asSuffix);
61 | }
62 | }
63 | }
64 | });
65 | });
66 |
67 | context.subscriptions.push(disposable);
68 | }
69 |
70 | function updateCommit(repository: Repository, valueOfGitmoji: string, asSuffix: boolean) {
71 | if (!asSuffix){
72 | repository.inputBox.value = `${valueOfGitmoji} ${repository.inputBox.value}`;
73 | } else {
74 | repository.inputBox.value = `${repository.inputBox.value} ${valueOfGitmoji}`;
75 | }
76 | }
77 |
78 | function getGitExtension() {
79 | const vscodeGit = vscode.extensions.getExtension('vscode.git');
80 | const gitExtension = vscodeGit && vscodeGit.exports;
81 | return gitExtension && gitExtension.getAPI(1);
82 | }
83 |
84 | export function deactivate() {}
85 |
--------------------------------------------------------------------------------
/src/git.d.ts:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | * Links: https://raw.githubusercontent.com/microsoft/vscode/main/extensions/git/src/api/git.d.ts
5 | *--------------------------------------------------------------------------------------------*/
6 |
7 | import { Uri, Event, Disposable, ProviderResult, Command, CancellationToken } from 'vscode';
8 | export { ProviderResult } from 'vscode';
9 |
10 | export interface Git {
11 | readonly path: string;
12 | }
13 |
14 | export interface InputBox {
15 | value: string;
16 | }
17 |
18 | export const enum ForcePushMode {
19 | Force,
20 | ForceWithLease,
21 | ForceWithLeaseIfIncludes,
22 | }
23 |
24 | export const enum RefType {
25 | Head,
26 | RemoteHead,
27 | Tag,
28 | }
29 |
30 | export interface Ref {
31 | readonly type: RefType;
32 | readonly name?: string;
33 | readonly commit?: string;
34 | readonly commitDetails?: Commit;
35 | readonly remote?: string;
36 | }
37 |
38 | export interface UpstreamRef {
39 | readonly remote: string;
40 | readonly name: string;
41 | readonly commit?: string;
42 | }
43 |
44 | export interface Branch extends Ref {
45 | readonly upstream?: UpstreamRef;
46 | readonly ahead?: number;
47 | readonly behind?: number;
48 | }
49 |
50 | export interface CommitShortStat {
51 | readonly files: number;
52 | readonly insertions: number;
53 | readonly deletions: number;
54 | }
55 |
56 | export interface Commit {
57 | readonly hash: string;
58 | readonly message: string;
59 | readonly parents: string[];
60 | readonly authorDate?: Date;
61 | readonly authorName?: string;
62 | readonly authorEmail?: string;
63 | readonly commitDate?: Date;
64 | readonly shortStat?: CommitShortStat;
65 | }
66 |
67 | export interface Submodule {
68 | readonly name: string;
69 | readonly path: string;
70 | readonly url: string;
71 | }
72 |
73 | export interface Remote {
74 | readonly name: string;
75 | readonly fetchUrl?: string;
76 | readonly pushUrl?: string;
77 | readonly isReadOnly: boolean;
78 | }
79 |
80 | export const enum Status {
81 | INDEX_MODIFIED,
82 | INDEX_ADDED,
83 | INDEX_DELETED,
84 | INDEX_RENAMED,
85 | INDEX_COPIED,
86 |
87 | MODIFIED,
88 | DELETED,
89 | UNTRACKED,
90 | IGNORED,
91 | INTENT_TO_ADD,
92 | INTENT_TO_RENAME,
93 | TYPE_CHANGED,
94 |
95 | ADDED_BY_US,
96 | ADDED_BY_THEM,
97 | DELETED_BY_US,
98 | DELETED_BY_THEM,
99 | BOTH_ADDED,
100 | BOTH_DELETED,
101 | BOTH_MODIFIED,
102 | }
103 |
104 | export interface Change {
105 | /**
106 | * Returns either `originalUri` or `renameUri`, depending
107 | * on whether this change is a rename change. When
108 | * in doubt always use `uri` over the other two alternatives.
109 | */
110 | readonly uri: Uri;
111 | readonly originalUri: Uri;
112 | readonly renameUri: Uri | undefined;
113 | readonly status: Status;
114 | }
115 |
116 | export interface RepositoryState {
117 | readonly HEAD: Branch | undefined;
118 | readonly refs: Ref[];
119 | readonly remotes: Remote[];
120 | readonly submodules: Submodule[];
121 | readonly rebaseCommit: Commit | undefined;
122 |
123 | readonly mergeChanges: Change[];
124 | readonly indexChanges: Change[];
125 | readonly workingTreeChanges: Change[];
126 | readonly untrackedChanges: Change[];
127 |
128 | readonly onDidChange: Event;
129 | }
130 |
131 | export interface RepositoryUIState {
132 | readonly selected: boolean;
133 | readonly onDidChange: Event;
134 | }
135 |
136 | /**
137 | * Log options.
138 | */
139 | export interface LogOptions {
140 | /** Max number of log entries to retrieve. If not specified, the default is 32. */
141 | readonly maxEntries?: number;
142 | readonly path?: string;
143 | /** A commit range, such as "0a47c67f0fb52dd11562af48658bc1dff1d75a38..0bb4bdea78e1db44d728fd6894720071e303304f" */
144 | readonly range?: string;
145 | readonly reverse?: boolean;
146 | readonly sortByAuthorDate?: boolean;
147 | readonly shortStats?: boolean;
148 | readonly author?: string;
149 | readonly grep?: string;
150 | readonly refNames?: string[];
151 | readonly maxParents?: number;
152 | readonly skip?: number;
153 | }
154 |
155 | export interface CommitOptions {
156 | all?: boolean | 'tracked';
157 | amend?: boolean;
158 | signoff?: boolean;
159 | signCommit?: boolean;
160 | empty?: boolean;
161 | noVerify?: boolean;
162 | requireUserConfig?: boolean;
163 | useEditor?: boolean;
164 | verbose?: boolean;
165 | /**
166 | * string - execute the specified command after the commit operation
167 | * undefined - execute the command specified in git.postCommitCommand
168 | * after the commit operation
169 | * null - do not execute any command after the commit operation
170 | */
171 | postCommitCommand?: string | null;
172 | }
173 |
174 | export interface FetchOptions {
175 | remote?: string;
176 | ref?: string;
177 | all?: boolean;
178 | prune?: boolean;
179 | depth?: number;
180 | }
181 |
182 | export interface InitOptions {
183 | defaultBranch?: string;
184 | }
185 |
186 | export interface RefQuery {
187 | readonly contains?: string;
188 | readonly count?: number;
189 | readonly pattern?: string | string[];
190 | readonly sort?: 'alphabetically' | 'committerdate';
191 | }
192 |
193 | export interface BranchQuery extends RefQuery {
194 | readonly remote?: boolean;
195 | }
196 |
197 | export interface Repository {
198 | readonly rootUri: Uri;
199 | readonly inputBox: InputBox;
200 | readonly state: RepositoryState;
201 | readonly ui: RepositoryUIState;
202 |
203 | readonly onDidCommit: Event;
204 | readonly onDidCheckout: Event;
205 |
206 | getConfigs(): Promise<{ key: string; value: string }[]>;
207 | getConfig(key: string): Promise;
208 | setConfig(key: string, value: string): Promise;
209 | unsetConfig(key: string): Promise;
210 | getGlobalConfig(key: string): Promise;
211 |
212 | getObjectDetails(treeish: string, path: string): Promise<{ mode: string; object: string; size: number }>;
213 | detectObjectType(object: string): Promise<{ mimetype: string; encoding?: string }>;
214 | buffer(ref: string, path: string): Promise;
215 | show(ref: string, path: string): Promise;
216 | getCommit(ref: string): Promise;
217 |
218 | add(paths: string[]): Promise;
219 | revert(paths: string[]): Promise;
220 | clean(paths: string[]): Promise;
221 |
222 | apply(patch: string, reverse?: boolean): Promise;
223 | diff(cached?: boolean): Promise;
224 | diffWithHEAD(): Promise;
225 | diffWithHEAD(path: string): Promise;
226 | diffWith(ref: string): Promise;
227 | diffWith(ref: string, path: string): Promise;
228 | diffIndexWithHEAD(): Promise;
229 | diffIndexWithHEAD(path: string): Promise;
230 | diffIndexWith(ref: string): Promise;
231 | diffIndexWith(ref: string, path: string): Promise;
232 | diffBlobs(object1: string, object2: string): Promise;
233 | diffBetween(ref1: string, ref2: string): Promise;
234 | diffBetween(ref1: string, ref2: string, path: string): Promise;
235 |
236 | hashObject(data: string): Promise;
237 |
238 | createBranch(name: string, checkout: boolean, ref?: string): Promise;
239 | deleteBranch(name: string, force?: boolean): Promise;
240 | getBranch(name: string): Promise;
241 | getBranches(query: BranchQuery, cancellationToken?: CancellationToken): Promise[;
242 | getBranchBase(name: string): Promise;
243 | setBranchUpstream(name: string, upstream: string): Promise;
244 |
245 | checkIgnore(paths: string[]): Promise>;
246 |
247 | getRefs(query: RefQuery, cancellationToken?: CancellationToken): Promise][;
248 |
249 | getMergeBase(ref1: string, ref2: string): Promise;
250 |
251 | tag(name: string, upstream: string): Promise;
252 | deleteTag(name: string): Promise;
253 |
254 | status(): Promise;
255 | checkout(treeish: string): Promise;
256 |
257 | addRemote(name: string, url: string): Promise;
258 | removeRemote(name: string): Promise;
259 | renameRemote(name: string, newName: string): Promise;
260 |
261 | fetch(options?: FetchOptions): Promise;
262 | fetch(remote?: string, ref?: string, depth?: number): Promise;
263 | pull(unshallow?: boolean): Promise;
264 | push(remoteName?: string, branchName?: string, setUpstream?: boolean, force?: ForcePushMode): Promise;
265 |
266 | blame(path: string): Promise;
267 | log(options?: LogOptions): Promise;
268 |
269 | commit(message: string, opts?: CommitOptions): Promise;
270 | merge(ref: string): Promise;
271 | mergeAbort(): Promise;
272 |
273 | applyStash(index?: number): Promise;
274 | popStash(index?: number): Promise;
275 | dropStash(index?: number): Promise;
276 | }
277 |
278 | export interface RemoteSource {
279 | readonly name: string;
280 | readonly description?: string;
281 | readonly url: string | string[];
282 | }
283 |
284 | export interface RemoteSourceProvider {
285 | readonly name: string;
286 | readonly icon?: string; // codicon name
287 | readonly supportsQuery?: boolean;
288 | getRemoteSources(query?: string): ProviderResult;
289 | getBranches?(url: string): ProviderResult;
290 | publishRepository?(repository: Repository): Promise;
291 | }
292 |
293 | export interface RemoteSourcePublisher {
294 | readonly name: string;
295 | readonly icon?: string; // codicon name
296 | publishRepository(repository: Repository): Promise;
297 | }
298 |
299 | export interface Credentials {
300 | readonly username: string;
301 | readonly password: string;
302 | }
303 |
304 | export interface CredentialsProvider {
305 | getCredentials(host: Uri): ProviderResult;
306 | }
307 |
308 | export interface PostCommitCommandsProvider {
309 | getCommands(repository: Repository): Command[];
310 | }
311 |
312 | export interface PushErrorHandler {
313 | handlePushError(repository: Repository, remote: Remote, refspec: string, error: Error & { gitErrorCode: GitErrorCodes }): Promise;
314 | }
315 |
316 | export interface BranchProtection {
317 | readonly remote: string;
318 | readonly rules: BranchProtectionRule[];
319 | }
320 |
321 | export interface BranchProtectionRule {
322 | readonly include?: string[];
323 | readonly exclude?: string[];
324 | }
325 |
326 | export interface BranchProtectionProvider {
327 | onDidChangeBranchProtection: Event;
328 | provideBranchProtection(): BranchProtection[];
329 | }
330 |
331 | export interface AvatarQueryCommit {
332 | readonly hash: string;
333 | readonly authorName?: string;
334 | readonly authorEmail?: string;
335 | }
336 |
337 | export interface AvatarQuery {
338 | readonly commits: AvatarQueryCommit[];
339 | readonly size: number;
340 | }
341 |
342 | export interface SourceControlHistoryItemDetailsProvider {
343 | provideAvatar(repository: Repository, query: AvatarQuery): ProviderResult]