codis 1.1.1__py3-none-any.whl

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.
Files changed (329) hide show
  1. codis-1.1.1.dist-info/METADATA +194 -0
  2. codis-1.1.1.dist-info/RECORD +329 -0
  3. codis-1.1.1.dist-info/WHEEL +5 -0
  4. codis-1.1.1.dist-info/entry_points.txt +5 -0
  5. codis-1.1.1.dist-info/licenses/LICENSE +21 -0
  6. codis-1.1.1.dist-info/top_level.txt +2 -0
  7. run.py +190 -0
  8. src/__init__.py +1 -0
  9. src/__main__.py +81 -0
  10. src/_app_build.py +1507 -0
  11. src/_app_editor.py +1274 -0
  12. src/_app_kui.py +825 -0
  13. src/_app_lsp.py +625 -0
  14. src/_app_recovery.py +189 -0
  15. src/_app_settings.py +1385 -0
  16. src/_app_tools.py +2471 -0
  17. src/_app_webpreview.py +126 -0
  18. src/_font_safety.py +127 -0
  19. src/_shells.py +172 -0
  20. src/app.py +1488 -0
  21. src/chat/__init__.py +1 -0
  22. src/chat/adapters/__init__.py +33 -0
  23. src/chat/adapters/base.py +209 -0
  24. src/chat/adapters/discord.py +190 -0
  25. src/chat/adapters/http.py +78 -0
  26. src/chat/adapters/irc.py +360 -0
  27. src/chat/adapters/matrix.py +219 -0
  28. src/chat/adapters/mattermost.py +178 -0
  29. src/chat/adapters/mqtt.py +165 -0
  30. src/chat/adapters/slack.py +204 -0
  31. src/chat/adapters/telegram.py +117 -0
  32. src/chat/adapters/ws.py +154 -0
  33. src/chat/adapters/xmpp.py +337 -0
  34. src/chat/history.py +76 -0
  35. src/chat/models.py +207 -0
  36. src/chat/probe.py +79 -0
  37. src/chat/session.py +446 -0
  38. src/chat/util.py +125 -0
  39. src/collab/__init__.py +1 -0
  40. src/collab/net.py +411 -0
  41. src/collab/ot.py +311 -0
  42. src/collab/session.py +141 -0
  43. src/collab/tk_adapter.py +134 -0
  44. src/config.py +335 -0
  45. src/constants.py +2552 -0
  46. src/dep_catalog.py +446 -0
  47. src/diff/__init__.py +1 -0
  48. src/diff/engine.py +247 -0
  49. src/dpi.py +30 -0
  50. src/editor/__init__.py +1 -0
  51. src/editor/_pane_lsp.py +2937 -0
  52. src/editor/_pane_utils.py +171 -0
  53. src/editor/autocomplete.py +607 -0
  54. src/editor/code_folding.py +836 -0
  55. src/editor/color_preview.py +382 -0
  56. src/editor/complexity_lens.py +281 -0
  57. src/editor/diff_pane.py +623 -0
  58. src/editor/file_watcher.py +144 -0
  59. src/editor/focus_block.py +236 -0
  60. src/editor/heatmap.py +141 -0
  61. src/editor/inlay_hints.py +366 -0
  62. src/editor/inline_blame.py +429 -0
  63. src/editor/kdocs.py +3376 -0
  64. src/editor/large_file.py +488 -0
  65. src/editor/ligatures.py +180 -0
  66. src/editor/line_numbers.py +598 -0
  67. src/editor/minimap.py +691 -0
  68. src/editor/multi_cursor.py +269 -0
  69. src/editor/pane.py +2082 -0
  70. src/editor/rhythm.py +206 -0
  71. src/editor/save_hooks.py +43 -0
  72. src/editor/smart_selection.py +425 -0
  73. src/editor/smart_tips.py +719 -0
  74. src/editor/snippets.py +411 -0
  75. src/editor/sticky_note_gutter.py +410 -0
  76. src/editor/sticky_scroll.py +385 -0
  77. src/editor/suggest.py +464 -0
  78. src/editor/text_transforms.py +310 -0
  79. src/editor/vim_mode.py +1074 -0
  80. src/events/__init__.py +84 -0
  81. src/events/bus.py +427 -0
  82. src/events/correlator.py +244 -0
  83. src/events/kinds.py +125 -0
  84. src/events/pipeline.py +264 -0
  85. src/events/stream.py +416 -0
  86. src/events/window.py +204 -0
  87. src/extcompat/__init__.py +19 -0
  88. src/extcompat/code/__init__.py +13 -0
  89. src/extcompat/code/consent.py +162 -0
  90. src/extcompat/code/host.py +353 -0
  91. src/extcompat/code/hosts/py_host.py +763 -0
  92. src/extcompat/code/locate.py +105 -0
  93. src/extcompat/code/manager.py +325 -0
  94. src/extcompat/code/permissions.py +154 -0
  95. src/extcompat/code/sandbox.py +60 -0
  96. src/extcompat/colors.py +131 -0
  97. src/extcompat/common.py +184 -0
  98. src/extcompat/cson.py +269 -0
  99. src/extcompat/formats/__init__.py +22 -0
  100. src/extcompat/formats/_tm.py +189 -0
  101. src/extcompat/formats/_util.py +31 -0
  102. src/extcompat/formats/base16.py +66 -0
  103. src/extcompat/formats/brackets.py +172 -0
  104. src/extcompat/formats/eclipse.py +193 -0
  105. src/extcompat/formats/emacs.py +361 -0
  106. src/extcompat/formats/geany.py +147 -0
  107. src/extcompat/formats/generic.py +184 -0
  108. src/extcompat/formats/gtksource.py +117 -0
  109. src/extcompat/formats/helix.py +91 -0
  110. src/extcompat/formats/jetbrains.py +343 -0
  111. src/extcompat/formats/kate.py +130 -0
  112. src/extcompat/formats/micro.py +131 -0
  113. src/extcompat/formats/nano.py +111 -0
  114. src/extcompat/formats/notepadpp.py +140 -0
  115. src/extcompat/formats/pulsar.py +165 -0
  116. src/extcompat/formats/pyides.py +163 -0
  117. src/extcompat/formats/sublime.py +340 -0
  118. src/extcompat/jsonc.py +65 -0
  119. src/extcompat/lessish.py +128 -0
  120. src/extcompat/manager.py +122 -0
  121. src/extcompat/market/__init__.py +63 -0
  122. src/extcompat/market/sources.py +211 -0
  123. src/extcompat/model.py +88 -0
  124. src/extcompat/net.py +228 -0
  125. src/extcompat/openvsx.py +63 -0
  126. src/extcompat/readers.py +362 -0
  127. src/extcompat/registry.py +73 -0
  128. src/extcompat/safexml.py +63 -0
  129. src/extcompat/sexp.py +187 -0
  130. src/extcompat/sources.py +105 -0
  131. src/extcompat/store.py +276 -0
  132. src/extcompat/textmate.py +214 -0
  133. src/extcompat/themes.py +487 -0
  134. src/extcompat/yamlite.py +294 -0
  135. src/fileio.py +94 -0
  136. src/fs_ops.py +106 -0
  137. src/i18n.py +233 -0
  138. src/ia/__init__.py +1 -0
  139. src/ia/actions.py +295 -0
  140. src/ia/approval_gate.py +672 -0
  141. src/ia/checkpoints.py +308 -0
  142. src/ia/context_builder.py +921 -0
  143. src/ia/dialdiff.py +408 -0
  144. src/ia/iaspace.py +2078 -0
  145. src/ia/pair.py +296 -0
  146. src/ia/providers.py +954 -0
  147. src/ia/session.py +335 -0
  148. src/ia/toolbox.py +2524 -0
  149. src/launcher_actions.py +204 -0
  150. src/lint/__init__.py +1 -0
  151. src/lint/manager.py +1058 -0
  152. src/locales/.translate_manifest.json +64170 -0
  153. src/locales/de.json +4936 -0
  154. src/locales/en.json +4936 -0
  155. src/locales/es.json +4936 -0
  156. src/locales/fr.json +4936 -0
  157. src/locales/it.json +4936 -0
  158. src/locales/ja.json +4936 -0
  159. src/locales/ko.json +4936 -0
  160. src/locales/nl.json +4936 -0
  161. src/locales/pl.json +4936 -0
  162. src/locales/pt-BR.json +4936 -0
  163. src/locales/ru.json +4936 -0
  164. src/locales/tr.json +4936 -0
  165. src/locales/uk.json +4936 -0
  166. src/locales/zh-CN.json +4936 -0
  167. src/lsp/__init__.py +26 -0
  168. src/lsp/client.py +2300 -0
  169. src/lsp/dap_client.py +480 -0
  170. src/lsp/edits.py +84 -0
  171. src/lsp/framing.py +73 -0
  172. src/lsp/protocol.py +931 -0
  173. src/main.py +260 -0
  174. src/memtrim.py +91 -0
  175. src/plugins/__init__.py +1 -0
  176. src/plugins/api.py +1761 -0
  177. src/plugins/loader.py +571 -0
  178. src/plugins/process_runner.py +519 -0
  179. src/plugins/registry.py +342 -0
  180. src/plugins/safety.py +367 -0
  181. src/plugins/startup.py +195 -0
  182. src/plugins/store.py +1178 -0
  183. src/proc_registry.py +278 -0
  184. src/pyexec.py +394 -0
  185. src/recovery.py +259 -0
  186. src/stall_trace.py +92 -0
  187. src/standalone.py +1070 -0
  188. src/startup_profile.py +35 -0
  189. src/syntax/__init__.py +1 -0
  190. src/syntax/highlighter.py +776 -0
  191. src/syntax/patterns.py +584 -0
  192. src/system_profile.py +430 -0
  193. src/terminal/backends.py +658 -0
  194. src/terminal/internal.py +346 -0
  195. src/terminal/keys.py +138 -0
  196. src/terminal/palette.py +67 -0
  197. src/terminal/session.py +283 -0
  198. src/terminal/shells.py +79 -0
  199. src/terminal/view.py +489 -0
  200. src/terminal/vt.py +870 -0
  201. src/textfmt.py +22 -0
  202. src/theme/__init__.py +1 -0
  203. src/theme/base.py +1281 -0
  204. src/theme/colors.py +49 -0
  205. src/theme/manager.py +602 -0
  206. src/theme/utils.py +312 -0
  207. src/toolbox.py +329 -0
  208. src/trash_core.py +531 -0
  209. src/ui/__init__.py +1 -0
  210. src/ui/_perf_utils.py +285 -0
  211. src/ui/_persistence_utils.py +93 -0
  212. src/ui/accessibility.py +843 -0
  213. src/ui/activity_bar.py +860 -0
  214. src/ui/app_embed.py +434 -0
  215. src/ui/archive_panel.py +608 -0
  216. src/ui/bookmarks.py +314 -0
  217. src/ui/breadcrumb.py +383 -0
  218. src/ui/calculator_panel.py +982 -0
  219. src/ui/calendar_panel.py +1218 -0
  220. src/ui/chat_panel.py +1271 -0
  221. src/ui/chat_profile_dialog.py +278 -0
  222. src/ui/chat_render.py +128 -0
  223. src/ui/clock_panel.py +810 -0
  224. src/ui/code_outline.py +364 -0
  225. src/ui/code_runner.py +729 -0
  226. src/ui/code_stats.py +546 -0
  227. src/ui/collab_panel.py +1009 -0
  228. src/ui/color_picker.py +547 -0
  229. src/ui/command_palette.py +452 -0
  230. src/ui/cursor_manager.py +750 -0
  231. src/ui/custom_keywords_panel.py +413 -0
  232. src/ui/debug_panel.py +1037 -0
  233. src/ui/dependency_graph.py +692 -0
  234. src/ui/diff_panel.py +381 -0
  235. src/ui/docs_panel.py +514 -0
  236. src/ui/doom_embed.py +349 -0
  237. src/ui/dropdown.py +321 -0
  238. src/ui/easter_eggs.py +979 -0
  239. src/ui/env_manager.py +666 -0
  240. src/ui/extcode_bridge.py +215 -0
  241. src/ui/extcode_dialogs.py +412 -0
  242. src/ui/extcompat_dialog.py +583 -0
  243. src/ui/file_timeline.py +319 -0
  244. src/ui/file_tree.py +1208 -0
  245. src/ui/find_in_files.py +1355 -0
  246. src/ui/flowchart_panel.py +727 -0
  247. src/ui/formatter_panel.py +490 -0
  248. src/ui/git_auth.py +763 -0
  249. src/ui/git_clone_dialog.py +487 -0
  250. src/ui/git_panel.py +1483 -0
  251. src/ui/grab_safe.py +84 -0
  252. src/ui/internal_python_dialog.py +98 -0
  253. src/ui/k_ui/__init__.py +1305 -0
  254. src/ui/k_ui/_bgrenderer.py +317 -0
  255. src/ui/k_ui/_colors.py +213 -0
  256. src/ui/k_ui/_dock.py +545 -0
  257. src/ui/k_ui/_easter.py +290 -0
  258. src/ui/k_ui/_engine.py +5448 -0
  259. src/ui/k_ui/_perf.py +333 -0
  260. src/ui/k_ui/_tkutil.py +7 -0
  261. src/ui/k_ui/_tooltip.py +365 -0
  262. src/ui/k_ui/_widgets.py +1204 -0
  263. src/ui/k_ui/_world.py +837 -0
  264. src/ui/key_remapper.py +856 -0
  265. src/ui/launcher.py +1252 -0
  266. src/ui/lazy_panel.py +73 -0
  267. src/ui/macro_recorder.py +610 -0
  268. src/ui/menu_bar.py +898 -0
  269. src/ui/output_panel.py +321 -0
  270. src/ui/paint_canvas.py +1000 -0
  271. src/ui/paint_engine.py +535 -0
  272. src/ui/paint_panel.py +888 -0
  273. src/ui/panel_detach.py +112 -0
  274. src/ui/performance_panel.py +861 -0
  275. src/ui/pip_manager.py +1758 -0
  276. src/ui/plugin_panel.py +1586 -0
  277. src/ui/pomodoro_panel.py +447 -0
  278. src/ui/problems.py +566 -0
  279. src/ui/process_manager.py +1657 -0
  280. src/ui/project_templates.py +775 -0
  281. src/ui/recovery_dialog.py +122 -0
  282. src/ui/regex_playground.py +304 -0
  283. src/ui/remote_adapters.py +1398 -0
  284. src/ui/remote_browser.py +1224 -0
  285. src/ui/remote_profile_dialog.py +342 -0
  286. src/ui/render_panel.py +1293 -0
  287. src/ui/rest_client.py +549 -0
  288. src/ui/scratchpad.py +548 -0
  289. src/ui/search_bar.py +1274 -0
  290. src/ui/settings_editor.py +3349 -0
  291. src/ui/settings_window.py +1554 -0
  292. src/ui/snippets_panel.py +597 -0
  293. src/ui/sql_studio.py +1815 -0
  294. src/ui/status_bar.py +438 -0
  295. src/ui/tab_bar.py +654 -0
  296. src/ui/task_manager.py +1773 -0
  297. src/ui/terminal.py +525 -0
  298. src/ui/theme_preview_panel.py +851 -0
  299. src/ui/thread_safe_tk.py +152 -0
  300. src/ui/time_tracker.py +574 -0
  301. src/ui/tkbind.py +43 -0
  302. src/ui/todo_panel.py +358 -0
  303. src/ui/toolbox_panels.py +658 -0
  304. src/ui/trash_manager.py +657 -0
  305. src/ui/ui_scale.py +294 -0
  306. src/ui/ux_enhancements.py +41 -0
  307. src/ui/web_preview.py +397 -0
  308. src/ui/webdev.py +630 -0
  309. src/ui/welcome.py +567 -0
  310. src/ui/window_embed.py +1500 -0
  311. src/ui/wizard.py +1550 -0
  312. src/ui/workspace_switcher.py +418 -0
  313. src/ui/workspace_trust.py +370 -0
  314. src/ui/zen_audio.py +354 -0
  315. src/ui/zen_media.py +2271 -0
  316. src/ui/zen_media_client.py +303 -0
  317. src/ui/zen_media_host.py +329 -0
  318. src/ui/zen_player.py +907 -0
  319. src/ui/zen_player_widgets.py +700 -0
  320. src/updater/__init__.py +11 -0
  321. src/updater/assets.py +145 -0
  322. src/updater/backup.py +101 -0
  323. src/updater/channel.py +221 -0
  324. src/updater/dialog.py +492 -0
  325. src/updater/integrity.py +111 -0
  326. src/updater/manager.py +727 -0
  327. src/updater/result.py +114 -0
  328. src/venv_runtime.py +531 -0
  329. src/workspace_state.py +25 -0
src/constants.py ADDED
@@ -0,0 +1,2552 @@
1
+ """Constantes globais e valores padrão do Codis.
2
+
3
+ Define metadados da aplicação (nome, versão, codinome), caminhos de sistema,
4
+ fontes, limites operacionais e a estrutura ``DEFAULT_CONFIG`` com todos os
5
+ valores iniciais de configuração.
6
+ """
7
+
8
+ import sys
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ APP_NAME = "Codis"
13
+ APP_VERSION = "1.1.1"
14
+ APP_CODENAME = "Caelus"
15
+
16
+ REPO_URL = "https://github.com/KillovSky/Codis"
17
+ RELEASES_URL = f"{REPO_URL}/releases"
18
+ DISCORD_URL = "https://discord.gg/ZtN9UH7XZu"
19
+
20
+
21
+ def _resolve_fonts() -> tuple[str, str]:
22
+ """Resolve fontes UI e mono compatíveis com a plataforma atual.
23
+
24
+ - Windows: Segoe UI / Consolas (nativas)
25
+ - macOS: SF Pro / SF Mono -> fallback para system fonts
26
+ - Linux: DejaVu Sans / DejaVu Sans Mono (amplamente disponíveis)
27
+ """
28
+ if sys.platform == "win32":
29
+ return ("Segoe UI", "Consolas")
30
+ if sys.platform == "darwin":
31
+ return ("Helvetica Neue", "Menlo")
32
+ return ("DejaVu Sans", "DejaVu Sans Mono")
33
+
34
+
35
+ FONT_UI, FONT_MONO = _resolve_fonts()
36
+
37
+ # Pastas geradas, de terceiros ou de controle de versão: as ferramentas que varrem o
38
+ # projeto (busca, estatísticas, TODOs e contexto/ferramentas da IA) não entram nelas.
39
+ SKIP_DIRS: frozenset[str] = frozenset(
40
+ {
41
+ ".cargo",
42
+ ".codis_trash",
43
+ ".coverage",
44
+ ".eclipse",
45
+ ".eggs",
46
+ ".env",
47
+ ".git",
48
+ ".gradle",
49
+ ".hg",
50
+ ".idea",
51
+ ".mypy_cache",
52
+ ".next",
53
+ ".nox",
54
+ ".pnp",
55
+ ".pytest_cache",
56
+ ".ruff_cache",
57
+ ".svn",
58
+ ".tox",
59
+ ".venv",
60
+ ".vscode",
61
+ ".yarn",
62
+ "__pycache__",
63
+ "_build",
64
+ "build",
65
+ "coverage",
66
+ "dist",
67
+ "env",
68
+ "node_modules",
69
+ "out",
70
+ "site",
71
+ "target",
72
+ "venv",
73
+ }
74
+ )
75
+ del _resolve_fonts
76
+ FONT_SIZE = 13
77
+ FONT_MIN = 7
78
+ FONT_MAX = 36
79
+
80
+ TAB_SIZE = 4
81
+ WINDOW_SIZE = (1200, 800)
82
+ WINDOW_MIN = (640, 400)
83
+ MAX_RECENT = 20
84
+ LINT_DELAY = 750
85
+ HL_IDLE_MS = 60
86
+
87
+ HL_LINE_LIMIT = 5_000
88
+ HL_FULL_DISABLE = 10_000
89
+
90
+ SANITIZE_INVISIBLE_CHARS: "frozenset[str]" = frozenset(
91
+ {
92
+ "\u200b",
93
+ "\u200c",
94
+ "\u200d",
95
+ "\u200e",
96
+ "\u200f",
97
+ "\u2028",
98
+ "\u2029",
99
+ "\u202a",
100
+ "\u202b",
101
+ "\u202c",
102
+ "\u202d",
103
+ "\u202e",
104
+ "\u2060",
105
+ "\u2061",
106
+ "\u2062",
107
+ "\u2063",
108
+ "\u2064",
109
+ "\ufeff",
110
+ "\u00ad",
111
+ }
112
+ )
113
+
114
+ _SANITIZE_TABLE: "dict[int, None]" = {
115
+ ord(c): None for c in SANITIZE_INVISIBLE_CHARS}
116
+
117
+ MAX_LINE_RENDER_CHARS = 8_000
118
+ LINT_LINE_LIMIT = 8_000
119
+ LSP_LINE_LIMIT = 15_000
120
+ AUTOCOMPLETE_LINE_LIMIT = 12_000
121
+ AUTOCOMPLETE_DELAY = 200
122
+ AUTOCOMPLETE_MIN_CHARS = 1
123
+ AUTOCOMPLETE_MAX_ITEMS = 24
124
+ MINIMAP_WIDTH = 110
125
+ MINIMAP_SCALE = 3
126
+ AUTOSAVE_DEFAULT = 30
127
+ AUTOSAVE_MIN = 5
128
+ AUTOSAVE_MAX = 600
129
+ SEARCH_MAX_RESULTS = 2000
130
+ LARGE_FILE_BYTES = 3 * 1024 * 1024
131
+ LARGE_CODE_BYTES = 200 * 1024
132
+ GIANT_FILE_BYTES = 50 * 1024 * 1024
133
+ VIEWPORT_LINES = 2_000
134
+ VIEWPORT_SHIFT = 500
135
+ VIEWPORT_TRIGGER = 0.18
136
+
137
+ CONFIG_DIR = Path.home() / ".codis"
138
+ CONFIG_FILE = CONFIG_DIR / "config.json"
139
+ PLUGINS_DIR = CONFIG_DIR / "plugins"
140
+ SNIPPETS_DIR = CONFIG_DIR / "snippets"
141
+ THEMES_DIR = CONFIG_DIR / "themes"
142
+ EXTENSIONS_DIR = CONFIG_DIR / "extensions"
143
+ SESSIONS_FILE = CONFIG_DIR / "session.json"
144
+ RECOVERY_DIR = CONFIG_DIR / "recovery"
145
+ KEYBINDINGS_FILE = CONFIG_DIR / "keybindings.json"
146
+
147
+ AUTO_CLOSE: dict[str, str] = {
148
+ "(": ")",
149
+ "[": "]",
150
+ "{": "}",
151
+ '"': '"',
152
+ "'": "'",
153
+ "`": "`",
154
+ }
155
+ AUTO_OPEN: dict[str, str] = {v: k for k, v in AUTO_CLOSE.items()}
156
+
157
+ EXT_LANG: dict[str, str] = {
158
+ ".js": "javascript",
159
+ ".mjs": "javascript",
160
+ ".cjs": "javascript",
161
+ ".jsx": "javascript",
162
+ ".ts": "typescript",
163
+ ".tsx": "typescript",
164
+ ".py": "python",
165
+ ".pyw": "python",
166
+ ".pyi": "python",
167
+ ".html": "html",
168
+ ".htm": "html",
169
+ ".vue": "html",
170
+ ".svelte": "html",
171
+ ".css": "css",
172
+ ".scss": "scss",
173
+ ".less": "less",
174
+ ".json": "json",
175
+ ".jsonc": "json",
176
+ ".json5": "json",
177
+ ".md": "markdown",
178
+ ".mdx": "markdown",
179
+ ".markdown": "markdown",
180
+ ".yml": "yaml",
181
+ ".yaml": "yaml",
182
+ ".xml": "xml",
183
+ ".svg": "xml",
184
+ ".xhtml": "xml",
185
+ ".sql": "sql",
186
+ ".pgsql": "sql",
187
+ ".toml": "toml",
188
+ ".ini": "ini",
189
+ ".cfg": "ini",
190
+ ".env": "ini",
191
+ ".conf": "ini",
192
+ ".txt": "text",
193
+ ".log": "text",
194
+ ".sh": "shell",
195
+ ".bash": "shell",
196
+ ".zsh": "shell",
197
+ ".fish": "shell",
198
+ ".ksh": "shell",
199
+ ".csh": "shell",
200
+ ".tcsh": "shell",
201
+ ".ash": "shell",
202
+ ".ps1": "powershell",
203
+ ".psm1": "powershell",
204
+ ".psd1": "powershell",
205
+ ".bat": "bat",
206
+ ".cmd": "bat",
207
+ ".rs": "rust",
208
+ ".go": "go",
209
+ ".c": "c",
210
+ ".h": "c",
211
+ ".cpp": "cpp",
212
+ ".cc": "cpp",
213
+ ".cxx": "cpp",
214
+ ".hpp": "cpp",
215
+ ".hxx": "cpp",
216
+ ".hh": "cpp",
217
+ ".java": "java",
218
+ ".swift": "swift",
219
+ ".kt": "kotlin",
220
+ ".kts": "kotlin",
221
+ ".rb": "ruby",
222
+ ".erb": "ruby",
223
+ ".rake": "ruby",
224
+ ".gemspec": "ruby",
225
+ ".php": "php",
226
+ ".php3": "php",
227
+ ".php4": "php",
228
+ ".php5": "php",
229
+ ".phtml": "php",
230
+ ".pl": "perl",
231
+ ".pm": "perl",
232
+ ".t": "perl",
233
+ ".pod": "perl",
234
+ ".r": "r",
235
+ ".R": "r",
236
+ ".Rprofile": "r",
237
+ ".jl": "julia",
238
+ ".hs": "haskell",
239
+ ".lhs": "haskell",
240
+ ".ex": "elixir",
241
+ ".exs": "elixir",
242
+ ".erl": "erlang",
243
+ ".hrl": "erlang",
244
+ ".cs": "csharp",
245
+ ".fs": "fsharp",
246
+ ".fsi": "fsharp",
247
+ ".fsx": "fsharp",
248
+ ".vb": "vbnet",
249
+ ".lua": "lua",
250
+ ".groovy": "groovy",
251
+ ".gvy": "groovy",
252
+ ".gy": "groovy",
253
+ ".gsh": "groovy",
254
+ ".scala": "scala",
255
+ ".clj": "clojure",
256
+ ".cljs": "clojure",
257
+ ".cljc": "clojure",
258
+ ".edn": "clojure",
259
+ ".coffee": "coffee",
260
+ ".tf": "hcl",
261
+ ".hcl": "hcl",
262
+ ".proto": "protobuf",
263
+ ".graphql": "graphql",
264
+ ".gql": "graphql",
265
+ ".nix": "nix",
266
+ ".dockerfile": "docker",
267
+ ".Dockerfile": "docker",
268
+ ".makefile": "makefile",
269
+ "Makefile": "makefile",
270
+ }
271
+
272
+ LANG_LABEL: dict[str, str] = {
273
+ "javascript": "JavaScript",
274
+ "typescript": "TypeScript",
275
+ "python": "Python",
276
+ "html": "HTML",
277
+ "css": "CSS",
278
+ "scss": "SCSS",
279
+ "less": "Less",
280
+ "json": "JSON",
281
+ "markdown": "Markdown",
282
+ "yaml": "YAML",
283
+ "shell": "Shell Script",
284
+ "bash": "Bash",
285
+ "powershell": "PowerShell",
286
+ "bat": "Batch",
287
+ "xml": "XML",
288
+ "sql": "SQL",
289
+ "toml": "TOML",
290
+ "ini": "INI / ENV",
291
+ "text": "Plain Text",
292
+ "rust": "Rust",
293
+ "go": "Go",
294
+ "c": "C",
295
+ "cpp": "C++",
296
+ "java": "Java",
297
+ "kotlin": "Kotlin",
298
+ "swift": "Swift",
299
+ "ruby": "Ruby",
300
+ "php": "PHP",
301
+ "lua": "Lua",
302
+ "perl": "Perl",
303
+ "r": "R",
304
+ "julia": "Julia",
305
+ "haskell": "Haskell",
306
+ "elixir": "Elixir",
307
+ "erlang": "Erlang",
308
+ "dart": "Dart",
309
+ "csharp": "C#",
310
+ "fsharp": "F#",
311
+ "vbnet": "VB.NET",
312
+ "groovy": "Groovy",
313
+ "scala": "Scala",
314
+ "clojure": "Clojure",
315
+ "coffee": "CoffeeScript",
316
+ "hcl": "HCL / Terraform",
317
+ "protobuf": "Protocol Buffers",
318
+ "graphql": "GraphQL",
319
+ "nix": "Nix",
320
+ "docker": "Dockerfile",
321
+ "makefile": "Makefile",
322
+ }
323
+
324
+ # Metadados extras registrados por plugins (comment_block, bracket_pairs, indent_rules, lsp_command).
325
+ LANG_META: dict[str, dict] = {}
326
+
327
+ LANG_COMMENT: dict[str, str] = {
328
+ "python": "#",
329
+ "javascript": "//",
330
+ "typescript": "//",
331
+ "css": "/*",
332
+ "json": "//",
333
+ "yaml": "#",
334
+ "shell": "#",
335
+ "toml": "#",
336
+ "ini": ";",
337
+ "sql": "--",
338
+ "rust": "//",
339
+ "go": "//",
340
+ "c": "//",
341
+ "cpp": "//",
342
+ "java": "//",
343
+ "kotlin": "//",
344
+ "swift": "//",
345
+ "ruby": "#",
346
+ "php": "//",
347
+ "lua": "--",
348
+ "perl": "#",
349
+ "r": "#",
350
+ "julia": "#",
351
+ "haskell": "--",
352
+ "elixir": "#",
353
+ "erlang": "%",
354
+ "dart": "//",
355
+ "csharp": "//",
356
+ "fsharp": "//",
357
+ "vbnet": "'",
358
+ "groovy": "//",
359
+ "scala": "//",
360
+ "clojure": ";",
361
+ "coffee": "#",
362
+ "graphql": "#",
363
+ }
364
+
365
+ LINT_JS = {"javascript", "typescript", "jsx",
366
+ "tsx", "vue", "svelte", "mjs", "cjs"}
367
+ LINT_PY = {"python"}
368
+ LINT_CSS = {"css", "scss", "less"}
369
+ LINT_HTML = {"html", "xml", "svg"}
370
+ LINT_PHP = {"php"}
371
+ FORMAT_LANGS = {
372
+ "javascript",
373
+ "typescript",
374
+ "json",
375
+ "css",
376
+ "scss",
377
+ "html",
378
+ "markdown",
379
+ "python",
380
+ "go",
381
+ "rust",
382
+ "swift",
383
+ "kotlin",
384
+ "dart",
385
+ "csharp",
386
+ "ruby",
387
+ "php",
388
+ "scala",
389
+ "groovy",
390
+ "haskell",
391
+ "elixir",
392
+ }
393
+
394
+ LANG_KEYWORDS: dict[str, list[str]] = {
395
+ "javascript": [
396
+ "async",
397
+ "await",
398
+ "break",
399
+ "case",
400
+ "catch",
401
+ "class",
402
+ "const",
403
+ "continue",
404
+ "debugger",
405
+ "default",
406
+ "delete",
407
+ "do",
408
+ "else",
409
+ "export",
410
+ "extends",
411
+ "finally",
412
+ "for",
413
+ "from",
414
+ "function",
415
+ "if",
416
+ "import",
417
+ "in",
418
+ "instanceof",
419
+ "let",
420
+ "new",
421
+ "of",
422
+ "return",
423
+ "static",
424
+ "super",
425
+ "switch",
426
+ "throw",
427
+ "try",
428
+ "typeof",
429
+ "var",
430
+ "void",
431
+ "while",
432
+ "with",
433
+ "yield",
434
+ "console",
435
+ "Promise",
436
+ "Array",
437
+ "Object",
438
+ "String",
439
+ "Number",
440
+ "Boolean",
441
+ "Symbol",
442
+ "BigInt",
443
+ "undefined",
444
+ "null",
445
+ "true",
446
+ "false",
447
+ "NaN",
448
+ "Infinity",
449
+ "globalThis",
450
+ "setTimeout",
451
+ "setInterval",
452
+ "clearTimeout",
453
+ "clearInterval",
454
+ "fetch",
455
+ "require",
456
+ "module",
457
+ "exports",
458
+ "process",
459
+ "window",
460
+ "document",
461
+ "navigator",
462
+ "location",
463
+ "history",
464
+ "addEventListener",
465
+ "removeEventListener",
466
+ "querySelector",
467
+ "getElementById",
468
+ "JSON",
469
+ "Math",
470
+ "Date",
471
+ "Error",
472
+ "Map",
473
+ "Set",
474
+ "WeakMap",
475
+ "WeakRef",
476
+ "Proxy",
477
+ "Reflect",
478
+ "Intl",
479
+ "performance",
480
+ "crypto",
481
+ "URL",
482
+ "URLSearchParams",
483
+ ],
484
+ "typescript": [
485
+ "async",
486
+ "await",
487
+ "break",
488
+ "case",
489
+ "catch",
490
+ "class",
491
+ "const",
492
+ "continue",
493
+ "default",
494
+ "delete",
495
+ "do",
496
+ "else",
497
+ "export",
498
+ "extends",
499
+ "finally",
500
+ "for",
501
+ "from",
502
+ "function",
503
+ "if",
504
+ "import",
505
+ "in",
506
+ "instanceof",
507
+ "let",
508
+ "new",
509
+ "of",
510
+ "return",
511
+ "static",
512
+ "super",
513
+ "switch",
514
+ "throw",
515
+ "try",
516
+ "typeof",
517
+ "var",
518
+ "void",
519
+ "while",
520
+ "with",
521
+ "yield",
522
+ "interface",
523
+ "type",
524
+ "enum",
525
+ "namespace",
526
+ "declare",
527
+ "abstract",
528
+ "implements",
529
+ "readonly",
530
+ "keyof",
531
+ "infer",
532
+ "is",
533
+ "as",
534
+ "satisfies",
535
+ "override",
536
+ "accessor",
537
+ "using",
538
+ "any",
539
+ "string",
540
+ "number",
541
+ "boolean",
542
+ "never",
543
+ "unknown",
544
+ "object",
545
+ "symbol",
546
+ "bigint",
547
+ "null",
548
+ "undefined",
549
+ "true",
550
+ "false",
551
+ "Record",
552
+ "Partial",
553
+ "Required",
554
+ "Readonly",
555
+ "Pick",
556
+ "Omit",
557
+ "Exclude",
558
+ "Extract",
559
+ "NonNullable",
560
+ "ReturnType",
561
+ "Parameters",
562
+ "ConstructorParameters",
563
+ "InstanceType",
564
+ "ThisType",
565
+ "Awaited",
566
+ "Tuple",
567
+ ],
568
+ "python": [
569
+ "and",
570
+ "as",
571
+ "assert",
572
+ "async",
573
+ "await",
574
+ "break",
575
+ "class",
576
+ "continue",
577
+ "def",
578
+ "del",
579
+ "elif",
580
+ "else",
581
+ "except",
582
+ "finally",
583
+ "for",
584
+ "from",
585
+ "global",
586
+ "if",
587
+ "import",
588
+ "in",
589
+ "is",
590
+ "lambda",
591
+ "nonlocal",
592
+ "not",
593
+ "or",
594
+ "pass",
595
+ "raise",
596
+ "return",
597
+ "try",
598
+ "while",
599
+ "with",
600
+ "yield",
601
+ "print",
602
+ "len",
603
+ "range",
604
+ "enumerate",
605
+ "zip",
606
+ "map",
607
+ "filter",
608
+ "sorted",
609
+ "reversed",
610
+ "list",
611
+ "dict",
612
+ "set",
613
+ "tuple",
614
+ "str",
615
+ "int",
616
+ "float",
617
+ "complex",
618
+ "bool",
619
+ "bytes",
620
+ "bytearray",
621
+ "memoryview",
622
+ "type",
623
+ "isinstance",
624
+ "issubclass",
625
+ "hasattr",
626
+ "getattr",
627
+ "setattr",
628
+ "delattr",
629
+ "super",
630
+ "property",
631
+ "staticmethod",
632
+ "classmethod",
633
+ "abstractmethod",
634
+ "True",
635
+ "False",
636
+ "None",
637
+ "self",
638
+ "cls",
639
+ "__init__",
640
+ "__repr__",
641
+ "__str__",
642
+ "__len__",
643
+ "__getitem__",
644
+ "__setitem__",
645
+ "__iter__",
646
+ "__next__",
647
+ "__enter__",
648
+ "__exit__",
649
+ "__call__",
650
+ "__class__",
651
+ "__name__",
652
+ "__doc__",
653
+ "__file__",
654
+ "__all__",
655
+ "__slots__",
656
+ "__dict__",
657
+ "__module__",
658
+ "__annotations__",
659
+ "open",
660
+ "close",
661
+ "read",
662
+ "write",
663
+ "readline",
664
+ "readlines",
665
+ "os",
666
+ "sys",
667
+ "re",
668
+ "json",
669
+ "math",
670
+ "random",
671
+ "time",
672
+ "datetime",
673
+ "pathlib",
674
+ "threading",
675
+ "subprocess",
676
+ "logging",
677
+ "typing",
678
+ "dataclasses",
679
+ "functools",
680
+ "itertools",
681
+ "collections",
682
+ "abc",
683
+ "contextlib",
684
+ "io",
685
+ "copy",
686
+ "pickle",
687
+ ],
688
+ "html": [
689
+ "div",
690
+ "span",
691
+ "p",
692
+ "a",
693
+ "img",
694
+ "ul",
695
+ "ol",
696
+ "li",
697
+ "table",
698
+ "tr",
699
+ "td",
700
+ "th",
701
+ "thead",
702
+ "tbody",
703
+ "tfoot",
704
+ "form",
705
+ "input",
706
+ "button",
707
+ "select",
708
+ "option",
709
+ "textarea",
710
+ "label",
711
+ "h1",
712
+ "h2",
713
+ "h3",
714
+ "h4",
715
+ "h5",
716
+ "h6",
717
+ "header",
718
+ "footer",
719
+ "nav",
720
+ "main",
721
+ "section",
722
+ "article",
723
+ "aside",
724
+ "figure",
725
+ "figcaption",
726
+ "canvas",
727
+ "svg",
728
+ "video",
729
+ "audio",
730
+ "source",
731
+ "track",
732
+ "iframe",
733
+ "embed",
734
+ "template",
735
+ "slot",
736
+ "dialog",
737
+ "details",
738
+ "summary",
739
+ "progress",
740
+ "meter",
741
+ "script",
742
+ "style",
743
+ "link",
744
+ "meta",
745
+ "head",
746
+ "body",
747
+ "html",
748
+ "title",
749
+ "base",
750
+ "class",
751
+ "id",
752
+ "href",
753
+ "src",
754
+ "alt",
755
+ "type",
756
+ "name",
757
+ "value",
758
+ "placeholder",
759
+ "onclick",
760
+ "onchange",
761
+ "onsubmit",
762
+ "style",
763
+ "data-",
764
+ "aria-",
765
+ "role",
766
+ "tabindex",
767
+ "disabled",
768
+ "required",
769
+ "checked",
770
+ "selected",
771
+ "multiple",
772
+ "action",
773
+ "method",
774
+ "enctype",
775
+ "target",
776
+ "rel",
777
+ "media",
778
+ "charset",
779
+ ],
780
+ "css": [
781
+ "color",
782
+ "background",
783
+ "background-color",
784
+ "background-image",
785
+ "background-gradient",
786
+ "font-size",
787
+ "font-family",
788
+ "font-weight",
789
+ "font-style",
790
+ "font-variant",
791
+ "line-height",
792
+ "letter-spacing",
793
+ "margin",
794
+ "margin-top",
795
+ "margin-right",
796
+ "margin-bottom",
797
+ "margin-left",
798
+ "padding",
799
+ "padding-top",
800
+ "padding-right",
801
+ "padding-bottom",
802
+ "padding-left",
803
+ "border",
804
+ "border-radius",
805
+ "border-width",
806
+ "border-color",
807
+ "border-style",
808
+ "display",
809
+ "flex",
810
+ "grid",
811
+ "flexbox",
812
+ "position",
813
+ "top",
814
+ "left",
815
+ "right",
816
+ "bottom",
817
+ "width",
818
+ "height",
819
+ "max-width",
820
+ "min-width",
821
+ "max-height",
822
+ "min-height",
823
+ "overflow",
824
+ "overflow-x",
825
+ "overflow-y",
826
+ "z-index",
827
+ "opacity",
828
+ "visibility",
829
+ "transform",
830
+ "transition",
831
+ "animation",
832
+ "box-shadow",
833
+ "text-shadow",
834
+ "text-align",
835
+ "justify-content",
836
+ "align-items",
837
+ "align-content",
838
+ "flex-direction",
839
+ "flex-wrap",
840
+ "flex-grow",
841
+ "flex-shrink",
842
+ "flex-basis",
843
+ "gap",
844
+ "row-gap",
845
+ "column-gap",
846
+ "cursor",
847
+ "pointer-events",
848
+ "user-select",
849
+ "content",
850
+ "outline",
851
+ "resize",
852
+ "object-fit",
853
+ "object-position",
854
+ "var",
855
+ "calc",
856
+ "rgb",
857
+ "rgba",
858
+ "hsl",
859
+ "hsla",
860
+ "linear-gradient",
861
+ "radial-gradient",
862
+ "conic-gradient",
863
+ "clamp",
864
+ "min",
865
+ "max",
866
+ "env",
867
+ "attr",
868
+ ],
869
+ "rust": [
870
+ "as",
871
+ "async",
872
+ "await",
873
+ "break",
874
+ "const",
875
+ "continue",
876
+ "crate",
877
+ "dyn",
878
+ "else",
879
+ "enum",
880
+ "extern",
881
+ "false",
882
+ "fn",
883
+ "for",
884
+ "if",
885
+ "impl",
886
+ "in",
887
+ "let",
888
+ "loop",
889
+ "match",
890
+ "mod",
891
+ "move",
892
+ "mut",
893
+ "pub",
894
+ "ref",
895
+ "return",
896
+ "self",
897
+ "Self",
898
+ "static",
899
+ "struct",
900
+ "super",
901
+ "trait",
902
+ "true",
903
+ "type",
904
+ "union",
905
+ "unsafe",
906
+ "use",
907
+ "where",
908
+ "while",
909
+ "i8",
910
+ "i16",
911
+ "i32",
912
+ "i64",
913
+ "i128",
914
+ "isize",
915
+ "u8",
916
+ "u16",
917
+ "u32",
918
+ "u64",
919
+ "u128",
920
+ "usize",
921
+ "f32",
922
+ "f64",
923
+ "bool",
924
+ "char",
925
+ "str",
926
+ "String",
927
+ "Vec",
928
+ "HashMap",
929
+ "HashSet",
930
+ "BTreeMap",
931
+ "Option",
932
+ "Result",
933
+ "Box",
934
+ "Rc",
935
+ "Arc",
936
+ "Cell",
937
+ "RefCell",
938
+ "Some",
939
+ "None",
940
+ "Ok",
941
+ "Err",
942
+ "panic",
943
+ "println",
944
+ "eprintln",
945
+ "format",
946
+ "assert",
947
+ "assert_eq",
948
+ "assert_ne",
949
+ "todo",
950
+ "unimplemented",
951
+ "unreachable",
952
+ "dbg",
953
+ ],
954
+ "go": [
955
+ "break",
956
+ "case",
957
+ "chan",
958
+ "const",
959
+ "continue",
960
+ "default",
961
+ "defer",
962
+ "else",
963
+ "fallthrough",
964
+ "for",
965
+ "func",
966
+ "go",
967
+ "goto",
968
+ "if",
969
+ "import",
970
+ "interface",
971
+ "map",
972
+ "package",
973
+ "range",
974
+ "return",
975
+ "select",
976
+ "struct",
977
+ "switch",
978
+ "type",
979
+ "var",
980
+ "true",
981
+ "false",
982
+ "nil",
983
+ "iota",
984
+ "make",
985
+ "new",
986
+ "len",
987
+ "cap",
988
+ "append",
989
+ "copy",
990
+ "delete",
991
+ "close",
992
+ "panic",
993
+ "recover",
994
+ "print",
995
+ "println",
996
+ "error",
997
+ "string",
998
+ "int",
999
+ "int8",
1000
+ "int16",
1001
+ "int32",
1002
+ "int64",
1003
+ "uint",
1004
+ "uint8",
1005
+ "uint16",
1006
+ "uint32",
1007
+ "uint64",
1008
+ "uintptr",
1009
+ "float32",
1010
+ "float64",
1011
+ "complex64",
1012
+ "complex128",
1013
+ "bool",
1014
+ "byte",
1015
+ "rune",
1016
+ "any",
1017
+ "comparable",
1018
+ "fmt",
1019
+ "os",
1020
+ "io",
1021
+ "log",
1022
+ "time",
1023
+ "sync",
1024
+ "context",
1025
+ "net",
1026
+ "http",
1027
+ "json",
1028
+ "math",
1029
+ "sort",
1030
+ "strings",
1031
+ "strconv",
1032
+ ],
1033
+ "swift": [
1034
+ "class",
1035
+ "struct",
1036
+ "enum",
1037
+ "func",
1038
+ "var",
1039
+ "let",
1040
+ "if",
1041
+ "else",
1042
+ "for",
1043
+ "while",
1044
+ "repeat",
1045
+ "switch",
1046
+ "case",
1047
+ "default",
1048
+ "break",
1049
+ "continue",
1050
+ "return",
1051
+ "guard",
1052
+ "defer",
1053
+ "in",
1054
+ "is",
1055
+ "as",
1056
+ "as?",
1057
+ "as!",
1058
+ "try",
1059
+ "catch",
1060
+ "throw",
1061
+ "throws",
1062
+ "rethrows",
1063
+ "where",
1064
+ "protocol",
1065
+ "extension",
1066
+ "init",
1067
+ "deinit",
1068
+ "subscript",
1069
+ "convenience",
1070
+ "dynamic",
1071
+ "final",
1072
+ "lazy",
1073
+ "required",
1074
+ "optional",
1075
+ "override",
1076
+ "mutating",
1077
+ "nonmutating",
1078
+ "weak",
1079
+ "unowned",
1080
+ "static",
1081
+ "public",
1082
+ "private",
1083
+ "internal",
1084
+ "fileprivate",
1085
+ "open",
1086
+ "import",
1087
+ "typealias",
1088
+ "associatedtype",
1089
+ "operator",
1090
+ "precedencegroup",
1091
+ "true",
1092
+ "false",
1093
+ "nil",
1094
+ "self",
1095
+ "super",
1096
+ "#available",
1097
+ "#colorLiteral",
1098
+ "#file",
1099
+ "#fileLiteral",
1100
+ "#function",
1101
+ "#imageLiteral",
1102
+ "#line",
1103
+ "#selector",
1104
+ "#sourceLocation",
1105
+ "#warning",
1106
+ "#error",
1107
+ "Any",
1108
+ "AnyObject",
1109
+ "Array",
1110
+ "Dictionary",
1111
+ "Set",
1112
+ "Optional",
1113
+ ],
1114
+ "kotlin": [
1115
+ "fun",
1116
+ "val",
1117
+ "var",
1118
+ "class",
1119
+ "object",
1120
+ "interface",
1121
+ "enum",
1122
+ "data",
1123
+ "sealed",
1124
+ "abstract",
1125
+ "override",
1126
+ "open",
1127
+ "final",
1128
+ "lateinit",
1129
+ "init",
1130
+ "constructor",
1131
+ "by",
1132
+ "lazy",
1133
+ "delegate",
1134
+ "get",
1135
+ "set",
1136
+ "field",
1137
+ "property",
1138
+ "import",
1139
+ "package",
1140
+ "as",
1141
+ "as?",
1142
+ "is",
1143
+ "!is",
1144
+ "in",
1145
+ "!in",
1146
+ "when",
1147
+ "if",
1148
+ "else",
1149
+ "for",
1150
+ "while",
1151
+ "do",
1152
+ "break",
1153
+ "continue",
1154
+ "return",
1155
+ "throw",
1156
+ "try",
1157
+ "catch",
1158
+ "finally",
1159
+ "typealias",
1160
+ "typeof",
1161
+ "where",
1162
+ "annotation",
1163
+ "suspend",
1164
+ "tailrec",
1165
+ "operator",
1166
+ "infix",
1167
+ "inline",
1168
+ "noinline",
1169
+ "crossinline",
1170
+ "external",
1171
+ "internal",
1172
+ "private",
1173
+ "protected",
1174
+ "public",
1175
+ "const",
1176
+ "vararg",
1177
+ "reified",
1178
+ "expect",
1179
+ "actual",
1180
+ "companion",
1181
+ "init",
1182
+ "this",
1183
+ "super",
1184
+ "null",
1185
+ "true",
1186
+ "false",
1187
+ "Unit",
1188
+ "Nothing",
1189
+ "Any",
1190
+ "Any?",
1191
+ "String",
1192
+ "Int",
1193
+ "Double",
1194
+ "Float",
1195
+ "Long",
1196
+ "Short",
1197
+ "Byte",
1198
+ "Boolean",
1199
+ "Char",
1200
+ "Array",
1201
+ "List",
1202
+ "MutableList",
1203
+ "Set",
1204
+ "MutableSet",
1205
+ "Map",
1206
+ "MutableMap",
1207
+ ],
1208
+ "ruby": [
1209
+ "alias",
1210
+ "and",
1211
+ "begin",
1212
+ "break",
1213
+ "case",
1214
+ "class",
1215
+ "def",
1216
+ "defined?",
1217
+ "do",
1218
+ "else",
1219
+ "elsif",
1220
+ "end",
1221
+ "ensure",
1222
+ "false",
1223
+ "for",
1224
+ "if",
1225
+ "in",
1226
+ "module",
1227
+ "next",
1228
+ "nil",
1229
+ "not",
1230
+ "or",
1231
+ "redo",
1232
+ "rescue",
1233
+ "retry",
1234
+ "return",
1235
+ "self",
1236
+ "super",
1237
+ "then",
1238
+ "true",
1239
+ "undef",
1240
+ "unless",
1241
+ "until",
1242
+ "when",
1243
+ "while",
1244
+ "yield",
1245
+ "__ENCODING__",
1246
+ "__LINE__",
1247
+ "__FILE__",
1248
+ "BEGIN",
1249
+ "END",
1250
+ "alias_method",
1251
+ "attr_reader",
1252
+ "attr_writer",
1253
+ "attr_accessor",
1254
+ "include",
1255
+ "prepend",
1256
+ "extend",
1257
+ "require",
1258
+ "load",
1259
+ "autoload",
1260
+ "private",
1261
+ "protected",
1262
+ "public",
1263
+ "module_function",
1264
+ "private_constant",
1265
+ "public_constant",
1266
+ "attr",
1267
+ ],
1268
+ "php": [
1269
+ "__halt_compiler",
1270
+ "abstract",
1271
+ "and",
1272
+ "array",
1273
+ "as",
1274
+ "break",
1275
+ "callable",
1276
+ "case",
1277
+ "catch",
1278
+ "class",
1279
+ "clone",
1280
+ "const",
1281
+ "continue",
1282
+ "declare",
1283
+ "default",
1284
+ "die",
1285
+ "do",
1286
+ "echo",
1287
+ "else",
1288
+ "elseif",
1289
+ "empty",
1290
+ "enddeclare",
1291
+ "endfor",
1292
+ "endforeach",
1293
+ "endif",
1294
+ "endswitch",
1295
+ "endwhile",
1296
+ "eval",
1297
+ "exit",
1298
+ "extends",
1299
+ "final",
1300
+ "finally",
1301
+ "fn",
1302
+ "for",
1303
+ "foreach",
1304
+ "function",
1305
+ "global",
1306
+ "goto",
1307
+ "if",
1308
+ "implements",
1309
+ "include",
1310
+ "include_once",
1311
+ "instanceof",
1312
+ "insteadof",
1313
+ "interface",
1314
+ "isset",
1315
+ "list",
1316
+ "match",
1317
+ "namespace",
1318
+ "new",
1319
+ "or",
1320
+ "print",
1321
+ "private",
1322
+ "protected",
1323
+ "public",
1324
+ "require",
1325
+ "require_once",
1326
+ "return",
1327
+ "static",
1328
+ "switch",
1329
+ "throw",
1330
+ "trait",
1331
+ "try",
1332
+ "unset",
1333
+ "use",
1334
+ "var",
1335
+ "while",
1336
+ "xor",
1337
+ "yield",
1338
+ "yield from",
1339
+ "__CLASS__",
1340
+ "__DIR__",
1341
+ "__FILE__",
1342
+ "__FUNCTION__",
1343
+ "__LINE__",
1344
+ "__METHOD__",
1345
+ "__NAMESPACE__",
1346
+ "__TRAIT__",
1347
+ "true",
1348
+ "false",
1349
+ "null",
1350
+ "parent",
1351
+ "self",
1352
+ ],
1353
+ "perl": [
1354
+ "if",
1355
+ "unless",
1356
+ "else",
1357
+ "elsif",
1358
+ "for",
1359
+ "foreach",
1360
+ "while",
1361
+ "until",
1362
+ "do",
1363
+ "continue",
1364
+ "last",
1365
+ "next",
1366
+ "redo",
1367
+ "goto",
1368
+ "return",
1369
+ "die",
1370
+ "warn",
1371
+ "exit",
1372
+ "eval",
1373
+ "sub",
1374
+ "my",
1375
+ "our",
1376
+ "local",
1377
+ "state",
1378
+ "package",
1379
+ "use",
1380
+ "require",
1381
+ "no",
1382
+ "import",
1383
+ "format",
1384
+ "formline",
1385
+ "sort",
1386
+ "map",
1387
+ "grep",
1388
+ "defined",
1389
+ "undef",
1390
+ "scalar",
1391
+ "wantarray",
1392
+ "want",
1393
+ "caller",
1394
+ "bless",
1395
+ "tie",
1396
+ "untie",
1397
+ "ref",
1398
+ "bless",
1399
+ "open",
1400
+ "close",
1401
+ "flock",
1402
+ "seek",
1403
+ "sysseek",
1404
+ "tell",
1405
+ "print",
1406
+ "printf",
1407
+ "sprintf",
1408
+ "write",
1409
+ "say",
1410
+ "chomp",
1411
+ "chop",
1412
+ "chr",
1413
+ "crypt",
1414
+ "hex",
1415
+ "index",
1416
+ "lc",
1417
+ "lcfirst",
1418
+ "length",
1419
+ "oct",
1420
+ "ord",
1421
+ "pack",
1422
+ "reverse",
1423
+ "rindex",
1424
+ "sprintf",
1425
+ "substr",
1426
+ "uc",
1427
+ "ucfirst",
1428
+ "pos",
1429
+ "quotemeta",
1430
+ "split",
1431
+ "join",
1432
+ "keys",
1433
+ "values",
1434
+ "each",
1435
+ "pop",
1436
+ "push",
1437
+ "shift",
1438
+ "unshift",
1439
+ "splice",
1440
+ "exists",
1441
+ "delete",
1442
+ "defined",
1443
+ "undef",
1444
+ "q",
1445
+ "qq",
1446
+ "qw",
1447
+ "qx",
1448
+ "tr",
1449
+ "y",
1450
+ "s",
1451
+ "m",
1452
+ "qr",
1453
+ ],
1454
+ "r": [
1455
+ "if",
1456
+ "else",
1457
+ "repeat",
1458
+ "while",
1459
+ "function",
1460
+ "for",
1461
+ "in",
1462
+ "next",
1463
+ "break",
1464
+ "TRUE",
1465
+ "FALSE",
1466
+ "NULL",
1467
+ "Inf",
1468
+ "NaN",
1469
+ "NA",
1470
+ "NA_integer_",
1471
+ "NA_real_",
1472
+ "NA_complex_",
1473
+ "NA_character_",
1474
+ "...",
1475
+ "..1",
1476
+ "..2",
1477
+ "library",
1478
+ "require",
1479
+ "source",
1480
+ "setwd",
1481
+ "getwd",
1482
+ "install.packages",
1483
+ "update.packages",
1484
+ "data",
1485
+ "head",
1486
+ "tail",
1487
+ "summary",
1488
+ "str",
1489
+ "plot",
1490
+ "ggplot",
1491
+ "lm",
1492
+ "glm",
1493
+ "t.test",
1494
+ "chisq.test",
1495
+ "mean",
1496
+ "median",
1497
+ "sd",
1498
+ "var",
1499
+ "cor",
1500
+ "cov",
1501
+ "matrix",
1502
+ "array",
1503
+ "data.frame",
1504
+ "list",
1505
+ "factor",
1506
+ "c",
1507
+ "seq",
1508
+ "rep",
1509
+ "paste",
1510
+ "paste0",
1511
+ "substr",
1512
+ "grep",
1513
+ "grepl",
1514
+ "regexpr",
1515
+ "gregexpr",
1516
+ ],
1517
+ "julia": [
1518
+ "function",
1519
+ "end",
1520
+ "if",
1521
+ "else",
1522
+ "elseif",
1523
+ "while",
1524
+ "for",
1525
+ "begin",
1526
+ "let",
1527
+ "try",
1528
+ "catch",
1529
+ "finally",
1530
+ "return",
1531
+ "break",
1532
+ "continue",
1533
+ "global",
1534
+ "local",
1535
+ "const",
1536
+ "export",
1537
+ "import",
1538
+ "using",
1539
+ "module",
1540
+ "baremodule",
1541
+ "importall",
1542
+ "macro",
1543
+ "quote",
1544
+ "abstract",
1545
+ "type",
1546
+ "mutable",
1547
+ "immutable",
1548
+ "struct",
1549
+ "outer",
1550
+ "in",
1551
+ "isa",
1552
+ "where",
1553
+ "true",
1554
+ "false",
1555
+ "nothing",
1556
+ "missing",
1557
+ "undef",
1558
+ "Inf",
1559
+ "NaN",
1560
+ "π",
1561
+ "println",
1562
+ "print",
1563
+ "@printf",
1564
+ "@sprintf",
1565
+ "@time",
1566
+ "map",
1567
+ "filter",
1568
+ "reduce",
1569
+ "sum",
1570
+ "prod",
1571
+ "minimum",
1572
+ "maximum",
1573
+ "length",
1574
+ "size",
1575
+ "eltype",
1576
+ "keys",
1577
+ "values",
1578
+ "haskey",
1579
+ "get",
1580
+ "setindex!",
1581
+ "push!",
1582
+ "pop!",
1583
+ "append!",
1584
+ "prepend!",
1585
+ "splice!",
1586
+ "deleteat!",
1587
+ "insert!",
1588
+ ],
1589
+ "haskell": [
1590
+ "case",
1591
+ "class",
1592
+ "data",
1593
+ "default",
1594
+ "deriving",
1595
+ "do",
1596
+ "else",
1597
+ "foreign",
1598
+ "if",
1599
+ "import",
1600
+ "in",
1601
+ "infix",
1602
+ "infixl",
1603
+ "infixr",
1604
+ "instance",
1605
+ "let",
1606
+ "module",
1607
+ "newtype",
1608
+ "of",
1609
+ "then",
1610
+ "type",
1611
+ "where",
1612
+ "_",
1613
+ "as",
1614
+ "hiding",
1615
+ "qualified",
1616
+ "safe",
1617
+ "unsafe",
1618
+ "proc",
1619
+ "rec",
1620
+ "forall",
1621
+ "mdo",
1622
+ "family",
1623
+ "pattern",
1624
+ "role",
1625
+ "standalone",
1626
+ "deriving",
1627
+ "via",
1628
+ "stock",
1629
+ "anyclass",
1630
+ "newtype",
1631
+ "generic",
1632
+ "c",
1633
+ "stdlib",
1634
+ "primitive",
1635
+ ],
1636
+ "elixir": [
1637
+ "def",
1638
+ "defp",
1639
+ "defmodule",
1640
+ "defmacro",
1641
+ "defmacrop",
1642
+ "defdelegate",
1643
+ "defcallback",
1644
+ "defexception",
1645
+ "defstruct",
1646
+ "defprotocol",
1647
+ "defimpl",
1648
+ "defoverridable",
1649
+ "defrecord",
1650
+ "defrecordp",
1651
+ "defnode",
1652
+ "defcode",
1653
+ "defspec",
1654
+ "defrequire",
1655
+ "use",
1656
+ "import",
1657
+ "alias",
1658
+ "require",
1659
+ "try",
1660
+ "catch",
1661
+ "rescue",
1662
+ "after",
1663
+ "else",
1664
+ "case",
1665
+ "cond",
1666
+ "if",
1667
+ "unless",
1668
+ "for",
1669
+ "with",
1670
+ "receive",
1671
+ "after",
1672
+ "when",
1673
+ "and",
1674
+ "or",
1675
+ "not",
1676
+ "in",
1677
+ "not in",
1678
+ "fn",
1679
+ "do",
1680
+ "end",
1681
+ "true",
1682
+ "false",
1683
+ "nil",
1684
+ "__MODULE__",
1685
+ "__DIR__",
1686
+ "__ENV__",
1687
+ "__CALLER__",
1688
+ "__STACKTRACE__",
1689
+ "__aliases__",
1690
+ ],
1691
+ "erlang": [
1692
+ "after",
1693
+ "begin",
1694
+ "case",
1695
+ "catch",
1696
+ "cond",
1697
+ "end",
1698
+ "fun",
1699
+ "if",
1700
+ "let",
1701
+ "of",
1702
+ "query",
1703
+ "receive",
1704
+ "try",
1705
+ "when",
1706
+ "and",
1707
+ "andalso",
1708
+ "band",
1709
+ "bor",
1710
+ "bsl",
1711
+ "bsr",
1712
+ "bxor",
1713
+ "div",
1714
+ "not",
1715
+ "or",
1716
+ "orelse",
1717
+ "rem",
1718
+ "xor",
1719
+ "?",
1720
+ "spawn",
1721
+ "spawn_link",
1722
+ "spawn_monitor",
1723
+ "send",
1724
+ "receive",
1725
+ "after",
1726
+ "self",
1727
+ "exit",
1728
+ "throw",
1729
+ "catch",
1730
+ "error",
1731
+ "is_atom",
1732
+ "is_binary",
1733
+ "is_bitstring",
1734
+ "is_boolean",
1735
+ "is_float",
1736
+ "is_function",
1737
+ "is_integer",
1738
+ "is_list",
1739
+ "is_map",
1740
+ "is_number",
1741
+ "is_pid",
1742
+ "is_port",
1743
+ "is_record",
1744
+ "is_reference",
1745
+ "is_tuple",
1746
+ "atom_to_list",
1747
+ "binary_to_list",
1748
+ "bitstring_to_list",
1749
+ "float_to_list",
1750
+ "integer_to_list",
1751
+ "list_to_atom",
1752
+ "list_to_binary",
1753
+ "list_to_bitstring",
1754
+ "list_to_float",
1755
+ "list_to_integer",
1756
+ "list_to_pid",
1757
+ "list_to_tuple",
1758
+ "pid_to_list",
1759
+ "tuple_to_list",
1760
+ ],
1761
+ "dart": [
1762
+ "abstract",
1763
+ "as",
1764
+ "assert",
1765
+ "async",
1766
+ "await",
1767
+ "break",
1768
+ "case",
1769
+ "catch",
1770
+ "class",
1771
+ "const",
1772
+ "continue",
1773
+ "covariant",
1774
+ "default",
1775
+ "deferred",
1776
+ "do",
1777
+ "dynamic",
1778
+ "else",
1779
+ "enum",
1780
+ "export",
1781
+ "extends",
1782
+ "extension",
1783
+ "external",
1784
+ "factory",
1785
+ "false",
1786
+ "final",
1787
+ "finally",
1788
+ "for",
1789
+ "Function",
1790
+ "get",
1791
+ "hide",
1792
+ "if",
1793
+ "implements",
1794
+ "import",
1795
+ "in",
1796
+ "interface",
1797
+ "is",
1798
+ "late",
1799
+ "library",
1800
+ "mixin",
1801
+ "new",
1802
+ "null",
1803
+ "on",
1804
+ "operator",
1805
+ "part",
1806
+ "required",
1807
+ "rethrow",
1808
+ "return",
1809
+ "set",
1810
+ "show",
1811
+ "static",
1812
+ "super",
1813
+ "switch",
1814
+ "sync",
1815
+ "this",
1816
+ "throw",
1817
+ "true",
1818
+ "try",
1819
+ "typedef",
1820
+ "var",
1821
+ "void",
1822
+ "while",
1823
+ "with",
1824
+ "yield",
1825
+ ],
1826
+ "csharp": [
1827
+ "abstract",
1828
+ "as",
1829
+ "base",
1830
+ "bool",
1831
+ "break",
1832
+ "byte",
1833
+ "case",
1834
+ "catch",
1835
+ "char",
1836
+ "checked",
1837
+ "class",
1838
+ "const",
1839
+ "continue",
1840
+ "decimal",
1841
+ "default",
1842
+ "delegate",
1843
+ "do",
1844
+ "double",
1845
+ "else",
1846
+ "enum",
1847
+ "event",
1848
+ "explicit",
1849
+ "extern",
1850
+ "false",
1851
+ "finally",
1852
+ "fixed",
1853
+ "float",
1854
+ "for",
1855
+ "foreach",
1856
+ "goto",
1857
+ "if",
1858
+ "implicit",
1859
+ "in",
1860
+ "int",
1861
+ "interface",
1862
+ "internal",
1863
+ "is",
1864
+ "lock",
1865
+ "long",
1866
+ "namespace",
1867
+ "new",
1868
+ "null",
1869
+ "object",
1870
+ "operator",
1871
+ "out",
1872
+ "override",
1873
+ "params",
1874
+ "private",
1875
+ "protected",
1876
+ "public",
1877
+ "readonly",
1878
+ "ref",
1879
+ "return",
1880
+ "sbyte",
1881
+ "sealed",
1882
+ "short",
1883
+ "sizeof",
1884
+ "stackalloc",
1885
+ "static",
1886
+ "string",
1887
+ "struct",
1888
+ "switch",
1889
+ "this",
1890
+ "throw",
1891
+ "true",
1892
+ "try",
1893
+ "typeof",
1894
+ "uint",
1895
+ "ulong",
1896
+ "unchecked",
1897
+ "unsafe",
1898
+ "ushort",
1899
+ "using",
1900
+ "virtual",
1901
+ "void",
1902
+ "volatile",
1903
+ "while",
1904
+ "add",
1905
+ "alias",
1906
+ "ascending",
1907
+ "async",
1908
+ "await",
1909
+ "by",
1910
+ "descending",
1911
+ "dynamic",
1912
+ "equals",
1913
+ "from",
1914
+ "get",
1915
+ "global",
1916
+ "group",
1917
+ "into",
1918
+ "join",
1919
+ "let",
1920
+ "nameof",
1921
+ "on",
1922
+ "orderby",
1923
+ "partial",
1924
+ "remove",
1925
+ "select",
1926
+ "set",
1927
+ "value",
1928
+ "var",
1929
+ "when",
1930
+ "where",
1931
+ "yield",
1932
+ ],
1933
+ "fsharp": [
1934
+ "abstract",
1935
+ "and",
1936
+ "as",
1937
+ "assert",
1938
+ "base",
1939
+ "begin",
1940
+ "class",
1941
+ "default",
1942
+ "delegate",
1943
+ "do",
1944
+ "done",
1945
+ "downcast",
1946
+ "downto",
1947
+ "elif",
1948
+ "else",
1949
+ "end",
1950
+ "exception",
1951
+ "extern",
1952
+ "false",
1953
+ "finally",
1954
+ "for",
1955
+ "fun",
1956
+ "function",
1957
+ "global",
1958
+ "if",
1959
+ "in",
1960
+ "inherit",
1961
+ "inline",
1962
+ "interface",
1963
+ "internal",
1964
+ "lazy",
1965
+ "let",
1966
+ "match",
1967
+ "member",
1968
+ "module",
1969
+ "mutable",
1970
+ "namespace",
1971
+ "new",
1972
+ "null",
1973
+ "of",
1974
+ "open",
1975
+ "or",
1976
+ "override",
1977
+ "private",
1978
+ "public",
1979
+ "rec",
1980
+ "return",
1981
+ "sig",
1982
+ "static",
1983
+ "struct",
1984
+ "then",
1985
+ "to",
1986
+ "true",
1987
+ "try",
1988
+ "type",
1989
+ "upcast",
1990
+ "use",
1991
+ "val",
1992
+ "void",
1993
+ "when",
1994
+ "while",
1995
+ "with",
1996
+ "yield",
1997
+ "async",
1998
+ "await",
1999
+ ],
2000
+ "vbnet": [
2001
+ "AddHandler",
2002
+ "AddressOf",
2003
+ "Alias",
2004
+ "And",
2005
+ "AndAlso",
2006
+ "As",
2007
+ "Boolean",
2008
+ "ByRef",
2009
+ "Byte",
2010
+ "ByVal",
2011
+ "Call",
2012
+ "Case",
2013
+ "Catch",
2014
+ "Char",
2015
+ "Class",
2016
+ "Const",
2017
+ "Continue",
2018
+ "Decimal",
2019
+ "Declare",
2020
+ "Default",
2021
+ "Delegate",
2022
+ "Dim",
2023
+ "DirectCast",
2024
+ "Do",
2025
+ "Double",
2026
+ "Each",
2027
+ "Else",
2028
+ "ElseIf",
2029
+ "End",
2030
+ "EndIf",
2031
+ "Enum",
2032
+ "Erase",
2033
+ "Error",
2034
+ "Event",
2035
+ "Exit",
2036
+ "Explicit",
2037
+ "False",
2038
+ "Finally",
2039
+ "For",
2040
+ "Friend",
2041
+ "Function",
2042
+ "Get",
2043
+ "GetType",
2044
+ "GoTo",
2045
+ "Handles",
2046
+ "If",
2047
+ "Implements",
2048
+ "Imports",
2049
+ "In",
2050
+ "Inherits",
2051
+ "Integer",
2052
+ "Interface",
2053
+ "Is",
2054
+ "IsNot",
2055
+ "Let",
2056
+ "Lib",
2057
+ "Like",
2058
+ "Long",
2059
+ "Loop",
2060
+ "Me",
2061
+ "Mod",
2062
+ "Module",
2063
+ "MustInherit",
2064
+ "MustOverride",
2065
+ "MyBase",
2066
+ "MyClass",
2067
+ "Namespace",
2068
+ "New",
2069
+ "Next",
2070
+ "Not",
2071
+ "Nothing",
2072
+ "NotInheritable",
2073
+ "NotOverridable",
2074
+ "Object",
2075
+ "Of",
2076
+ "On",
2077
+ "Operator",
2078
+ "Option",
2079
+ "Optional",
2080
+ "Or",
2081
+ "OrElse",
2082
+ "Out",
2083
+ "Overloads",
2084
+ "Overridable",
2085
+ "Overrides",
2086
+ "ParamArray",
2087
+ "Partial",
2088
+ "Private",
2089
+ "Property",
2090
+ "Protected",
2091
+ "Public",
2092
+ "RaiseEvent",
2093
+ "ReadOnly",
2094
+ "ReDim",
2095
+ "REM",
2096
+ "RemoveHandler",
2097
+ "Resume",
2098
+ "Return",
2099
+ "SByte",
2100
+ "Select",
2101
+ "Set",
2102
+ "Shadows",
2103
+ "Shared",
2104
+ "Short",
2105
+ "Single",
2106
+ "Static",
2107
+ "Step",
2108
+ "Stop",
2109
+ "String",
2110
+ "Structure",
2111
+ "Sub",
2112
+ "SyncLock",
2113
+ "Then",
2114
+ "Throw",
2115
+ "To",
2116
+ "True",
2117
+ "Try",
2118
+ "TryCast",
2119
+ "TypeOf",
2120
+ "UInteger",
2121
+ "ULng",
2122
+ "UShort",
2123
+ "Using",
2124
+ "Variant",
2125
+ "Wend",
2126
+ "When",
2127
+ "While",
2128
+ "With",
2129
+ "WithEvents",
2130
+ "WriteOnly",
2131
+ "Xor",
2132
+ ],
2133
+ "lua": [
2134
+ "and",
2135
+ "break",
2136
+ "do",
2137
+ "else",
2138
+ "elseif",
2139
+ "end",
2140
+ "false",
2141
+ "for",
2142
+ "function",
2143
+ "if",
2144
+ "in",
2145
+ "local",
2146
+ "nil",
2147
+ "not",
2148
+ "or",
2149
+ "repeat",
2150
+ "return",
2151
+ "then",
2152
+ "true",
2153
+ "until",
2154
+ "while",
2155
+ "goto",
2156
+ "_G",
2157
+ "_ENV",
2158
+ "assert",
2159
+ "collectgarbage",
2160
+ "dofile",
2161
+ "error",
2162
+ "getmetatable",
2163
+ "ipairs",
2164
+ "load",
2165
+ "loadfile",
2166
+ "next",
2167
+ "pairs",
2168
+ "pcall",
2169
+ "print",
2170
+ "rawequal",
2171
+ "rawget",
2172
+ "rawlen",
2173
+ "rawset",
2174
+ "select",
2175
+ "setmetatable",
2176
+ "tonumber",
2177
+ "tostring",
2178
+ "type",
2179
+ "xpcall",
2180
+ "math",
2181
+ "string",
2182
+ "table",
2183
+ "os",
2184
+ "io",
2185
+ "debug",
2186
+ "coroutine",
2187
+ "utf8",
2188
+ ],
2189
+ "groovy": [
2190
+ "abstract",
2191
+ "assert",
2192
+ "boolean",
2193
+ "break",
2194
+ "byte",
2195
+ "case",
2196
+ "catch",
2197
+ "char",
2198
+ "class",
2199
+ "const",
2200
+ "continue",
2201
+ "def",
2202
+ "default",
2203
+ "do",
2204
+ "double",
2205
+ "else",
2206
+ "enum",
2207
+ "extends",
2208
+ "final",
2209
+ "finally",
2210
+ "float",
2211
+ "for",
2212
+ "goto",
2213
+ "if",
2214
+ "implements",
2215
+ "import",
2216
+ "instanceof",
2217
+ "int",
2218
+ "interface",
2219
+ "long",
2220
+ "native",
2221
+ "new",
2222
+ "package",
2223
+ "private",
2224
+ "protected",
2225
+ "public",
2226
+ "return",
2227
+ "short",
2228
+ "static",
2229
+ "strictfp",
2230
+ "super",
2231
+ "switch",
2232
+ "synchronized",
2233
+ "this",
2234
+ "throw",
2235
+ "throws",
2236
+ "transient",
2237
+ "try",
2238
+ "void",
2239
+ "volatile",
2240
+ "while",
2241
+ "as",
2242
+ "in",
2243
+ "trait",
2244
+ ],
2245
+ "scala": [
2246
+ "abstract",
2247
+ "case",
2248
+ "catch",
2249
+ "class",
2250
+ "def",
2251
+ "do",
2252
+ "else",
2253
+ "extends",
2254
+ "false",
2255
+ "final",
2256
+ "finally",
2257
+ "for",
2258
+ "forSome",
2259
+ "if",
2260
+ "implicit",
2261
+ "import",
2262
+ "lazy",
2263
+ "match",
2264
+ "new",
2265
+ "null",
2266
+ "object",
2267
+ "override",
2268
+ "package",
2269
+ "private",
2270
+ "protected",
2271
+ "return",
2272
+ "sealed",
2273
+ "super",
2274
+ "this",
2275
+ "throw",
2276
+ "trait",
2277
+ "try",
2278
+ "true",
2279
+ "type",
2280
+ "val",
2281
+ "var",
2282
+ "while",
2283
+ "with",
2284
+ "yield",
2285
+ "_",
2286
+ ":",
2287
+ "=",
2288
+ "<-",
2289
+ "<:",
2290
+ "<%",
2291
+ ">:",
2292
+ "#",
2293
+ "@",
2294
+ ],
2295
+ "clojure": [
2296
+ "def",
2297
+ "fn",
2298
+ "let",
2299
+ "if",
2300
+ "do",
2301
+ "quote",
2302
+ "var",
2303
+ "loop",
2304
+ "recur",
2305
+ "throw",
2306
+ "try",
2307
+ "catch",
2308
+ "finally",
2309
+ "monitor-enter",
2310
+ "monitor-exit",
2311
+ "new",
2312
+ "set!",
2313
+ ".",
2314
+ "..",
2315
+ "&",
2316
+ "defmacro",
2317
+ "defn",
2318
+ "defmethod",
2319
+ "defmulti",
2320
+ "defprotocol",
2321
+ "defrecord",
2322
+ "deftype",
2323
+ "definterface",
2324
+ "defprotocol",
2325
+ "extend",
2326
+ "extend-type",
2327
+ "extend-protocol",
2328
+ "reify",
2329
+ "proxy",
2330
+ "with-local-vars",
2331
+ "binding",
2332
+ "loop",
2333
+ "recur",
2334
+ "trampoline",
2335
+ "lazy-seq",
2336
+ "delay",
2337
+ "future",
2338
+ "promise",
2339
+ "pmap",
2340
+ "pcalls",
2341
+ "pvalues",
2342
+ "juxt",
2343
+ "comp",
2344
+ "partial",
2345
+ "memoize",
2346
+ "read-string",
2347
+ "eval",
2348
+ "load-file",
2349
+ "require",
2350
+ "use",
2351
+ "import",
2352
+ "ns",
2353
+ "in-ns",
2354
+ "refer-clojure",
2355
+ "alias",
2356
+ "gen-class",
2357
+ "gen-interface",
2358
+ ],
2359
+ "coffee": [
2360
+ "true",
2361
+ "false",
2362
+ "null",
2363
+ "this",
2364
+ "new",
2365
+ "delete",
2366
+ "typeof",
2367
+ "in",
2368
+ "instanceof",
2369
+ "return",
2370
+ "throw",
2371
+ "break",
2372
+ "continue",
2373
+ "debugger",
2374
+ "if",
2375
+ "else",
2376
+ "switch",
2377
+ "for",
2378
+ "while",
2379
+ "do",
2380
+ "try",
2381
+ "catch",
2382
+ "finally",
2383
+ "class",
2384
+ "extends",
2385
+ "super",
2386
+ "yield",
2387
+ "await",
2388
+ "import",
2389
+ "export",
2390
+ "default",
2391
+ "from",
2392
+ "as",
2393
+ "of",
2394
+ "when",
2395
+ "then",
2396
+ "unless",
2397
+ "until",
2398
+ "loop",
2399
+ "by",
2400
+ "and",
2401
+ "or",
2402
+ "is",
2403
+ "isnt",
2404
+ "not",
2405
+ "yes",
2406
+ "on",
2407
+ "off",
2408
+ "no",
2409
+ ],
2410
+ }
2411
+ DEFAULT_CONFIG: dict[str, Any] = {
2412
+ "theme": "fluent_dark",
2413
+ "language": "pt-BR",
2414
+ "font_family": "Consolas",
2415
+ "font_size": 13,
2416
+ "ui_font_family": "Segoe UI",
2417
+ "ui_font_size": 10,
2418
+ "ui_scale": 0,
2419
+ "tab_size": 4,
2420
+ "use_spaces": False,
2421
+ "word_wrap": True,
2422
+ "minimap": True,
2423
+ "breadcrumbs": True,
2424
+ "menubar_position": "top",
2425
+ "line_numbers": True,
2426
+ "relative_numbers": False,
2427
+ "highlight_current_line": True,
2428
+ "bracket_matching": True,
2429
+ "render_whitespace": "none",
2430
+ "indent_guides": True,
2431
+ "rulers": [],
2432
+ "cursor_style": "line",
2433
+ "cursor_blinking": "blink",
2434
+ "smooth_scroll": True,
2435
+ "scroll_speed": 3,
2436
+ "multi_cursor": True,
2437
+ "multicursor_lines": True,
2438
+ "font_ligatures": False,
2439
+ "ligature_mode": "pseudo",
2440
+ "autosave": False,
2441
+ "respect_ignore_files": True,
2442
+ "autosave_delay": 30,
2443
+ "recovery_enabled": True,
2444
+ "recovery_interval": 20,
2445
+ "format_on_save": False,
2446
+ "trim_trailing_whitespace": True,
2447
+ "insert_final_newline": True,
2448
+ "encoding": "utf-8",
2449
+ "eol": "\n",
2450
+ "lint_enabled": True,
2451
+ "lint_js": True,
2452
+ "lint_python": True,
2453
+ "lint_html": True,
2454
+ "lint_php": True,
2455
+ "eslint_path": "eslint",
2456
+ "prettier_path": "prettier",
2457
+ "pylint_path": "pylint",
2458
+ "mypy_path": "mypy",
2459
+ "flake8_path": "flake8",
2460
+ "autocomplete": True,
2461
+ "autocomplete_delay": 200,
2462
+ "snippets": True,
2463
+ "parameter_hints": True,
2464
+ "hover_docs": True,
2465
+ "lsp_enabled": True,
2466
+ "lsp_hover_enabled": True,
2467
+ "lsp_format_enabled": True,
2468
+ "lsp_diagnostics": True,
2469
+ "default_shell": "",
2470
+ "terminal_font_size": 12,
2471
+ "terminal_internal_python_warning": True,
2472
+ "git_enabled": True,
2473
+ "git_auto_fetch": False,
2474
+ "git_fetch_interval": 180,
2475
+ "sidebar_width": 320,
2476
+ "panel_height": 240,
2477
+ "activity_bar": True,
2478
+ "show_welcome": True,
2479
+ "recent_files": [],
2480
+ "recent_folders": [],
2481
+ "session_restore": False,
2482
+ "exit_save_mode": "ask",
2483
+ "startup_screen": "editor",
2484
+ "session_save_on_exit": True,
2485
+ "confirm_delete": True,
2486
+ "trash_backend": "workspace",
2487
+ "trash_retention_days": 0,
2488
+ "trash_max_mb": 0,
2489
+ "sticky_scroll": True,
2490
+ "code_folding": True,
2491
+ "inline_blame": False,
2492
+ "inline_blame_mode": "cursor",
2493
+ "color_preview": True,
2494
+ "inlay_hints": False,
2495
+ "smart_tips": True,
2496
+ "smart_tips_interval": 30,
2497
+ "workspace_trust": True,
2498
+ "a11y_high_contrast": False,
2499
+ "a11y_colorblind_mode": "",
2500
+ "a11y_screen_reader": False,
2501
+ "a11y_keyboard_nav": True,
2502
+ "a11y_large_ui_font": False,
2503
+ "a11y_reduce_motion": False,
2504
+ "ssh_default_port": 22,
2505
+ "ssh_connect_timeout": 15,
2506
+ "ssh_keepalive_interval": 30,
2507
+ "ssh_agent_forwarding": False,
2508
+ "ssh_strict_host_key": True,
2509
+ "ssh_sftp_buffer_kb": 64,
2510
+ "ssh_open_in_editor": True,
2511
+ "debug_dap_enabled": True,
2512
+ "debug_dap_port": 5678,
2513
+ "collab_enabled": False,
2514
+ "collab_port": 9001,
2515
+ "collab_max_peers": 8,
2516
+ "collab_show_cursors": True,
2517
+ "collab_show_chat": True,
2518
+ "collab_autosave_sync": True,
2519
+ "plugin_isolation": True,
2520
+ "plugin_timeout_s": 10,
2521
+ "plugin_heartbeat_s": 30,
2522
+ "plugin_max_restarts": 3,
2523
+ "plugin_sandbox_network": False,
2524
+ "perf_auto_mode": True,
2525
+ "perf_freeze_threshold_ms": 500,
2526
+ "perf_mode": "auto",
2527
+ "perf_native_bindings": False,
2528
+ "kui_enabled": False,
2529
+ "kui_perf": "balanced",
2530
+ "perf_kui_fallback": "low",
2531
+ "perf_keep_minimap": True,
2532
+ "perf_keep_sticky_scroll": True,
2533
+ "perf_keep_inline_blame": False,
2534
+ "perf_keep_color_preview": True,
2535
+ "perf_keep_inlay_hints": False,
2536
+ "perf_keep_ligatures": True,
2537
+ "perf_keep_heatmap": True,
2538
+ "perf_keep_rhythm": True,
2539
+ "perf_keep_autocomplete": True,
2540
+ "perf_keep_folding": True,
2541
+ "perf_keep_hl": True,
2542
+ "perf_keep_lint": True,
2543
+ "perf_keep_kui_anim": True,
2544
+ "hl_idle_ms": 60,
2545
+ "autocomplete_min_chars": 1,
2546
+ "autocomplete_max_items": 24,
2547
+ "large_file_mb": 3,
2548
+ "search_max_results": 2000,
2549
+ "custom_keywords": [],
2550
+ "github_token": "",
2551
+ "auto_check_updates": True,
2552
+ }