@involvex/fresh-editor 0.1.76 → 0.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/CHANGELOG.md +1017 -0
- package/bin/LICENSE +117 -0
- package/bin/README.md +248 -0
- package/bin/fresh.exe +0 -0
- package/bin/plugins/README.md +71 -0
- package/bin/plugins/audit_mode.i18n.json +821 -0
- package/bin/plugins/audit_mode.ts +1810 -0
- package/bin/plugins/buffer_modified.i18n.json +67 -0
- package/bin/plugins/buffer_modified.ts +281 -0
- package/bin/plugins/calculator.i18n.json +93 -0
- package/bin/plugins/calculator.ts +770 -0
- package/bin/plugins/clangd-lsp.ts +168 -0
- package/bin/plugins/clangd_support.i18n.json +223 -0
- package/bin/plugins/clangd_support.md +20 -0
- package/bin/plugins/clangd_support.ts +325 -0
- package/bin/plugins/color_highlighter.i18n.json +145 -0
- package/bin/plugins/color_highlighter.ts +304 -0
- package/bin/plugins/config-schema.json +768 -0
- package/bin/plugins/csharp-lsp.ts +147 -0
- package/bin/plugins/csharp_support.i18n.json +80 -0
- package/bin/plugins/csharp_support.ts +170 -0
- package/bin/plugins/css-lsp.ts +143 -0
- package/bin/plugins/diagnostics_panel.i18n.json +236 -0
- package/bin/plugins/diagnostics_panel.ts +642 -0
- package/bin/plugins/examples/README.md +85 -0
- package/bin/plugins/examples/async_demo.ts +165 -0
- package/bin/plugins/examples/bookmarks.ts +329 -0
- package/bin/plugins/examples/buffer_query_demo.ts +110 -0
- package/bin/plugins/examples/git_grep.ts +262 -0
- package/bin/plugins/examples/hello_world.ts +93 -0
- package/bin/plugins/examples/virtual_buffer_demo.ts +116 -0
- package/bin/plugins/find_references.i18n.json +275 -0
- package/bin/plugins/find_references.ts +359 -0
- package/bin/plugins/git_blame.i18n.json +496 -0
- package/bin/plugins/git_blame.ts +707 -0
- package/bin/plugins/git_find_file.i18n.json +314 -0
- package/bin/plugins/git_find_file.ts +300 -0
- package/bin/plugins/git_grep.i18n.json +171 -0
- package/bin/plugins/git_grep.ts +191 -0
- package/bin/plugins/git_gutter.i18n.json +93 -0
- package/bin/plugins/git_gutter.ts +477 -0
- package/bin/plugins/git_log.i18n.json +481 -0
- package/bin/plugins/git_log.ts +1285 -0
- package/bin/plugins/go-lsp.ts +143 -0
- package/bin/plugins/html-lsp.ts +145 -0
- package/bin/plugins/json-lsp.ts +145 -0
- package/bin/plugins/lib/fresh.d.ts +1321 -0
- package/bin/plugins/lib/index.ts +24 -0
- package/bin/plugins/lib/navigation-controller.ts +214 -0
- package/bin/plugins/lib/panel-manager.ts +220 -0
- package/bin/plugins/lib/types.ts +72 -0
- package/bin/plugins/lib/virtual-buffer-factory.ts +130 -0
- package/bin/plugins/live_grep.i18n.json +171 -0
- package/bin/plugins/live_grep.ts +422 -0
- package/bin/plugins/markdown_compose.i18n.json +223 -0
- package/bin/plugins/markdown_compose.ts +630 -0
- package/bin/plugins/merge_conflict.i18n.json +821 -0
- package/bin/plugins/merge_conflict.ts +1810 -0
- package/bin/plugins/path_complete.i18n.json +80 -0
- package/bin/plugins/path_complete.ts +165 -0
- package/bin/plugins/python-lsp.ts +162 -0
- package/bin/plugins/rust-lsp.ts +166 -0
- package/bin/plugins/search_replace.i18n.json +405 -0
- package/bin/plugins/search_replace.ts +484 -0
- package/bin/plugins/test_i18n.i18n.json +67 -0
- package/bin/plugins/test_i18n.ts +18 -0
- package/bin/plugins/theme_editor.i18n.json +3746 -0
- package/bin/plugins/theme_editor.ts +2063 -0
- package/bin/plugins/todo_highlighter.i18n.json +184 -0
- package/bin/plugins/todo_highlighter.ts +206 -0
- package/bin/plugins/typescript-lsp.ts +167 -0
- package/bin/plugins/vi_mode.i18n.json +1549 -0
- package/bin/plugins/vi_mode.ts +2747 -0
- package/bin/plugins/welcome.i18n.json +236 -0
- package/bin/plugins/welcome.ts +76 -0
- package/bin/themes/dark.json +102 -0
- package/bin/themes/dracula.json +62 -0
- package/bin/themes/high-contrast.json +102 -0
- package/bin/themes/light.json +102 -0
- package/bin/themes/nord.json +62 -0
- package/bin/themes/nostalgia.json +102 -0
- package/bin/themes/solarized-dark.json +62 -0
- package/binary-install.js +1 -1
- package/dist/bin/fresh.js +9 -0
- package/dist/binary-install.js +149 -0
- package/dist/binary.js +30 -0
- package/dist/fresh-6yhknp07.exe +0 -0
- package/dist/install.js +158 -0
- package/dist/run-fresh.js +43 -0
- package/package.json +7 -2
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"cmd.open_help": "Plugin Demo: Open Help",
|
|
4
|
+
"cmd.open_help_desc": "Open the editor help page (uses built-in action)",
|
|
5
|
+
"cmd.save_file": "Plugin Demo: Save File",
|
|
6
|
+
"cmd.save_file_desc": "Save the current file (uses built-in action)",
|
|
7
|
+
"cmd.say_hello": "Plugin Demo: Say Hello",
|
|
8
|
+
"cmd.say_hello_desc": "Insert a friendly greeting into the buffer",
|
|
9
|
+
"cmd.insert_time": "Plugin Demo: Insert Time",
|
|
10
|
+
"cmd.insert_time_desc": "Insert the current time at cursor position",
|
|
11
|
+
"cmd.insert_comment": "Plugin Demo: Insert Comment",
|
|
12
|
+
"cmd.insert_comment_desc": "Insert a sample comment at cursor position",
|
|
13
|
+
"status.loaded": "Plugins are working! Welcome Plugin loaded successfully!",
|
|
14
|
+
"status.greeting_inserted": "Inserted greeting at cursor position",
|
|
15
|
+
"status.time_inserted": "Inserted time at cursor position",
|
|
16
|
+
"status.comment_inserted": "Comment inserted by plugin",
|
|
17
|
+
"text.greeting": "Hello from TypeScript! The plugin system is working!",
|
|
18
|
+
"text.comment": "// This comment was inserted by a TypeScript plugin!"
|
|
19
|
+
},
|
|
20
|
+
"cs": {
|
|
21
|
+
"cmd.open_help": "Demo pluginu: Otevrit napovedu",
|
|
22
|
+
"cmd.open_help_desc": "Otevrit stranku napovedy editoru (pouziva vestavenu akci)",
|
|
23
|
+
"cmd.save_file": "Demo pluginu: Ulozit soubor",
|
|
24
|
+
"cmd.save_file_desc": "Ulozit aktualni soubor (pouziva vestavenu akci)",
|
|
25
|
+
"cmd.say_hello": "Demo pluginu: Pozdravit",
|
|
26
|
+
"cmd.say_hello_desc": "Vlozit pratelsky pozdrav do bufferu",
|
|
27
|
+
"cmd.insert_time": "Demo pluginu: Vlozit cas",
|
|
28
|
+
"cmd.insert_time_desc": "Vlozit aktualni cas na pozici kurzoru",
|
|
29
|
+
"cmd.insert_comment": "Demo pluginu: Vlozit komentar",
|
|
30
|
+
"cmd.insert_comment_desc": "Vlozit ukazkovy komentar na pozici kurzoru",
|
|
31
|
+
"status.loaded": "Pluginy funguji! Welcome Plugin uspesne nacten!",
|
|
32
|
+
"status.greeting_inserted": "Pozdrav vlozen na pozici kurzoru",
|
|
33
|
+
"status.time_inserted": "Cas vlozen na pozici kurzoru",
|
|
34
|
+
"status.comment_inserted": "Komentar vlozen pluginem",
|
|
35
|
+
"text.greeting": "Ahoj z TypeScriptu! Systém pluginu funguje!",
|
|
36
|
+
"text.comment": "// Tento komentar byl vlozen TypeScript pluginem!"
|
|
37
|
+
},
|
|
38
|
+
"de": {
|
|
39
|
+
"cmd.open_help": "Plugin-Demo: Hilfe oeffnen",
|
|
40
|
+
"cmd.open_help_desc": "Die Editor-Hilfeseite oeffnen (verwendet eingebaute Aktion)",
|
|
41
|
+
"cmd.save_file": "Plugin-Demo: Datei speichern",
|
|
42
|
+
"cmd.save_file_desc": "Die aktuelle Datei speichern (verwendet eingebaute Aktion)",
|
|
43
|
+
"cmd.say_hello": "Plugin-Demo: Hallo sagen",
|
|
44
|
+
"cmd.say_hello_desc": "Eine freundliche Begruessung in den Buffer einfuegen",
|
|
45
|
+
"cmd.insert_time": "Plugin-Demo: Zeit einfuegen",
|
|
46
|
+
"cmd.insert_time_desc": "Die aktuelle Zeit an der Cursorposition einfuegen",
|
|
47
|
+
"cmd.insert_comment": "Plugin-Demo: Kommentar einfuegen",
|
|
48
|
+
"cmd.insert_comment_desc": "Einen Beispielkommentar an der Cursorposition einfuegen",
|
|
49
|
+
"status.loaded": "Plugins funktionieren! Welcome Plugin erfolgreich geladen!",
|
|
50
|
+
"status.greeting_inserted": "Begruessung an der Cursorposition eingefuegt",
|
|
51
|
+
"status.time_inserted": "Zeit an der Cursorposition eingefuegt",
|
|
52
|
+
"status.comment_inserted": "Kommentar durch Plugin eingefuegt",
|
|
53
|
+
"text.greeting": "Hallo von TypeScript! Das Plugin-System funktioniert!",
|
|
54
|
+
"text.comment": "// Dieser Kommentar wurde von einem TypeScript-Plugin eingefuegt!"
|
|
55
|
+
},
|
|
56
|
+
"es": {
|
|
57
|
+
"cmd.open_help": "Demo de Plugin: Abrir Ayuda",
|
|
58
|
+
"cmd.open_help_desc": "Abrir la pagina de ayuda del editor (usa accion incorporada)",
|
|
59
|
+
"cmd.save_file": "Demo de Plugin: Guardar Archivo",
|
|
60
|
+
"cmd.save_file_desc": "Guardar el archivo actual (usa accion incorporada)",
|
|
61
|
+
"cmd.say_hello": "Demo de Plugin: Decir Hola",
|
|
62
|
+
"cmd.say_hello_desc": "Insertar un saludo amigable en el buffer",
|
|
63
|
+
"cmd.insert_time": "Demo de Plugin: Insertar Hora",
|
|
64
|
+
"cmd.insert_time_desc": "Insertar la hora actual en la posicion del cursor",
|
|
65
|
+
"cmd.insert_comment": "Demo de Plugin: Insertar Comentario",
|
|
66
|
+
"cmd.insert_comment_desc": "Insertar un comentario de ejemplo en la posicion del cursor",
|
|
67
|
+
"status.loaded": "Los plugins funcionan! Plugin de Bienvenida cargado exitosamente!",
|
|
68
|
+
"status.greeting_inserted": "Saludo insertado en la posicion del cursor",
|
|
69
|
+
"status.time_inserted": "Hora insertada en la posicion del cursor",
|
|
70
|
+
"status.comment_inserted": "Comentario insertado por el plugin",
|
|
71
|
+
"text.greeting": "Hola desde TypeScript! El sistema de plugins esta funcionando!",
|
|
72
|
+
"text.comment": "// Este comentario fue insertado por un plugin de TypeScript!"
|
|
73
|
+
},
|
|
74
|
+
"fr": {
|
|
75
|
+
"cmd.open_help": "Demo Plugin: Ouvrir l'Aide",
|
|
76
|
+
"cmd.open_help_desc": "Ouvrir la page d'aide de l'editeur (utilise une action integree)",
|
|
77
|
+
"cmd.save_file": "Demo Plugin: Enregistrer le Fichier",
|
|
78
|
+
"cmd.save_file_desc": "Enregistrer le fichier actuel (utilise une action integree)",
|
|
79
|
+
"cmd.say_hello": "Demo Plugin: Dire Bonjour",
|
|
80
|
+
"cmd.say_hello_desc": "Inserer une salutation amicale dans le buffer",
|
|
81
|
+
"cmd.insert_time": "Demo Plugin: Inserer l'Heure",
|
|
82
|
+
"cmd.insert_time_desc": "Inserer l'heure actuelle a la position du curseur",
|
|
83
|
+
"cmd.insert_comment": "Demo Plugin: Inserer un Commentaire",
|
|
84
|
+
"cmd.insert_comment_desc": "Inserer un exemple de commentaire a la position du curseur",
|
|
85
|
+
"status.loaded": "Les plugins fonctionnent! Plugin de Bienvenue charge avec succes!",
|
|
86
|
+
"status.greeting_inserted": "Salutation inseree a la position du curseur",
|
|
87
|
+
"status.time_inserted": "Heure inseree a la position du curseur",
|
|
88
|
+
"status.comment_inserted": "Commentaire insere par le plugin",
|
|
89
|
+
"text.greeting": "Bonjour depuis TypeScript! Le systeme de plugins fonctionne!",
|
|
90
|
+
"text.comment": "// Ce commentaire a ete insere par un plugin TypeScript!"
|
|
91
|
+
},
|
|
92
|
+
"it": {
|
|
93
|
+
"cmd.open_help": "Demo plugin: Apri aiuto",
|
|
94
|
+
"cmd.open_help_desc": "Apre la pagina di aiuto dell'editor (usa un'azione integrata)",
|
|
95
|
+
"cmd.save_file": "Demo plugin: Salva file",
|
|
96
|
+
"cmd.save_file_desc": "Salva il file corrente (usa un'azione integrata)",
|
|
97
|
+
"cmd.say_hello": "Demo plugin: Saluta",
|
|
98
|
+
"cmd.say_hello_desc": "Inserisce un saluto amichevole nel buffer",
|
|
99
|
+
"cmd.insert_time": "Demo plugin: Inserisci ora",
|
|
100
|
+
"cmd.insert_time_desc": "Inserisce l'ora corrente alla posizione del cursore",
|
|
101
|
+
"cmd.insert_comment": "Demo plugin: Inserisci commento",
|
|
102
|
+
"cmd.insert_comment_desc": "Inserisce un commento di esempio alla posizione del cursore",
|
|
103
|
+
"status.loaded": "I plugin funzionano! Plugin di benvenuto caricato con successo!",
|
|
104
|
+
"status.greeting_inserted": "Saluto inserito alla posizione del cursore",
|
|
105
|
+
"status.time_inserted": "Ora inserita alla posizione del cursore",
|
|
106
|
+
"status.comment_inserted": "Commento inserito dal plugin",
|
|
107
|
+
"text.greeting": "Ciao da TypeScript! Il sistema dei plugin funziona!",
|
|
108
|
+
"text.comment": "// Questo commento è stato inserito da un plugin TypeScript!"
|
|
109
|
+
},
|
|
110
|
+
"ja": {
|
|
111
|
+
"cmd.open_help": "プラグインデモ: ヘルプを開く",
|
|
112
|
+
"cmd.open_help_desc": "エディタのヘルプページを開く(組み込みアクションを使用)",
|
|
113
|
+
"cmd.save_file": "プラグインデモ: ファイルを保存",
|
|
114
|
+
"cmd.save_file_desc": "現在のファイルを保存する(組み込みアクションを使用)",
|
|
115
|
+
"cmd.say_hello": "プラグインデモ: 挨拶を挿入",
|
|
116
|
+
"cmd.say_hello_desc": "バッファにフレンドリーな挨拶を挿入する",
|
|
117
|
+
"cmd.insert_time": "プラグインデモ: 時刻を挿入",
|
|
118
|
+
"cmd.insert_time_desc": "カーソル位置に現在の時刻を挿入する",
|
|
119
|
+
"cmd.insert_comment": "プラグインデモ: コメントを挿入",
|
|
120
|
+
"cmd.insert_comment_desc": "カーソル位置にサンプルコメントを挿入する",
|
|
121
|
+
"status.loaded": "プラグインが動作しています!ウェルカムプラグインが正常に読み込まれました!",
|
|
122
|
+
"status.greeting_inserted": "カーソル位置に挨拶を挿入しました",
|
|
123
|
+
"status.time_inserted": "カーソル位置に時刻を挿入しました",
|
|
124
|
+
"status.comment_inserted": "プラグインによりコメントが挿入されました",
|
|
125
|
+
"text.greeting": "TypeScriptからこんにちは!プラグインシステムが動作しています!",
|
|
126
|
+
"text.comment": "// このコメントはTypeScriptプラグインによって挿入されました!"
|
|
127
|
+
},
|
|
128
|
+
"ko": {
|
|
129
|
+
"cmd.open_help": "플러그인 데모: 도움말 열기",
|
|
130
|
+
"cmd.open_help_desc": "편집기 도움말 페이지 열기 (내장 액션 사용)",
|
|
131
|
+
"cmd.save_file": "플러그인 데모: 파일 저장",
|
|
132
|
+
"cmd.save_file_desc": "현재 파일 저장 (내장 액션 사용)",
|
|
133
|
+
"cmd.say_hello": "플러그인 데모: 인사하기",
|
|
134
|
+
"cmd.say_hello_desc": "버퍼에 친근한 인사 삽입",
|
|
135
|
+
"cmd.insert_time": "플러그인 데모: 시간 삽입",
|
|
136
|
+
"cmd.insert_time_desc": "커서 위치에 현재 시간 삽입",
|
|
137
|
+
"cmd.insert_comment": "플러그인 데모: 주석 삽입",
|
|
138
|
+
"cmd.insert_comment_desc": "커서 위치에 샘플 주석 삽입",
|
|
139
|
+
"status.loaded": "플러그인이 작동합니다! Welcome 플러그인이 성공적으로 로드되었습니다!",
|
|
140
|
+
"status.greeting_inserted": "커서 위치에 인사 삽입됨",
|
|
141
|
+
"status.time_inserted": "커서 위치에 시간 삽입됨",
|
|
142
|
+
"status.comment_inserted": "플러그인에 의해 주석 삽입됨",
|
|
143
|
+
"text.greeting": "TypeScript에서 안녕하세요! 플러그인 시스템이 작동합니다!",
|
|
144
|
+
"text.comment": "// 이 주석은 TypeScript 플러그인에 의해 삽입되었습니다!"
|
|
145
|
+
},
|
|
146
|
+
"pt-BR": {
|
|
147
|
+
"cmd.open_help": "Demo do Plugin: Abrir Ajuda",
|
|
148
|
+
"cmd.open_help_desc": "Abrir a pagina de ajuda do editor (usa acao integrada)",
|
|
149
|
+
"cmd.save_file": "Demo do Plugin: Salvar Arquivo",
|
|
150
|
+
"cmd.save_file_desc": "Salvar o arquivo atual (usa acao integrada)",
|
|
151
|
+
"cmd.say_hello": "Demo do Plugin: Dizer Ola",
|
|
152
|
+
"cmd.say_hello_desc": "Inserir uma saudacao amigavel no buffer",
|
|
153
|
+
"cmd.insert_time": "Demo do Plugin: Inserir Hora",
|
|
154
|
+
"cmd.insert_time_desc": "Inserir a hora atual na posicao do cursor",
|
|
155
|
+
"cmd.insert_comment": "Demo do Plugin: Inserir Comentario",
|
|
156
|
+
"cmd.insert_comment_desc": "Inserir um comentario de exemplo na posicao do cursor",
|
|
157
|
+
"status.loaded": "Plugins estao funcionando! Plugin de Boas-vindas carregado com sucesso!",
|
|
158
|
+
"status.greeting_inserted": "Saudacao inserida na posicao do cursor",
|
|
159
|
+
"status.time_inserted": "Hora inserida na posicao do cursor",
|
|
160
|
+
"status.comment_inserted": "Comentario inserido pelo plugin",
|
|
161
|
+
"text.greeting": "Ola do TypeScript! O sistema de plugins esta funcionando!",
|
|
162
|
+
"text.comment": "// Este comentario foi inserido por um plugin TypeScript!"
|
|
163
|
+
},
|
|
164
|
+
"ru": {
|
|
165
|
+
"cmd.open_help": "Демо плагина: Открыть справку",
|
|
166
|
+
"cmd.open_help_desc": "Открыть страницу справки редактора (использует встроенное действие)",
|
|
167
|
+
"cmd.save_file": "Демо плагина: Сохранить файл",
|
|
168
|
+
"cmd.save_file_desc": "Сохранить текущий файл (использует встроенное действие)",
|
|
169
|
+
"cmd.say_hello": "Демо плагина: Поздороваться",
|
|
170
|
+
"cmd.say_hello_desc": "Вставить дружеское приветствие в буфер",
|
|
171
|
+
"cmd.insert_time": "Демо плагина: Вставить время",
|
|
172
|
+
"cmd.insert_time_desc": "Вставить текущее время в позицию курсора",
|
|
173
|
+
"cmd.insert_comment": "Демо плагина: Вставить комментарий",
|
|
174
|
+
"cmd.insert_comment_desc": "Вставить пример комментария в позицию курсора",
|
|
175
|
+
"status.loaded": "Плагины работают! Welcome плагин успешно загружен!",
|
|
176
|
+
"status.greeting_inserted": "Приветствие вставлено в позицию курсора",
|
|
177
|
+
"status.time_inserted": "Время вставлено в позицию курсора",
|
|
178
|
+
"status.comment_inserted": "Комментарий вставлен плагином",
|
|
179
|
+
"text.greeting": "Привет из TypeScript! Система плагинов работает!",
|
|
180
|
+
"text.comment": "// Этот комментарий был вставлен плагином TypeScript!"
|
|
181
|
+
},
|
|
182
|
+
"th": {
|
|
183
|
+
"cmd.open_help": "สาธิตปลั๊กอิน: เปิดความช่วยเหลือ",
|
|
184
|
+
"cmd.open_help_desc": "เปิดหน้าความช่วยเหลือของตัวแก้ไข (ใช้การดำเนินการในตัว)",
|
|
185
|
+
"cmd.save_file": "สาธิตปลั๊กอิน: บันทึกไฟล์",
|
|
186
|
+
"cmd.save_file_desc": "บันทึกไฟล์ปัจจุบัน (ใช้การดำเนินการในตัว)",
|
|
187
|
+
"cmd.say_hello": "สาธิตปลั๊กอิน: ทักทาย",
|
|
188
|
+
"cmd.say_hello_desc": "แทรกคำทักทายที่เป็นมิตรลงในบัฟเฟอร์",
|
|
189
|
+
"cmd.insert_time": "สาธิตปลั๊กอิน: แทรกเวลา",
|
|
190
|
+
"cmd.insert_time_desc": "แทรกเวลาปัจจุบันที่ตำแหน่งเคอร์เซอร์",
|
|
191
|
+
"cmd.insert_comment": "สาธิตปลั๊กอิน: แทรกความคิดเห็น",
|
|
192
|
+
"cmd.insert_comment_desc": "แทรกความคิดเห็นตัวอย่างที่ตำแหน่งเคอร์เซอร์",
|
|
193
|
+
"status.loaded": "ปลั๊กอินทำงาน! โหลด Welcome Plugin สำเร็จ!",
|
|
194
|
+
"status.greeting_inserted": "แทรกคำทักทายที่ตำแหน่งเคอร์เซอร์แล้ว",
|
|
195
|
+
"status.time_inserted": "แทรกเวลาที่ตำแหน่งเคอร์เซอร์แล้ว",
|
|
196
|
+
"status.comment_inserted": "ปลั๊กอินแทรกความคิดเห็นแล้ว",
|
|
197
|
+
"text.greeting": "สวัสดีจาก TypeScript! ระบบปลั๊กอินทำงาน!",
|
|
198
|
+
"text.comment": "// ความคิดเห็นนี้ถูกแทรกโดยปลั๊กอิน TypeScript!"
|
|
199
|
+
},
|
|
200
|
+
"uk": {
|
|
201
|
+
"cmd.open_help": "Демо плагіна: Відкрити довідку",
|
|
202
|
+
"cmd.open_help_desc": "Відкрити сторінку довідки редактора (використовує вбудовану дію)",
|
|
203
|
+
"cmd.save_file": "Демо плагіна: Зберегти файл",
|
|
204
|
+
"cmd.save_file_desc": "Зберегти поточний файл (використовує вбудовану дію)",
|
|
205
|
+
"cmd.say_hello": "Демо плагіна: Привітатися",
|
|
206
|
+
"cmd.say_hello_desc": "Вставити дружнє привітання в буфер",
|
|
207
|
+
"cmd.insert_time": "Демо плагіна: Вставити час",
|
|
208
|
+
"cmd.insert_time_desc": "Вставити поточний час у позицію курсора",
|
|
209
|
+
"cmd.insert_comment": "Демо плагіна: Вставити коментар",
|
|
210
|
+
"cmd.insert_comment_desc": "Вставити приклад коментаря у позицію курсора",
|
|
211
|
+
"status.loaded": "Плагіни працюють! Welcome плагін успішно завантажено!",
|
|
212
|
+
"status.greeting_inserted": "Привітання вставлено у позицію курсора",
|
|
213
|
+
"status.time_inserted": "Час вставлено у позицію курсора",
|
|
214
|
+
"status.comment_inserted": "Коментар вставлено плагіном",
|
|
215
|
+
"text.greeting": "Привіт з TypeScript! Система плагінів працює!",
|
|
216
|
+
"text.comment": "// Цей коментар був вставлений плагіном TypeScript!"
|
|
217
|
+
},
|
|
218
|
+
"zh-CN": {
|
|
219
|
+
"cmd.open_help": "插件演示: 打开帮助",
|
|
220
|
+
"cmd.open_help_desc": "打开编辑器帮助页面(使用内置操作)",
|
|
221
|
+
"cmd.save_file": "插件演示: 保存文件",
|
|
222
|
+
"cmd.save_file_desc": "保存当前文件(使用内置操作)",
|
|
223
|
+
"cmd.say_hello": "插件演示: 问候",
|
|
224
|
+
"cmd.say_hello_desc": "在缓冲区插入友好的问候语",
|
|
225
|
+
"cmd.insert_time": "插件演示: 插入时间",
|
|
226
|
+
"cmd.insert_time_desc": "在光标位置插入当前时间",
|
|
227
|
+
"cmd.insert_comment": "插件演示: 插入注释",
|
|
228
|
+
"cmd.insert_comment_desc": "在光标位置插入示例注释",
|
|
229
|
+
"status.loaded": "插件正在工作!欢迎插件加载成功!",
|
|
230
|
+
"status.greeting_inserted": "已在光标位置插入问候语",
|
|
231
|
+
"status.time_inserted": "已在光标位置插入时间",
|
|
232
|
+
"status.comment_inserted": "插件已插入注释",
|
|
233
|
+
"text.greeting": "来自TypeScript的问候!插件系统正在运行!",
|
|
234
|
+
"text.comment": "// 此注释由TypeScript插件插入!"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/// <reference path="../types/fresh.d.ts" />
|
|
2
|
+
const editor = getEditor();
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Welcome Plugin
|
|
7
|
+
* Shows a welcome message and registers demo commands
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
// Show welcome message in status bar
|
|
11
|
+
editor.setStatus(editor.t("status.loaded"));
|
|
12
|
+
|
|
13
|
+
// Register commands that use built-in actions
|
|
14
|
+
editor.registerCommand(
|
|
15
|
+
"%cmd.open_help",
|
|
16
|
+
"%cmd.open_help_desc",
|
|
17
|
+
"show_help",
|
|
18
|
+
"normal"
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
editor.registerCommand(
|
|
22
|
+
"%cmd.save_file",
|
|
23
|
+
"%cmd.save_file_desc",
|
|
24
|
+
"save",
|
|
25
|
+
"normal"
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
// Register commands with custom TypeScript callbacks
|
|
29
|
+
globalThis.plugin_say_hello = function(): void {
|
|
30
|
+
editor.insertAtCursor(editor.t("text.greeting") + "\n");
|
|
31
|
+
editor.setStatus(editor.t("status.greeting_inserted"));
|
|
32
|
+
editor.debug("Plugin callback executed: say_hello");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
editor.registerCommand(
|
|
36
|
+
"%cmd.say_hello",
|
|
37
|
+
"%cmd.say_hello_desc",
|
|
38
|
+
"plugin_say_hello",
|
|
39
|
+
"normal"
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
globalThis.plugin_insert_time = function(): void {
|
|
43
|
+
const time = new Date().toLocaleTimeString();
|
|
44
|
+
editor.insertAtCursor(`Current time: ${time}\n`);
|
|
45
|
+
editor.setStatus(editor.t("status.time_inserted"));
|
|
46
|
+
editor.debug(`Plugin callback executed: insert_time at ${time}`);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
editor.registerCommand(
|
|
50
|
+
"%cmd.insert_time",
|
|
51
|
+
"%cmd.insert_time_desc",
|
|
52
|
+
"plugin_insert_time",
|
|
53
|
+
"normal"
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
globalThis.plugin_insert_comment = function(): void {
|
|
57
|
+
editor.insertAtCursor(editor.t("text.comment") + "\n");
|
|
58
|
+
editor.setStatus(editor.t("status.comment_inserted"));
|
|
59
|
+
editor.debug("Plugin callback executed: insert_comment");
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
editor.registerCommand(
|
|
63
|
+
"%cmd.insert_comment",
|
|
64
|
+
"%cmd.insert_comment_desc",
|
|
65
|
+
"plugin_insert_comment",
|
|
66
|
+
"normal"
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
// Debug output
|
|
70
|
+
editor.debug("Welcome plugin initialized successfully!");
|
|
71
|
+
editor.debug("Registered 5 commands - try Ctrl+P to see them!");
|
|
72
|
+
editor.debug(" - 'Plugin Demo: Open Help' - toggles help screen (built-in action)");
|
|
73
|
+
editor.debug(" - 'Plugin Demo: Save File' - saves current file (built-in action)");
|
|
74
|
+
editor.debug(" - 'Plugin Demo: Say Hello' - inserts greeting (TypeScript callback)");
|
|
75
|
+
editor.debug(" - 'Plugin Demo: Insert Time' - inserts current time (TypeScript callback)");
|
|
76
|
+
editor.debug(" - 'Plugin Demo: Insert Comment' - inserts sample comment (TypeScript callback)");
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dark",
|
|
3
|
+
"editor": {
|
|
4
|
+
"bg": [30, 30, 30],
|
|
5
|
+
"fg": [212, 212, 212],
|
|
6
|
+
"cursor": [255, 255, 255],
|
|
7
|
+
"inactive_cursor": [100, 100, 100],
|
|
8
|
+
"selection_bg": [38, 79, 120],
|
|
9
|
+
"current_line_bg": [40, 40, 40],
|
|
10
|
+
"line_number_fg": [100, 100, 100],
|
|
11
|
+
"line_number_bg": [30, 30, 30],
|
|
12
|
+
"diff_add_bg": [35, 60, 35],
|
|
13
|
+
"diff_remove_bg": [70, 35, 35],
|
|
14
|
+
"diff_modify_bg": [40, 38, 30]
|
|
15
|
+
},
|
|
16
|
+
"ui": {
|
|
17
|
+
"tab_active_fg": "Yellow",
|
|
18
|
+
"tab_active_bg": "Blue",
|
|
19
|
+
"tab_inactive_fg": "White",
|
|
20
|
+
"tab_inactive_bg": "DarkGray",
|
|
21
|
+
"tab_separator_bg": [45, 45, 48],
|
|
22
|
+
"tab_close_hover_fg": [255, 100, 100],
|
|
23
|
+
"tab_hover_bg": [70, 70, 75],
|
|
24
|
+
"menu_bg": [60, 60, 65],
|
|
25
|
+
"menu_fg": [220, 220, 220],
|
|
26
|
+
"menu_active_bg": [60, 60, 60],
|
|
27
|
+
"menu_active_fg": [255, 255, 255],
|
|
28
|
+
"menu_dropdown_bg": [50, 50, 50],
|
|
29
|
+
"menu_dropdown_fg": [220, 220, 220],
|
|
30
|
+
"menu_highlight_bg": [70, 130, 180],
|
|
31
|
+
"menu_highlight_fg": [255, 255, 255],
|
|
32
|
+
"menu_border_fg": [100, 100, 100],
|
|
33
|
+
"menu_separator_fg": [80, 80, 80],
|
|
34
|
+
"menu_hover_bg": [55, 55, 55],
|
|
35
|
+
"menu_hover_fg": [255, 255, 255],
|
|
36
|
+
"menu_disabled_fg": [100, 100, 100],
|
|
37
|
+
"menu_disabled_bg": [50, 50, 50],
|
|
38
|
+
"status_bar_fg": "White",
|
|
39
|
+
"status_bar_bg": [30, 30, 30],
|
|
40
|
+
"prompt_fg": "White",
|
|
41
|
+
"prompt_bg": [20, 20, 20],
|
|
42
|
+
"prompt_selection_fg": "White",
|
|
43
|
+
"prompt_selection_bg": [58, 79, 120],
|
|
44
|
+
"popup_border_fg": "Gray",
|
|
45
|
+
"popup_bg": [30, 30, 30],
|
|
46
|
+
"popup_selection_bg": [58, 79, 120],
|
|
47
|
+
"popup_text_fg": "White",
|
|
48
|
+
"suggestion_bg": [30, 30, 30],
|
|
49
|
+
"suggestion_selected_bg": [58, 79, 120],
|
|
50
|
+
"help_bg": "Black",
|
|
51
|
+
"help_fg": "White",
|
|
52
|
+
"help_key_fg": "Cyan",
|
|
53
|
+
"help_separator_fg": "DarkGray",
|
|
54
|
+
"help_indicator_fg": "Red",
|
|
55
|
+
"help_indicator_bg": "Black",
|
|
56
|
+
"inline_code_bg": [60, 60, 60],
|
|
57
|
+
"split_separator_fg": [100, 100, 100],
|
|
58
|
+
"split_separator_hover_fg": [100, 149, 237],
|
|
59
|
+
"scrollbar_track_fg": "DarkGray",
|
|
60
|
+
"scrollbar_thumb_fg": "Gray",
|
|
61
|
+
"scrollbar_track_hover_fg": "Gray",
|
|
62
|
+
"scrollbar_thumb_hover_fg": "White",
|
|
63
|
+
"compose_margin_bg": [18, 18, 18],
|
|
64
|
+
"semantic_highlight_bg": [60, 60, 80],
|
|
65
|
+
"terminal_bg": "Default",
|
|
66
|
+
"terminal_fg": "Default",
|
|
67
|
+
"status_warning_indicator_bg": [181, 137, 0],
|
|
68
|
+
"status_warning_indicator_fg": [0, 0, 0],
|
|
69
|
+
"status_error_indicator_bg": [220, 50, 47],
|
|
70
|
+
"status_error_indicator_fg": [255, 255, 255],
|
|
71
|
+
"status_warning_indicator_hover_bg": [211, 167, 30],
|
|
72
|
+
"status_warning_indicator_hover_fg": [0, 0, 0],
|
|
73
|
+
"status_error_indicator_hover_bg": [250, 80, 77],
|
|
74
|
+
"status_error_indicator_hover_fg": [255, 255, 255],
|
|
75
|
+
"tab_drop_zone_bg": [70, 130, 180],
|
|
76
|
+
"tab_drop_zone_border": [100, 149, 237]
|
|
77
|
+
},
|
|
78
|
+
"search": {
|
|
79
|
+
"match_bg": [100, 100, 20],
|
|
80
|
+
"match_fg": [255, 255, 255]
|
|
81
|
+
},
|
|
82
|
+
"diagnostic": {
|
|
83
|
+
"error_fg": "Red",
|
|
84
|
+
"error_bg": [60, 20, 20],
|
|
85
|
+
"warning_fg": "Yellow",
|
|
86
|
+
"warning_bg": [60, 50, 0],
|
|
87
|
+
"info_fg": "Blue",
|
|
88
|
+
"info_bg": [0, 30, 60],
|
|
89
|
+
"hint_fg": "Gray",
|
|
90
|
+
"hint_bg": [30, 30, 30]
|
|
91
|
+
},
|
|
92
|
+
"syntax": {
|
|
93
|
+
"keyword": [86, 156, 214],
|
|
94
|
+
"string": [206, 145, 120],
|
|
95
|
+
"comment": [106, 153, 85],
|
|
96
|
+
"function": [220, 220, 170],
|
|
97
|
+
"type": [78, 201, 176],
|
|
98
|
+
"variable": [156, 220, 254],
|
|
99
|
+
"constant": [79, 193, 255],
|
|
100
|
+
"operator": [212, 212, 212]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dracula",
|
|
3
|
+
"editor": {
|
|
4
|
+
"bg": [40, 42, 54],
|
|
5
|
+
"fg": [248, 248, 242],
|
|
6
|
+
"cursor": [255, 121, 198],
|
|
7
|
+
"selection_bg": [68, 71, 90],
|
|
8
|
+
"current_line_bg": [68, 71, 90],
|
|
9
|
+
"line_number_fg": [98, 114, 164],
|
|
10
|
+
"line_number_bg": [40, 42, 54]
|
|
11
|
+
},
|
|
12
|
+
"ui": {
|
|
13
|
+
"tab_active_fg": [248, 248, 242],
|
|
14
|
+
"tab_active_bg": [189, 147, 249],
|
|
15
|
+
"tab_inactive_fg": [248, 248, 242],
|
|
16
|
+
"tab_inactive_bg": [68, 71, 90],
|
|
17
|
+
"tab_separator_bg": [40, 42, 54],
|
|
18
|
+
"status_bar_fg": [40, 42, 54],
|
|
19
|
+
"status_bar_bg": [189, 147, 249],
|
|
20
|
+
"prompt_fg": [40, 42, 54],
|
|
21
|
+
"prompt_bg": [80, 250, 123],
|
|
22
|
+
"prompt_selection_fg": [248, 248, 242],
|
|
23
|
+
"prompt_selection_bg": [189, 147, 249],
|
|
24
|
+
"popup_border_fg": [98, 114, 164],
|
|
25
|
+
"popup_bg": [68, 71, 90],
|
|
26
|
+
"popup_selection_bg": [189, 147, 249],
|
|
27
|
+
"popup_text_fg": [248, 248, 242],
|
|
28
|
+
"suggestion_bg": [68, 71, 90],
|
|
29
|
+
"suggestion_selected_bg": [189, 147, 249],
|
|
30
|
+
"help_bg": [40, 42, 54],
|
|
31
|
+
"help_fg": [248, 248, 242],
|
|
32
|
+
"help_key_fg": [139, 233, 253],
|
|
33
|
+
"help_separator_fg": [98, 114, 164],
|
|
34
|
+
"help_indicator_fg": [255, 85, 85],
|
|
35
|
+
"help_indicator_bg": [40, 42, 54],
|
|
36
|
+
"split_separator_fg": [98, 114, 164]
|
|
37
|
+
},
|
|
38
|
+
"search": {
|
|
39
|
+
"match_bg": [241, 250, 140],
|
|
40
|
+
"match_fg": [40, 42, 54]
|
|
41
|
+
},
|
|
42
|
+
"diagnostic": {
|
|
43
|
+
"error_fg": [255, 85, 85],
|
|
44
|
+
"error_bg": [64, 42, 54],
|
|
45
|
+
"warning_fg": [241, 250, 140],
|
|
46
|
+
"warning_bg": [64, 60, 42],
|
|
47
|
+
"info_fg": [139, 233, 253],
|
|
48
|
+
"info_bg": [40, 56, 70],
|
|
49
|
+
"hint_fg": [98, 114, 164],
|
|
50
|
+
"hint_bg": [40, 42, 54]
|
|
51
|
+
},
|
|
52
|
+
"syntax": {
|
|
53
|
+
"keyword": [255, 121, 198],
|
|
54
|
+
"string": [241, 250, 140],
|
|
55
|
+
"comment": [98, 114, 164],
|
|
56
|
+
"function": [80, 250, 123],
|
|
57
|
+
"type": [139, 233, 253],
|
|
58
|
+
"variable": [248, 248, 242],
|
|
59
|
+
"constant": [189, 147, 249],
|
|
60
|
+
"operator": [255, 121, 198]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "high-contrast",
|
|
3
|
+
"editor": {
|
|
4
|
+
"bg": "Black",
|
|
5
|
+
"fg": "White",
|
|
6
|
+
"cursor": "White",
|
|
7
|
+
"inactive_cursor": "DarkGray",
|
|
8
|
+
"selection_bg": [0, 100, 200],
|
|
9
|
+
"current_line_bg": [20, 20, 20],
|
|
10
|
+
"line_number_fg": [140, 140, 140],
|
|
11
|
+
"line_number_bg": "Black",
|
|
12
|
+
"diff_add_bg": [0, 80, 0],
|
|
13
|
+
"diff_remove_bg": [100, 0, 0],
|
|
14
|
+
"diff_modify_bg": [25, 22, 0]
|
|
15
|
+
},
|
|
16
|
+
"ui": {
|
|
17
|
+
"tab_active_fg": "Black",
|
|
18
|
+
"tab_active_bg": "Yellow",
|
|
19
|
+
"tab_inactive_fg": "White",
|
|
20
|
+
"tab_inactive_bg": "Black",
|
|
21
|
+
"tab_separator_bg": [30, 30, 35],
|
|
22
|
+
"tab_close_hover_fg": [249, 38, 114],
|
|
23
|
+
"tab_hover_bg": [50, 50, 55],
|
|
24
|
+
"menu_bg": [50, 50, 55],
|
|
25
|
+
"menu_fg": "White",
|
|
26
|
+
"menu_active_bg": "Yellow",
|
|
27
|
+
"menu_active_fg": "Black",
|
|
28
|
+
"menu_dropdown_bg": [20, 20, 20],
|
|
29
|
+
"menu_dropdown_fg": "White",
|
|
30
|
+
"menu_highlight_bg": [0, 100, 200],
|
|
31
|
+
"menu_highlight_fg": "White",
|
|
32
|
+
"menu_border_fg": "Yellow",
|
|
33
|
+
"menu_separator_fg": "White",
|
|
34
|
+
"menu_hover_bg": [50, 50, 50],
|
|
35
|
+
"menu_hover_fg": "Yellow",
|
|
36
|
+
"menu_disabled_fg": "DarkGray",
|
|
37
|
+
"menu_disabled_bg": [20, 20, 20],
|
|
38
|
+
"status_bar_fg": "White",
|
|
39
|
+
"status_bar_bg": [20, 20, 20],
|
|
40
|
+
"prompt_fg": "White",
|
|
41
|
+
"prompt_bg": [10, 10, 10],
|
|
42
|
+
"prompt_selection_fg": "White",
|
|
43
|
+
"prompt_selection_bg": [0, 100, 200],
|
|
44
|
+
"popup_border_fg": "LightCyan",
|
|
45
|
+
"popup_bg": "Black",
|
|
46
|
+
"popup_selection_bg": [0, 100, 200],
|
|
47
|
+
"popup_text_fg": "White",
|
|
48
|
+
"suggestion_bg": "Black",
|
|
49
|
+
"suggestion_selected_bg": [0, 100, 200],
|
|
50
|
+
"help_bg": "Black",
|
|
51
|
+
"help_fg": "White",
|
|
52
|
+
"help_key_fg": "LightCyan",
|
|
53
|
+
"help_separator_fg": "White",
|
|
54
|
+
"help_indicator_fg": "Red",
|
|
55
|
+
"help_indicator_bg": "Black",
|
|
56
|
+
"inline_code_bg": [40, 40, 40],
|
|
57
|
+
"split_separator_fg": [140, 140, 140],
|
|
58
|
+
"split_separator_hover_fg": "Yellow",
|
|
59
|
+
"scrollbar_track_fg": "White",
|
|
60
|
+
"scrollbar_thumb_fg": "Yellow",
|
|
61
|
+
"scrollbar_track_hover_fg": "Yellow",
|
|
62
|
+
"scrollbar_thumb_hover_fg": "Cyan",
|
|
63
|
+
"compose_margin_bg": [10, 10, 10],
|
|
64
|
+
"semantic_highlight_bg": [0, 60, 100],
|
|
65
|
+
"terminal_bg": "Default",
|
|
66
|
+
"terminal_fg": "Default",
|
|
67
|
+
"status_warning_indicator_bg": "Yellow",
|
|
68
|
+
"status_warning_indicator_fg": "Black",
|
|
69
|
+
"status_error_indicator_bg": "Red",
|
|
70
|
+
"status_error_indicator_fg": "White",
|
|
71
|
+
"status_warning_indicator_hover_bg": "LightYellow",
|
|
72
|
+
"status_warning_indicator_hover_fg": "Black",
|
|
73
|
+
"status_error_indicator_hover_bg": "LightRed",
|
|
74
|
+
"status_error_indicator_hover_fg": "White",
|
|
75
|
+
"tab_drop_zone_bg": [0, 100, 200],
|
|
76
|
+
"tab_drop_zone_border": "Yellow"
|
|
77
|
+
},
|
|
78
|
+
"search": {
|
|
79
|
+
"match_bg": "Yellow",
|
|
80
|
+
"match_fg": "Black"
|
|
81
|
+
},
|
|
82
|
+
"diagnostic": {
|
|
83
|
+
"error_fg": "Red",
|
|
84
|
+
"error_bg": [100, 0, 0],
|
|
85
|
+
"warning_fg": "Yellow",
|
|
86
|
+
"warning_bg": [100, 100, 0],
|
|
87
|
+
"info_fg": "Cyan",
|
|
88
|
+
"info_bg": [0, 50, 100],
|
|
89
|
+
"hint_fg": "White",
|
|
90
|
+
"hint_bg": [50, 50, 50]
|
|
91
|
+
},
|
|
92
|
+
"syntax": {
|
|
93
|
+
"keyword": "Cyan",
|
|
94
|
+
"string": "Green",
|
|
95
|
+
"comment": "Gray",
|
|
96
|
+
"function": "Yellow",
|
|
97
|
+
"type": "Magenta",
|
|
98
|
+
"variable": "White",
|
|
99
|
+
"constant": "LightBlue",
|
|
100
|
+
"operator": "White"
|
|
101
|
+
}
|
|
102
|
+
}
|