@adecore/editor-react 0.62.1 → 0.63.0

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 (264) hide show
  1. package/README.md +2 -2
  2. package/dist/AnchoredPopup.d.ts +2 -1
  3. package/dist/CompletionPopup.js +0 -2
  4. package/dist/DiffView.d.ts +1 -28
  5. package/dist/EditorView.js +0 -1
  6. package/dist/HoverSections.d.ts +1 -8
  7. package/dist/HoverSections.js +2 -2
  8. package/dist/LanguagePopups.js +30 -14
  9. package/dist/PanelResizeHandle.js +0 -1
  10. package/dist/PeekPanel.js +0 -1
  11. package/dist/PickPopup.js +0 -1
  12. package/dist/RenderedDocs.js +0 -2
  13. package/dist/SplitDiffView.d.ts +1 -1
  14. package/dist/SymbolPicker.js +0 -1
  15. package/dist/call-hierarchy-model.js +0 -4
  16. package/dist/call-hierarchy.d.ts +9 -2
  17. package/dist/call-hierarchy.js +51 -67
  18. package/dist/clipboard-history.d.ts +3 -0
  19. package/dist/clipboard-history.js +0 -1
  20. package/dist/code-actions-model.js +1 -1
  21. package/dist/code-actions.d.ts +14 -2
  22. package/dist/code-actions.js +14 -9
  23. package/dist/code-authors.js +4 -12
  24. package/dist/code-vision-model.d.ts +0 -1
  25. package/dist/code-vision-model.js +1 -2
  26. package/dist/code-vision.d.ts +11 -3
  27. package/dist/code-vision.js +13 -18
  28. package/dist/completion-call.d.ts +1 -1
  29. package/dist/completion-call.js +2 -1
  30. package/dist/completion-model.d.ts +5 -4
  31. package/dist/completion-model.js +4 -4
  32. package/dist/completion.d.ts +13 -4
  33. package/dist/completion.js +19 -18
  34. package/dist/context-menu-rows.d.ts +2 -1
  35. package/dist/context-menu.d.ts +9 -3
  36. package/dist/context-menu.js +17 -19
  37. package/dist/definition-link.d.ts +8 -2
  38. package/dist/definition-link.js +4 -2
  39. package/dist/diagnostics-model.d.ts +6 -8
  40. package/dist/diagnostics-model.js +1 -54
  41. package/dist/diagnostics.d.ts +9 -7
  42. package/dist/diagnostics.js +6 -4
  43. package/dist/diff-view-props.d.ts +28 -0
  44. package/dist/diff-view-props.js +1 -0
  45. package/dist/doc-comment-model.js +0 -2
  46. package/dist/document-colors.d.ts +9 -4
  47. package/dist/document-colors.js +7 -4
  48. package/dist/document-links.d.ts +2 -3
  49. package/dist/document-links.js +2 -3
  50. package/dist/document-query.d.ts +2 -2
  51. package/dist/edit-locations.js +4 -22
  52. package/dist/editor-language.d.ts +12 -7
  53. package/dist/editor-language.js +54 -45
  54. package/dist/emmet.d.ts +3 -2
  55. package/dist/folding.d.ts +2 -4
  56. package/dist/folding.js +1 -2
  57. package/dist/format-on-type.d.ts +8 -2
  58. package/dist/format-on-type.js +8 -6
  59. package/dist/highlights.d.ts +2 -6
  60. package/dist/highlights.js +3 -3
  61. package/dist/history.d.ts +8 -2
  62. package/dist/history.js +4 -2
  63. package/dist/host-types.d.ts +39 -22
  64. package/dist/hover-content.js +0 -1
  65. package/dist/hover.d.ts +13 -2
  66. package/dist/hover.js +25 -28
  67. package/dist/index.d.ts +19 -9
  68. package/dist/index.js +5 -2
  69. package/dist/inlay-hints.d.ts +12 -21
  70. package/dist/inlay-hints.js +16 -15
  71. package/dist/inline-completion.d.ts +30 -10
  72. package/dist/inline-completion.js +346 -102
  73. package/dist/key-priority.d.ts +1 -1
  74. package/dist/key-priority.js +2 -2
  75. package/dist/language-context.d.ts +30 -0
  76. package/dist/language-context.js +1 -0
  77. package/dist/language-ids.d.ts +0 -1
  78. package/dist/language-ids.js +0 -32
  79. package/dist/line-text.js +0 -1
  80. package/dist/linked-editing.d.ts +2 -4
  81. package/dist/linked-editing.js +1 -3
  82. package/dist/live-templates.d.ts +14 -2
  83. package/dist/live-templates.js +15 -10
  84. package/dist/locales/en.d.ts +357 -0
  85. package/dist/locales/en.js +356 -0
  86. package/dist/locales/nl.d.ts +357 -0
  87. package/dist/locales/nl.js +356 -0
  88. package/dist/markup-context.d.ts +7 -6
  89. package/dist/markup-context.js +0 -1
  90. package/dist/markup.d.ts +8 -2
  91. package/dist/markup.js +19 -20
  92. package/dist/models.d.ts +2 -1
  93. package/dist/models.js +2 -1
  94. package/dist/navigation-history.d.ts +7 -0
  95. package/dist/navigation.d.ts +11 -8
  96. package/dist/navigation.js +9 -20
  97. package/dist/panel-size.d.ts +4 -0
  98. package/dist/paste-history.d.ts +8 -2
  99. package/dist/paste-history.js +4 -2
  100. package/dist/patch-layout.d.ts +0 -4
  101. package/dist/patch-layout.js +1 -1
  102. package/dist/peek-model.js +0 -1
  103. package/dist/peek.d.ts +8 -2
  104. package/dist/peek.js +31 -42
  105. package/dist/pick.d.ts +4 -2
  106. package/dist/pick.js +38 -15
  107. package/dist/popups.d.ts +25 -20
  108. package/dist/popups.js +31 -15
  109. package/dist/positions.d.ts +7 -0
  110. package/dist/positions.js +54 -0
  111. package/dist/postfix.d.ts +11 -2
  112. package/dist/postfix.js +10 -6
  113. package/dist/project-language.d.ts +11 -3
  114. package/dist/project-language.js +40 -9
  115. package/dist/project-problems.d.ts +7 -1
  116. package/dist/project-problems.js +2 -1
  117. package/dist/rename-model.js +1 -1
  118. package/dist/rename.d.ts +2 -2
  119. package/dist/rename.js +17 -22
  120. package/dist/rendered-docs.d.ts +8 -2
  121. package/dist/rendered-docs.js +5 -4
  122. package/dist/selection-ranges.d.ts +2 -2
  123. package/dist/semantic-tokens.d.ts +2 -4
  124. package/dist/semantic-tokens.js +2 -2
  125. package/dist/shortcut-keys.d.ts +2 -1
  126. package/dist/signature.d.ts +2 -2
  127. package/dist/signature.js +9 -15
  128. package/dist/snippet-field-transforms.js +1 -1
  129. package/dist/snippet-insert.d.ts +4 -2
  130. package/dist/snippet-insert.js +9 -15
  131. package/dist/snippet-session.d.ts +9 -4
  132. package/dist/snippet-session.js +14 -14
  133. package/dist/snippet-transform-format.d.ts +2 -1
  134. package/dist/snippet-transform-queue.d.ts +2 -4
  135. package/dist/snippet-transform-queue.js +5 -37
  136. package/dist/snippet.d.ts +2 -1
  137. package/dist/surround-constructs.d.ts +1 -1
  138. package/dist/surround.d.ts +13 -2
  139. package/dist/surround.js +15 -8
  140. package/dist/symbol-links.d.ts +0 -1
  141. package/dist/symbol-links.js +1 -1
  142. package/dist/symbol-picker-model.d.ts +0 -1
  143. package/dist/symbol-picker-model.js +1 -2
  144. package/dist/symbol-picker.d.ts +2 -2
  145. package/dist/symbol-picker.js +5 -10
  146. package/dist/symbols.d.ts +4 -3
  147. package/dist/template-builtins.d.ts +1 -1
  148. package/dist/template-builtins.js +0 -1
  149. package/dist/template-context.d.ts +3 -3
  150. package/dist/template-context.js +2 -11
  151. package/dist/template-types.d.ts +20 -0
  152. package/dist/template-types.js +1 -0
  153. package/dist/templates.d.ts +5 -20
  154. package/dist/templates.js +0 -1
  155. package/dist/testing.d.ts +6 -0
  156. package/dist/testing.js +42 -0
  157. package/dist/use-problem-counts.d.ts +1 -1
  158. package/dist/word-diff.d.ts +1 -1
  159. package/dist/word-diff.js +16 -25
  160. package/dist/workspace-edit.d.ts +1 -24
  161. package/dist/workspace-edit.js +0 -1
  162. package/package.json +10 -9
  163. package/src/AnchoredPopup.tsx +1 -1
  164. package/src/CompletionPopup.tsx +0 -2
  165. package/src/DiffView.tsx +6 -38
  166. package/src/EditorView.tsx +0 -1
  167. package/src/HoverSections.tsx +2 -2
  168. package/src/LanguagePopups.tsx +20 -14
  169. package/src/PanelResizeHandle.tsx +0 -1
  170. package/src/PeekPanel.tsx +0 -1
  171. package/src/PickPopup.tsx +0 -1
  172. package/src/RenderedDocs.tsx +0 -2
  173. package/src/SplitDiffView.tsx +1 -1
  174. package/src/SymbolPicker.tsx +0 -1
  175. package/src/call-hierarchy-model.ts +0 -7
  176. package/src/call-hierarchy.ts +32 -31
  177. package/src/clipboard-history.ts +5 -2
  178. package/src/code-actions-model.ts +1 -4
  179. package/src/code-actions.ts +26 -10
  180. package/src/code-authors.ts +4 -15
  181. package/src/code-vision-model.ts +1 -2
  182. package/src/code-vision.ts +23 -19
  183. package/src/completion-call.ts +2 -2
  184. package/src/completion-model.ts +12 -7
  185. package/src/completion.ts +31 -16
  186. package/src/context-menu-rows.ts +1 -1
  187. package/src/context-menu.ts +19 -10
  188. package/src/definition-link.ts +12 -4
  189. package/src/diagnostics-model.ts +8 -55
  190. package/src/diagnostics.ts +11 -20
  191. package/src/diff-view-props.ts +38 -0
  192. package/src/doc-comment-model.ts +0 -2
  193. package/src/document-colors.ts +14 -6
  194. package/src/document-links.ts +5 -6
  195. package/src/document-query.ts +3 -3
  196. package/src/edit-locations.ts +4 -19
  197. package/src/editor-language.ts +74 -39
  198. package/src/emmet.ts +2 -3
  199. package/src/folding.ts +4 -5
  200. package/src/format-on-type.ts +14 -7
  201. package/src/highlights.ts +6 -6
  202. package/src/history.ts +12 -4
  203. package/src/host-types.ts +52 -33
  204. package/src/hover-content.ts +0 -1
  205. package/src/hover.ts +29 -22
  206. package/src/index.ts +25 -14
  207. package/src/inlay-hints.ts +23 -17
  208. package/src/inline-completion.ts +340 -90
  209. package/src/key-priority.ts +2 -2
  210. package/src/language-context.ts +60 -0
  211. package/src/language-ids.ts +0 -34
  212. package/src/line-text.ts +0 -1
  213. package/src/linked-editing.ts +4 -6
  214. package/src/live-templates.ts +27 -13
  215. package/src/locales/en.ts +356 -0
  216. package/src/locales/nl.ts +356 -0
  217. package/src/markup-context.ts +6 -9
  218. package/src/markup.ts +19 -10
  219. package/src/models.ts +2 -1
  220. package/src/navigation-history.ts +11 -0
  221. package/src/navigation.ts +18 -20
  222. package/src/panel-size.ts +8 -0
  223. package/src/paste-history.ts +12 -4
  224. package/src/patch-layout.ts +1 -1
  225. package/src/peek-model.ts +0 -1
  226. package/src/peek.ts +22 -18
  227. package/src/pick.ts +30 -16
  228. package/src/popups.ts +61 -40
  229. package/src/positions.ts +54 -0
  230. package/src/postfix.ts +21 -8
  231. package/src/project-language.ts +63 -14
  232. package/src/project-problems.ts +10 -2
  233. package/src/proposal-model.ts +0 -1
  234. package/src/rename-model.ts +1 -1
  235. package/src/rename.ts +21 -24
  236. package/src/rendered-docs.ts +13 -6
  237. package/src/selection-ranges.ts +2 -2
  238. package/src/semantic-tokens.ts +5 -5
  239. package/src/shortcut-keys.ts +1 -1
  240. package/src/signature.ts +8 -8
  241. package/src/snippet-field-transforms.ts +1 -1
  242. package/src/snippet-insert.ts +21 -14
  243. package/src/snippet-session.ts +25 -24
  244. package/src/snippet-transform-format.ts +1 -1
  245. package/src/snippet-transform-queue.ts +5 -51
  246. package/src/snippet.ts +1 -1
  247. package/src/surround-constructs.ts +1 -1
  248. package/src/surround.ts +24 -12
  249. package/src/symbol-links.ts +1 -1
  250. package/src/symbol-picker-model.ts +1 -4
  251. package/src/symbol-picker.ts +6 -7
  252. package/src/symbols.ts +3 -4
  253. package/src/template-builtins.ts +1 -2
  254. package/src/template-context.ts +5 -14
  255. package/src/template-types.ts +43 -0
  256. package/src/templates.ts +9 -45
  257. package/src/testing.ts +52 -0
  258. package/src/use-problem-counts.ts +1 -1
  259. package/src/word-diff.ts +17 -28
  260. package/src/workspace-edit.ts +1 -34
  261. package/dist/locales/en.json +0 -356
  262. package/dist/locales/nl.json +0 -356
  263. package/src/locales/en.json +0 -356
  264. package/src/locales/nl.json +0 -356
@@ -1,7 +1,5 @@
1
- import type { LinkedEditingRanges } from '@adecore/lsp';
2
- import type { EditorLanguage } from './editor-language.ts';
1
+ import type { LanguageContext } from './language-context.ts';
3
2
  import { type Timers } from './timers.ts';
4
- export declare function wordPatternOf(ranges: LinkedEditingRanges): RegExp | null;
5
3
  export declare class LinkedEditingFeature {
6
4
  private readonly language;
7
5
  private readonly timers;
@@ -11,7 +9,7 @@ export declare class LinkedEditingFeature {
11
9
  private revision;
12
10
  private mirroring;
13
11
  private enabled;
14
- constructor(language: EditorLanguage, timers?: Timers);
12
+ constructor(language: LanguageContext, timers?: Timers);
15
13
  get supported(): boolean;
16
14
  get isActive(): boolean;
17
15
  configure(settings: {
@@ -1,9 +1,8 @@
1
1
  import { realTimers } from './timers.js';
2
2
  const METHOD = 'textDocument/linkedEditingRange';
3
- /* How long the caret rests before the ranges around it are asked. */
4
3
  const DELAY_MS = 100;
5
4
  /* The server's word pattern, anchored, or null when it gave none or one that does not compile. */
6
- export function wordPatternOf(ranges) {
5
+ function wordPatternOf(ranges) {
7
6
  if (ranges.wordPattern === undefined) {
8
7
  return null;
9
8
  }
@@ -48,7 +47,6 @@ export class LinkedEditingFeature {
48
47
  } = this.language;
49
48
  return this.enabled && service.linkedEditingRanges !== undefined && service.supports(METHOD, this.language.uri);
50
49
  }
51
- /* Whether ranges are linked now. */
52
50
  get isActive() {
53
51
  return this.session !== null;
54
52
  }
@@ -1,8 +1,19 @@
1
- import type { EditorLanguage } from './editor-language.ts';
1
+ import type { CompletionFeature } from './completion.ts';
2
+ import type { LanguageContext } from './language-context.ts';
3
+ import type { MarkupFeature } from './markup.ts';
4
+ import type { PickFeature } from './pick.ts';
5
+ import { type InsertingSnippets } from './snippet-insert.ts';
6
+ interface TemplatesPeers {
7
+ readonly completion: Pick<CompletionFeature, 'addSource' | 'close' | 'showItems'>;
8
+ readonly markup: Pick<MarkupFeature, 'abbreviationAt'>;
9
+ readonly pick: Pick<PickFeature, 'open'>;
10
+ readonly snippets: InsertingSnippets;
11
+ }
2
12
  export declare class TemplatesFeature {
3
13
  private readonly language;
14
+ private readonly peers;
4
15
  private readonly postfix;
5
- constructor(language: EditorLanguage);
16
+ constructor(language: LanguageContext, peers: TemplatesPeers);
6
17
  expand(): boolean;
7
18
  insert(): void;
8
19
  saveSelection(): boolean;
@@ -14,3 +25,4 @@ export declare class TemplatesFeature {
14
25
  private rows;
15
26
  private row;
16
27
  }
28
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { identifierPrefix, isIdentifierCharacter } from './completion-model.js';
2
- import { comparePositions } from './diagnostics-model.js';
3
2
  import { KEY_PRIORITY } from './key-priority.js';
4
3
  import { textBeforeOf } from './line-text.js';
4
+ import { comparePositions } from './positions.js';
5
5
  import { PostfixFeature } from './postfix.js';
6
6
  import { isShortcut } from './shortcut-keys.js';
7
7
  import { bodyWithIndentUnit, dedentLines, indentUnitOf, insertSnippet } from './snippet-insert.js';
@@ -9,7 +9,6 @@ import { escapeSnippetText } from './snippet.js';
9
9
  import { SNIPPET_KIND, sortAfterServer, templateApplies, templateContextAt } from './template-context.js';
10
10
  const TOAST_ID = 'language-templates';
11
11
  const IDENTIFIER_START = /[\p{L}_$]/u;
12
- /* Sorts the rows of a list of templates by group, then key. */
13
12
  function grouped(template) {
14
13
  return `${template.group ?? template.languages[0]}\u0000${template.key}`;
15
14
  }
@@ -34,10 +33,12 @@ function prefixLength(key, before) {
34
33
  */
35
34
  export class TemplatesFeature {
36
35
  language;
36
+ peers;
37
37
  postfix;
38
- constructor(language) {
38
+ constructor(language, peers) {
39
39
  this.language = language;
40
- this.postfix = new PostfixFeature(language);
40
+ this.peers = peers;
41
+ this.postfix = new PostfixFeature(language, peers);
41
42
  language.onDispose(language.onKey(event => {
42
43
  if (event.key === 'Tab' && !event.shiftKey && !event.altKey && !event.ctrlKey && !event.metaKey && !event.isComposing) {
43
44
  return this.expand();
@@ -52,7 +53,7 @@ export class TemplatesFeature {
52
53
  }
53
54
  return false;
54
55
  }, KEY_PRIORITY.templates));
55
- language.onDispose(language.completion.addSource({
56
+ language.onDispose(peers.completion.addSource({
56
57
  items: request => [...this.rows(request.position), ...this.postfix.rows(request.position)]
57
58
  }));
58
59
  }
@@ -62,9 +63,11 @@ export class TemplatesFeature {
62
63
  */
63
64
  expand() {
64
65
  const {
65
- editor,
66
- completion
66
+ editor
67
67
  } = this.language;
68
+ const {
69
+ completion
70
+ } = this.peers;
68
71
  const selections = editor.getSelections();
69
72
  if (editor.isReadOnly?.() === true || selections.some(selection => comparePositions(selection.start, selection.end) !== 0)) {
70
73
  return false;
@@ -91,9 +94,11 @@ export class TemplatesFeature {
91
94
  insert() {
92
95
  const {
93
96
  editor,
94
- completion,
95
97
  project
96
98
  } = this.language;
99
+ const {
100
+ completion
101
+ } = this.peers;
97
102
  if (editor.isReadOnly?.() === true) {
98
103
  return;
99
104
  }
@@ -162,7 +167,7 @@ export class TemplatesFeature {
162
167
  }
163
168
  /* The keys that compete with a live template for Tab: an Emmet abbreviation, then a postfix key. */
164
169
  customKey() {
165
- const abbreviation = this.language.markup.abbreviationAt();
170
+ const abbreviation = this.peers.markup.abbreviationAt();
166
171
  return abbreviation === null ? this.postfix.key() : {
167
172
  start: abbreviation,
168
173
  expand: null
@@ -232,7 +237,7 @@ export class TemplatesFeature {
232
237
  })));
233
238
  }
234
239
  run(template, placements) {
235
- return insertSnippet(this.language, bodyWithIndentUnit(template.body, indentUnitOf(this.language.editor)), placements);
240
+ return insertSnippet(this.language, this.peers.snippets, bodyWithIndentUnit(template.body, indentUnitOf(this.language.editor)), placements);
236
241
  }
237
242
  /* The rows for the word before the caret, each a template whose key starts with it. */
238
243
  rows(position) {
@@ -0,0 +1,357 @@
1
+ declare const _default: {
2
+ language: {
3
+ hover: {
4
+ quickFix: string;
5
+ quickFixNone: string;
6
+ definition: string;
7
+ references_one: string;
8
+ references_other: string;
9
+ line: string;
10
+ none: string;
11
+ };
12
+ inlay: {
13
+ failed: string;
14
+ };
15
+ edit: {
16
+ staged_one: string;
17
+ staged_other: string;
18
+ stagedMore: string;
19
+ saveAll: string;
20
+ notSaved: string;
21
+ };
22
+ actions: {
23
+ show: string;
24
+ none: string;
25
+ unavailable: string;
26
+ organized: string;
27
+ noFormatter: string;
28
+ readOnly: string;
29
+ failed: string;
30
+ refused: string;
31
+ moreLines: string;
32
+ otherFiles_one: string;
33
+ otherFiles_other: string;
34
+ moves_one: string;
35
+ moves_other: string;
36
+ creates_one: string;
37
+ creates_other: string;
38
+ deletes_one: string;
39
+ deletes_other: string;
40
+ groups: {
41
+ quickfix: string;
42
+ rewrite: string;
43
+ extract: string;
44
+ inline: string;
45
+ move: string;
46
+ refactor: string;
47
+ source: string;
48
+ other: string;
49
+ };
50
+ };
51
+ rename: {
52
+ unavailable: string;
53
+ nothing: string;
54
+ refused: string;
55
+ stale: string;
56
+ failed: string;
57
+ occurrences_one: string;
58
+ occurrences_other: string;
59
+ occurrencesFiles_one: string;
60
+ occurrencesFiles_other: string;
61
+ rename: string;
62
+ preview: string;
63
+ cancel: string;
64
+ apply: string;
65
+ suggestions: string;
66
+ useSuggestion: string;
67
+ operations: {
68
+ create: string;
69
+ rename: string;
70
+ delete: string;
71
+ };
72
+ };
73
+ markup: {
74
+ wrap: string;
75
+ placeholder: string;
76
+ apply: string;
77
+ invalid: string;
78
+ };
79
+ navigation: {
80
+ unavailable: string;
81
+ none: string;
82
+ failed: string;
83
+ titles: {
84
+ definition: string;
85
+ declaration: string;
86
+ typeDefinition: string;
87
+ implementation: string;
88
+ symbol: string;
89
+ };
90
+ };
91
+ panel: {
92
+ resize: string;
93
+ };
94
+ peek: {
95
+ unavailable: string;
96
+ none: string;
97
+ failed: string;
98
+ references_one: string;
99
+ references_other: string;
100
+ close: string;
101
+ collapse: string;
102
+ expand: string;
103
+ definitions_one: string;
104
+ definitions_other: string;
105
+ noDefinition: string;
106
+ unavailableDefinition: string;
107
+ };
108
+ callHierarchy: {
109
+ unavailable: string;
110
+ none: string;
111
+ failed: string;
112
+ label: string;
113
+ direction: string;
114
+ incoming: string;
115
+ outgoing: string;
116
+ close: string;
117
+ loading: string;
118
+ noIncoming: string;
119
+ noOutgoing: string;
120
+ retry: string;
121
+ more_one: string;
122
+ more_other: string;
123
+ sites_one: string;
124
+ sites_other: string;
125
+ site: string;
126
+ previousSite: string;
127
+ nextSite: string;
128
+ typesUnavailable: string;
129
+ typesNone: string;
130
+ typesFailed: string;
131
+ typesLabel: string;
132
+ supertypes: string;
133
+ subtypes: string;
134
+ noSupertypes: string;
135
+ noSubtypes: string;
136
+ announce: {
137
+ incoming_one: string;
138
+ incoming_other: string;
139
+ outgoing_one: string;
140
+ outgoing_other: string;
141
+ supertypes_one: string;
142
+ supertypes_other: string;
143
+ subtypes_one: string;
144
+ subtypes_other: string;
145
+ };
146
+ };
147
+ colors: {
148
+ swatch: string;
149
+ title: string;
150
+ other: string;
151
+ };
152
+ codeVision: {
153
+ usagesNone: string;
154
+ usages_one: string;
155
+ usages_other: string;
156
+ newCode: string;
157
+ lines_one: string;
158
+ lines_other: string;
159
+ uncommitted: string;
160
+ latest: string;
161
+ showCommit: string;
162
+ };
163
+ symbols: {
164
+ unavailable: string;
165
+ failed: string;
166
+ placeholder: string;
167
+ navigate: string;
168
+ open: string;
169
+ workspace: string;
170
+ line: string;
171
+ none: string;
172
+ workspaceHint: string;
173
+ lineHint: string;
174
+ goToLine: string;
175
+ groups: {
176
+ namespaces: string;
177
+ classes: string;
178
+ interfaces: string;
179
+ enums: string;
180
+ functions: string;
181
+ methods: string;
182
+ properties: string;
183
+ variables: string;
184
+ constants: string;
185
+ other: string;
186
+ };
187
+ };
188
+ context: {
189
+ refactor: string;
190
+ cut: string;
191
+ copy: string;
192
+ paste: string;
193
+ renameSymbol: string;
194
+ goTo: {
195
+ menu: string;
196
+ definition: string;
197
+ declaration: string;
198
+ typeDefinition: string;
199
+ implementation: string;
200
+ };
201
+ };
202
+ snippet: {
203
+ choices: string;
204
+ };
205
+ completion: {
206
+ tooLarge: string;
207
+ insert: string;
208
+ replace: string;
209
+ details: string;
210
+ none: string;
211
+ transformBusy: string;
212
+ transformFailed: string;
213
+ failed: string;
214
+ };
215
+ history: {
216
+ recent: string;
217
+ };
218
+ pasteHistory: {
219
+ title: string;
220
+ empty: string;
221
+ };
222
+ templates: {
223
+ none: string;
224
+ selectToSave: string;
225
+ };
226
+ postfix: {
227
+ expressions: string;
228
+ };
229
+ surround: {
230
+ title: string;
231
+ selectTemplate: string;
232
+ liveTemplates: string;
233
+ configure: string;
234
+ comments: string;
235
+ none: string;
236
+ noTemplates: string;
237
+ unwrap: {
238
+ title: string;
239
+ if: string;
240
+ else: string;
241
+ removeElse: string;
242
+ for: string;
243
+ while: string;
244
+ do: string;
245
+ try: string;
246
+ removeCatch: string;
247
+ removeFinally: string;
248
+ braces: string;
249
+ tag: string;
250
+ };
251
+ };
252
+ announce: {
253
+ problem: string;
254
+ severity: {
255
+ error: string;
256
+ warning: string;
257
+ info: string;
258
+ hint: string;
259
+ };
260
+ field: string;
261
+ fieldChoices_one: string;
262
+ fieldChoices_other: string;
263
+ };
264
+ fold: {
265
+ fold: string;
266
+ unfold: string;
267
+ };
268
+ docs: {
269
+ label: string;
270
+ labelNamed: string;
271
+ render: string;
272
+ showSource: string;
273
+ tags: {
274
+ deprecated: string;
275
+ template: string;
276
+ param: string;
277
+ property: string;
278
+ type: string;
279
+ var: string;
280
+ return: string;
281
+ yield: string;
282
+ throws: string;
283
+ see: string;
284
+ example: string;
285
+ since: string;
286
+ version: string;
287
+ author: string;
288
+ };
289
+ };
290
+ };
291
+ commands: {
292
+ goToDefinition: string;
293
+ goToTypeDefinition: string;
294
+ goToImplementation: string;
295
+ callHierarchy: string;
296
+ typeHierarchy: string;
297
+ peekReferences: string;
298
+ renameSymbol: string;
299
+ codeActions: string;
300
+ formatDocument: string;
301
+ formatSelection: string;
302
+ };
303
+ find: {
304
+ label: string;
305
+ count: string;
306
+ countLimited: string;
307
+ none: string;
308
+ invalid: string;
309
+ caseSensitive: string;
310
+ wholeWord: string;
311
+ regex: string;
312
+ inSelection: string;
313
+ noSelection: string;
314
+ selectAll: string;
315
+ previous: string;
316
+ next: string;
317
+ close: string;
318
+ replace: {
319
+ label: string;
320
+ one: string;
321
+ all: string;
322
+ allLabel: string;
323
+ preserveCase: string;
324
+ toggle: string;
325
+ hide: string;
326
+ failed: {
327
+ limit: string;
328
+ timeout: string;
329
+ unavailable: string;
330
+ error: string;
331
+ };
332
+ };
333
+ countMore: string;
334
+ searching: string;
335
+ large: string;
336
+ replaced: string;
337
+ failed: {
338
+ timeout: string;
339
+ unavailable: string;
340
+ invalid: string;
341
+ error: string;
342
+ };
343
+ };
344
+ diff: {
345
+ hidden: string;
346
+ contextLimit: string;
347
+ oldSide: string;
348
+ newSide: string;
349
+ noNewline: string;
350
+ added: string;
351
+ removed: string;
352
+ unchanged: string;
353
+ addedLine: string;
354
+ removedLine: string;
355
+ };
356
+ };
357
+ export default _default;