@opensumi/sumi 2.17.3-next-1652155566.0 → 2.17.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": "@opensumi/sumi",
3
- "version": "2.17.3-next-1652155566.0",
3
+ "version": "2.17.4",
4
4
  "typings": "index.d.ts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,9 +12,9 @@
12
12
  "build": "ts-node ./build"
13
13
  },
14
14
  "dependencies": {
15
- "@opensumi/ide-components": "2.17.3-next-1652155566.0",
15
+ "@opensumi/ide-components": "2.17.4",
16
16
  "@types/react": "^16.9.33",
17
17
  "vscode-uri": "^3.0.2"
18
18
  },
19
- "gitHead": "0fa54719d9c8c6702b27b3e939f4edddf59e57c3"
19
+ "gitHead": "7e61faaae8b9e40c537690845cdebd5378403eb0"
20
20
  }
@@ -261,15 +261,6 @@ declare module 'vscode' {
261
261
  */
262
262
  export function registerCallHierarchyProvider(selector: DocumentSelector, provider: CallHierarchyProvider): Disposable;
263
263
 
264
- /**
265
- * Register a type hierarchy provider.
266
- *
267
- * @param selector A selector that defines the documents this provider is applicable to.
268
- * @param provider A type hierarchy provider.
269
- * @return A {@link Disposable} that unregisters this provider when being disposed.
270
- */
271
- export function registerTypeHierarchyProvider(selector: DocumentSelector, provider: TypeHierarchyProvider): Disposable;
272
-
273
264
  /**
274
265
  * Register a linked editing range provider.
275
266
  *
@@ -2634,103 +2625,4 @@ declare module 'vscode' {
2634
2625
  */
2635
2626
  provideCallHierarchyOutgoingCalls(item: CallHierarchyItem, token: CancellationToken): ProviderResult<CallHierarchyOutgoingCall[]>;
2636
2627
  }
2637
-
2638
- /**
2639
- * Represents an item of a type hierarchy, like a class or an interface.
2640
- */
2641
- export class TypeHierarchyItem {
2642
- /**
2643
- * The name of this item.
2644
- */
2645
- name: string;
2646
-
2647
- /**
2648
- * The kind of this item.
2649
- */
2650
- kind: SymbolKind;
2651
-
2652
- /**
2653
- * Tags for this item.
2654
- */
2655
- tags?: ReadonlyArray<SymbolTag>;
2656
-
2657
- /**
2658
- * More detail for this item, e.g. the signature of a function.
2659
- */
2660
- detail?: string;
2661
-
2662
- /**
2663
- * The resource identifier of this item.
2664
- */
2665
- uri: Uri;
2666
-
2667
- /**
2668
- * The range enclosing this symbol not including leading/trailing whitespace
2669
- * but everything else, e.g. comments and code.
2670
- */
2671
- range: Range;
2672
-
2673
- /**
2674
- * The range that should be selected and revealed when this symbol is being
2675
- * picked, e.g. the name of a class. Must be contained by the {@link TypeHierarchyItem.range range}-property.
2676
- */
2677
- selectionRange: Range;
2678
-
2679
- /**
2680
- * Creates a new type hierarchy item.
2681
- *
2682
- * @param kind The kind of the item.
2683
- * @param name The name of the item.
2684
- * @param detail The details of the item.
2685
- * @param uri The Uri of the item.
2686
- * @param range The whole range of the item.
2687
- * @param selectionRange The selection range of the item.
2688
- */
2689
- constructor(kind: SymbolKind, name: string, detail: string, uri: Uri, range: Range, selectionRange: Range);
2690
- }
2691
-
2692
-
2693
- /**
2694
- * The type hierarchy provider interface describes the contract between extensions
2695
- * and the type hierarchy feature.
2696
- */
2697
- export interface TypeHierarchyProvider {
2698
-
2699
- /**
2700
- * Bootstraps type hierarchy by returning the item that is denoted by the given document
2701
- * and position. This item will be used as entry into the type graph. Providers should
2702
- * return `undefined` or `null` when there is no item at the given location.
2703
- *
2704
- * @param document The document in which the command was invoked.
2705
- * @param position The position at which the command was invoked.
2706
- * @param token A cancellation token.
2707
- * @returns One or multiple type hierarchy items or a thenable that resolves to such. The lack of a result can be
2708
- * signaled by returning `undefined`, `null`, or an empty array.
2709
- */
2710
- prepareTypeHierarchy(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<TypeHierarchyItem | TypeHierarchyItem[]>;
2711
-
2712
- /**
2713
- * Provide all supertypes for an item, e.g all types from which a type is derived/inherited. In graph terms this describes directed
2714
- * and annotated edges inside the type graph, e.g the given item is the starting node and the result is the nodes
2715
- * that can be reached.
2716
- *
2717
- * @param item The hierarchy item for which super types should be computed.
2718
- * @param token A cancellation token.
2719
- * @returns A set of direct supertypes or a thenable that resolves to such. The lack of a result can be
2720
- * signaled by returning `undefined` or `null`.
2721
- */
2722
- provideTypeHierarchySupertypes(item: TypeHierarchyItem, token: CancellationToken): ProviderResult<TypeHierarchyItem[]>;
2723
-
2724
- /**
2725
- * Provide all subtypes for an item, e.g all types which are derived/inherited from the given item. In
2726
- * graph terms this describes directed and annotated edges inside the type graph, e.g the given item is the starting
2727
- * node and the result is the nodes that can be reached.
2728
- *
2729
- * @param item The hierarchy item for which subtypes should be computed.
2730
- * @param token A cancellation token.
2731
- * @returns A set of direct subtypes or a thenable that resolves to such. The lack of a result can be
2732
- * signaled by returning `undefined` or `null`.
2733
- */
2734
- provideTypeHierarchySubtypes(item: TypeHierarchyItem, token: CancellationToken): ProviderResult<TypeHierarchyItem[]>;
2735
- }
2736
2628
  }