Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/ai-ide
browser/workspace-functions
WorkspaceFunctionScope
Class WorkspaceFunctionScope
Index
Constructors
constructor
Properties
file
Service
GITIGNORE_
FILE_
NAME
preferences
workspace
Service
Methods
ensure
Within
Workspace
get
Workspace
Root
is
Git
Ignored
is
User
Excluded
resolve
Relative
Path
should
Exclude
Constructors
constructor
new
WorkspaceFunctionScope
()
:
WorkspaceFunctionScope
Returns
WorkspaceFunctionScope
Properties
Protected
Readonly
file
Service
fileService
:
FileService
Protected
Readonly
GITIGNORE_
FILE_
NAME
GITIGNORE_FILE_NAME
:
".gitignore"
= '.gitignore'
Protected
Readonly
preferences
preferences
:
PreferenceService
Protected
Readonly
workspace
Service
workspaceService
:
WorkspaceService
Methods
ensure
Within
Workspace
ensureWithinWorkspace
(
targetUri
:
URI
,
workspaceRootUri
:
URI
)
:
void
Parameters
targetUri
:
URI
workspaceRootUri
:
URI
Returns
void
get
Workspace
Root
getWorkspaceRoot
()
:
Promise
<
URI
>
Returns
Promise
<
URI
>
Protected
is
Git
Ignored
isGitIgnored
(
stat
:
FileStat
,
workspaceRoot
:
URI
)
:
Promise
<
boolean
>
Parameters
stat
:
FileStat
workspaceRoot
:
URI
Returns
Promise
<
boolean
>
Protected
is
User
Excluded
isUserExcluded
(
fileName
:
string
,
userExcludePatterns
:
string
[]
)
:
boolean
Parameters
fileName
:
string
userExcludePatterns
:
string
[]
Returns
boolean
resolve
Relative
Path
resolveRelativePath
(
relativePath
:
string
)
:
Promise
<
URI
>
Parameters
relativePath
:
string
Returns
Promise
<
URI
>
should
Exclude
shouldExclude
(
stat
:
FileStat
)
:
Promise
<
boolean
>
Parameters
stat
:
FileStat
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
file
Service
GITIGNORE_
FILE_
NAME
preferences
workspace
Service
Methods
ensure
Within
Workspace
get
Workspace
Root
is
Git
Ignored
is
User
Excluded
resolve
Relative
Path
should
Exclude
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...