|
228 | 228 | "dark": "images/dark/plus-circle.svg"
|
229 | 229 | }
|
230 | 230 | },
|
| 231 | + { |
| 232 | + "command": "mdb.searchForDocuments", |
| 233 | + "title": "Search For Documents...", |
| 234 | + "icon": { |
| 235 | + "light": "images/light/search-regular.svg", |
| 236 | + "dark": "images/dark/search-regular.svg" |
| 237 | + } |
| 238 | + }, |
231 | 239 | {
|
232 | 240 | "command": "mdb.connectToConnectionTreeItem",
|
233 | 241 | "title": "Connect"
|
|
427 | 435 | "when": "view == mongoDB && viewItem == collectionTreeItem",
|
428 | 436 | "group": "3@1"
|
429 | 437 | },
|
| 438 | + { |
| 439 | + "command": "mdb.searchForDocuments", |
| 440 | + "when": "view == mongoDB && viewItem == documentListTreeItem", |
| 441 | + "group": "inline" |
| 442 | + }, |
430 | 443 | {
|
431 | 444 | "command": "mdb.viewCollectionDocuments",
|
432 |
| - "when": "view == mongoDB && viewItem == documentListTreeItem" |
| 445 | + "when": "view == mongoDB && viewItem == documentListTreeItem", |
| 446 | + "group": "1@1" |
433 | 447 | },
|
434 | 448 | {
|
435 | 449 | "command": "mdb.refreshDocumentList",
|
436 |
| - "when": "view == mongoDB && viewItem == documentListTreeItem" |
| 450 | + "when": "view == mongoDB && viewItem == documentListTreeItem", |
| 451 | + "group": "1@2" |
| 452 | + }, |
| 453 | + { |
| 454 | + "command": "mdb.searchForDocuments", |
| 455 | + "when": "view == mongoDB && viewItem == documentListTreeItem", |
| 456 | + "group": "2@1" |
437 | 457 | },
|
438 | 458 | {
|
439 | 459 | "command": "mdb.refreshSchema",
|
|
452 | 472 | }
|
453 | 473 | ],
|
454 | 474 | "commandPalette": [
|
| 475 | + { |
| 476 | + "command": "mdb.searchForDocuments", |
| 477 | + "when": "false" |
| 478 | + }, |
455 | 479 | {
|
456 | 480 | "command": "mdb.addConnection",
|
457 | 481 | "when": "false"
|
|
0 commit comments