WorkspaceFolder class

A workspace folder is one of potentially many roots opened by the editor. All workspace folders are equal which means there is no notion of an active or primary workspace folder.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

WorkspaceFolder.new({Uri? uri, String? name, num? index})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
index num

Available on WorkspaceFolder, provided by the WorkspaceFolder$Typings extension

The ordinal number of this workspace folder.
no setter
name String

Available on WorkspaceFolder, provided by the WorkspaceFolder$Typings extension

The name of this workspace folder. Defaults to the basename of its {@link Uri.pathuri-path}
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri

Available on WorkspaceFolder, provided by the WorkspaceFolder$Typings extension

The associated uri for this workspace folder.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited