@codingame/monaco-vscode-search-service-override 10.1.2 → 10.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-search-service-override",
3
- "version": "10.1.2",
3
+ "version": "10.1.4",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,7 +9,7 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git@github.com:CodinGame/monaco-vscode-api.git"
12
+ "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
@@ -29,6 +29,6 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "vscode": "npm:@codingame/monaco-vscode-api@10.1.2"
32
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.4"
33
33
  }
34
34
  }
@@ -20,7 +20,7 @@ registerAction2(class ToggleQueryDetailsAction extends Action2 {
20
20
  constructor() {
21
21
  super({
22
22
  id: "workbench.action.search.toggleQueryDetails" ,
23
- title: ( localize2(8503, "Toggle Query Details")),
23
+ title: ( localize2(8513, "Toggle Query Details")),
24
24
  category,
25
25
  keybinding: {
26
26
  weight: 200 ,
@@ -44,7 +44,7 @@ registerAction2(class CloseReplaceAction extends Action2 {
44
44
  constructor() {
45
45
  super({
46
46
  id: "closeReplaceInFilesWidget" ,
47
- title: ( localize2(8504, "Close Replace Widget")),
47
+ title: ( localize2(8514, "Close Replace Widget")),
48
48
  category,
49
49
  keybinding: {
50
50
  weight: 200 ,
@@ -69,7 +69,7 @@ registerAction2(class ToggleCaseSensitiveCommandAction extends Action2 {
69
69
  constructor() {
70
70
  super({
71
71
  id: "toggleSearchCaseSensitive" ,
72
- title: ( localize2(8505, "Toggle Case Sensitive")),
72
+ title: ( localize2(8515, "Toggle Case Sensitive")),
73
73
  category,
74
74
  keybinding: Object.assign({
75
75
  weight: 200 ,
@@ -88,7 +88,7 @@ registerAction2(class ToggleWholeWordCommandAction extends Action2 {
88
88
  constructor() {
89
89
  super({
90
90
  id: "toggleSearchWholeWord" ,
91
- title: ( localize2(8506, "Toggle Whole Word")),
91
+ title: ( localize2(8516, "Toggle Whole Word")),
92
92
  keybinding: Object.assign({
93
93
  weight: 200 ,
94
94
  when: SearchContext.SearchViewFocusedKey,
@@ -104,7 +104,7 @@ registerAction2(class ToggleRegexCommandAction extends Action2 {
104
104
  constructor() {
105
105
  super({
106
106
  id: "toggleSearchRegex" ,
107
- title: ( localize2(8507, "Toggle Regex")),
107
+ title: ( localize2(8517, "Toggle Regex")),
108
108
  keybinding: Object.assign({
109
109
  weight: 200 ,
110
110
  when: SearchContext.SearchViewFocusedKey,
@@ -120,7 +120,7 @@ registerAction2(class TogglePreserveCaseAction extends Action2 {
120
120
  constructor() {
121
121
  super({
122
122
  id: "toggleSearchPreserveCase" ,
123
- title: ( localize2(8508, "Toggle Preserve Case")),
123
+ title: ( localize2(8518, "Toggle Preserve Case")),
124
124
  keybinding: Object.assign({
125
125
  weight: 200 ,
126
126
  when: SearchContext.SearchViewFocusedKey,
@@ -136,7 +136,7 @@ registerAction2(class OpenMatchAction extends Action2 {
136
136
  constructor() {
137
137
  super({
138
138
  id: "search.action.openResult" ,
139
- title: ( localize2(8509, "Open Match")),
139
+ title: ( localize2(8519, "Open Match")),
140
140
  category,
141
141
  keybinding: {
142
142
  weight: 200 ,
@@ -168,7 +168,7 @@ registerAction2(class OpenMatchToSideAction extends Action2 {
168
168
  constructor() {
169
169
  super({
170
170
  id: "search.action.openResultToSide" ,
171
- title: ( localize2(8510, "Open Match To Side")),
171
+ title: ( localize2(8520, "Open Match To Side")),
172
172
  category,
173
173
  keybinding: {
174
174
  weight: 200 ,
@@ -192,7 +192,7 @@ registerAction2(class AddCursorsAtSearchResultsAction extends Action2 {
192
192
  constructor() {
193
193
  super({
194
194
  id: "addCursorsAtSearchResults" ,
195
- title: ( localize2(8511, "Add Cursors at Search Results")),
195
+ title: ( localize2(8521, "Add Cursors at Search Results")),
196
196
  keybinding: {
197
197
  weight: 200 ,
198
198
  when: ( (ContextKeyExpr.and(SearchContext.SearchViewVisibleKey, SearchContext.FileMatchOrMatchFocusKey))),
@@ -213,7 +213,7 @@ registerAction2(class FocusNextInputAction extends Action2 {
213
213
  constructor() {
214
214
  super({
215
215
  id: "search.focus.nextInputBox" ,
216
- title: ( localize2(8512, "Focus Next Input")),
216
+ title: ( localize2(8522, "Focus Next Input")),
217
217
  category,
218
218
  keybinding: {
219
219
  weight: 200 ,
@@ -239,7 +239,7 @@ registerAction2(class FocusPreviousInputAction extends Action2 {
239
239
  constructor() {
240
240
  super({
241
241
  id: "search.focus.previousInputBox" ,
242
- title: ( localize2(8513, "Focus Previous Input")),
242
+ title: ( localize2(8523, "Focus Previous Input")),
243
243
  category,
244
244
  keybinding: {
245
245
  weight: 200 ,
@@ -269,7 +269,7 @@ registerAction2(class FocusSearchFromResultsAction extends Action2 {
269
269
  constructor() {
270
270
  super({
271
271
  id: "search.action.focusSearchFromResults" ,
272
- title: ( localize2(8514, "Focus Search From Results")),
272
+ title: ( localize2(8524, "Focus Search From Results")),
273
273
  category,
274
274
  keybinding: {
275
275
  weight: 200 ,
@@ -291,7 +291,7 @@ registerAction2(class ToggleSearchOnTypeAction extends Action2 {
291
291
  constructor() {
292
292
  super({
293
293
  id: "workbench.action.toggleSearchOnType" ,
294
- title: ( localize2(8515, "Toggle Search on Type")),
294
+ title: ( localize2(8525, "Toggle Search on Type")),
295
295
  category,
296
296
  });
297
297
  }
@@ -305,7 +305,7 @@ registerAction2(class FocusSearchListCommandAction extends Action2 {
305
305
  constructor() {
306
306
  super({
307
307
  id: "search.action.focusSearchList" ,
308
- title: ( localize2(8516, "Focus List")),
308
+ title: ( localize2(8526, "Focus List")),
309
309
  category,
310
310
  f1: true
311
311
  });
@@ -318,7 +318,7 @@ registerAction2(class FocusNextSearchResultAction extends Action2 {
318
318
  constructor() {
319
319
  super({
320
320
  id: "search.action.focusNextSearchResult" ,
321
- title: ( localize2(8517, "Focus Next Search Result")),
321
+ title: ( localize2(8527, "Focus Next Search Result")),
322
322
  keybinding: [{
323
323
  primary: 62 ,
324
324
  weight: 200 ,
@@ -336,7 +336,7 @@ registerAction2(class FocusPreviousSearchResultAction extends Action2 {
336
336
  constructor() {
337
337
  super({
338
338
  id: "search.action.focusPreviousSearchResult" ,
339
- title: ( localize2(8518, "Focus Previous Search Result")),
339
+ title: ( localize2(8528, "Focus Previous Search Result")),
340
340
  keybinding: [{
341
341
  primary: 1024 | 62 ,
342
342
  weight: 200 ,
@@ -354,7 +354,7 @@ registerAction2(class ReplaceInFilesAction extends Action2 {
354
354
  constructor() {
355
355
  super({
356
356
  id: "workbench.action.replaceInFiles" ,
357
- title: ( localize2(8519, "Replace in Files")),
357
+ title: ( localize2(8529, "Replace in Files")),
358
358
  keybinding: [{
359
359
  primary: 2048 | 1024 | 38 ,
360
360
  weight: 200 ,
@@ -164,7 +164,7 @@ const extractSearchQueryFromLines = (lines) => {
164
164
  out += '\\';
165
165
  }
166
166
  else {
167
- throw Error(localize(10937, "All backslashes in Query string must be escaped (\\\\)"));
167
+ throw Error(localize(10938, "All backslashes in Query string must be escaped (\\\\)"));
168
168
  }
169
169
  }
170
170
  else {
@@ -210,16 +210,16 @@ const serializeSearchResultForEditor = (searchResult, rawIncludePattern, rawExcl
210
210
  throw Error('Internal Error: Expected query, got null');
211
211
  }
212
212
  const config = contentPatternToSearchConfiguration(searchResult.query, rawIncludePattern, rawExcludePattern, contextLines);
213
- const filecount = searchResult.fileCount() > 1 ? ( localize(10938, "{0} files", searchResult.fileCount())) : ( localize(10939, "1 file"));
214
- const resultcount = searchResult.count() > 1 ? ( localize(10940, "{0} results", searchResult.count())) : ( localize(10941, "1 result"));
213
+ const filecount = searchResult.fileCount() > 1 ? ( localize(10939, "{0} files", searchResult.fileCount())) : ( localize(10940, "1 file"));
214
+ const resultcount = searchResult.count() > 1 ? ( localize(10941, "{0} results", searchResult.count())) : ( localize(10942, "1 result"));
215
215
  const info = [
216
216
  searchResult.count()
217
217
  ? `${resultcount} - ${filecount}`
218
- : ( localize(10942, "No Results")),
218
+ : ( localize(10943, "No Results")),
219
219
  ];
220
220
  if (limitHit) {
221
221
  info.push(( localize(
222
- 10943,
222
+ 10944,
223
223
  "The result set only contains a subset of all matches. Be more specific in your search to narrow down the results."
224
224
  )));
225
225
  }