@lvce-editor/quick-pick-worker 4.5.2 → 4.6.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.
@@ -2588,6 +2588,7 @@ const invoke = (method, ...args) => {
2588
2588
  const toProtoVisibleItem$2 = item => {
2589
2589
  const {
2590
2590
  description = '',
2591
+ icon = '',
2591
2592
  label,
2592
2593
  value
2593
2594
  } = item;
@@ -2595,7 +2596,7 @@ const toProtoVisibleItem$2 = item => {
2595
2596
  description,
2596
2597
  direntType: 0,
2597
2598
  fileIcon: '',
2598
- icon: '',
2599
+ icon,
2599
2600
  label,
2600
2601
  matches: [],
2601
2602
  uri: '',
@@ -3471,6 +3472,9 @@ const Custom = 'quickPick://custom';
3471
3472
  const GoToLine = 'quickPick://go-to-line';
3472
3473
 
3473
3474
  const getDefaultValue = (id, uri = '') => {
3475
+ if (uri === GoToLine) {
3476
+ return GoToLine$1;
3477
+ }
3474
3478
  if (uri === WorkspaceSymbol) {
3475
3479
  return WorkspaceSymbol$1;
3476
3480
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/quick-pick-worker",
3
- "version": "4.5.2",
3
+ "version": "4.6.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/lvce-editor/quick-pick-worker.git"