Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.typescript.server.project-service


add-files-to-non-inferred-projectcljs

(add-files-to-non-inferred-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

add-missing-source-map-filecljs

(add-missing-source-map-file project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

add-source-info-to-source-mapcljs

(add-source-info-to-source-map project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

all-js-files-for-open-file-telemetrycljs

(all-js-files-for-open-file-telemetry project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

allow-local-plugin-loads?cljs

(allow-local-plugin-loads? project-service)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

apply-safe-listcljs

(apply-safe-list project-service proj)

Parameters:

  • proj: ExternalProject

Returns: NormalizedPath[]

**Parameters:**
- `proj`: `ExternalProject`

**Returns:** `NormalizedPath[]`
sourceraw docstring

apply-safe-list-workercljs

(apply-safe-list-worker project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

assign-orphan-script-infos-to-inferred-projectcljs

(assign-orphan-script-infos-to-inferred-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

assign-project-to-opened-script-infocljs

(assign-project-to-opened-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

cancellation-tokencljs

(cancellation-token project-service)

Returns: HostCancellationToken

**Returns:** `HostCancellationToken`
sourceraw docstring

cleanup-after-opening-filecljs

(cleanup-after-opening-file project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

close-client-filecljs

(close-client-file project-service unchecked-file-name)

Close file whose contents is managed by the client

Parameters:

  • unchecked-file-name: string

Returns: void

Close file whose contents is managed by the client

**Parameters:**
- `unchecked-file-name`: `string`

**Returns:** `void`
sourceraw docstring

close-configured-project-referenced-from-external-projectcljs

(close-configured-project-referenced-from-external-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

close-external-projectcljs

(close-external-project project-service unchecked-file-name)

Parameters:

  • unchecked-file-name: string

Returns: void

**Parameters:**
- `unchecked-file-name`: `string`

**Returns:** `void`
sourceraw docstring

close-logcljs

(close-log project-service)

Returns: void

**Returns:** `void`
sourceraw docstring

close-open-filecljs

(close-open-file project-service)

Remove this file from the set of open, non-configured files.

Returns: any

Remove this file from the set of open, non-configured files.

**Returns:** `any`
sourceraw docstring

collect-changescljs

(collect-changes project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

compiler-options-for-inferred-projectscljs

(compiler-options-for-inferred-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

compiler-options-for-inferred-projects-per-project-rootcljs

(compiler-options-for-inferred-projects-per-project-root project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

config-file-existence-impacts-root-of-inferred-projectcljs

(config-file-existence-impacts-root-of-inferred-project project-service)

Returns true if the configFileExistenceInfo is needed/impacted by open files that are root of inferred project

Returns: any

Returns true if the configFileExistenceInfo is needed/impacted by open files that are root of inferred project

**Returns:** `any`
sourceraw docstring

config-file-existscljs

(config-file-exists project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

config-file-name-for-filecljs

(config-file-name-for-file project-service)

This function tries to search for a tsconfig.json for the given file. This is different from the method the compiler uses because the compiler can assume it will always start searching in the current directory (the directory in which tsc was invoked). The server must start searching from the directory containing the newly opened file. If script info is passed in, it is asserted to be open script info otherwise just file name

Returns: any

This function tries to search for a tsconfig.json for the given file.
This is different from the method the compiler uses because
the compiler can assume it will always start searching in the
current directory (the directory in which tsc was invoked).
The server must start searching from the directory containing
the newly opened file.
If script info is passed in, it is asserted to be open script info
otherwise just file name

**Returns:** `any`
sourceraw docstring

configure-plugincljs

(configure-plugin project-service args)

Parameters:

  • args: ConfigurePluginRequestArguments

Returns: void

**Parameters:**
- `args`: `ConfigurePluginRequestArguments`

**Returns:** `void`
sourceraw docstring

configured-project-by-canonical-config-file-pathcljs

(configured-project-by-canonical-config-file-path project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

configured-projectscljs

(configured-projects project-service)

projects specified by a tsconfig.json file

Returns: Map<string, ConfiguredProject>

projects specified by a tsconfig.json file

**Returns:** `Map<string, ConfiguredProject>`
sourceraw docstring

create-ancestor-projectscljs

(create-ancestor-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

create-external-projectcljs

(create-external-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

create-inferred-projectcljs

(create-inferred-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

create-node-modules-watchercljs

(create-node-modules-watcher project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

current-directorycljs

(current-directory project-service)

Returns: NormalizedPath

**Returns:** `NormalizedPath`
sourceraw docstring

current-plugin-enablement-promisecljs

(current-plugin-enablement-promise project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

default-project-for-filecljs

(default-project-for-file project-service file-name ensure-project?)

Parameters:

  • file-name: NormalizedPath
  • ensure-project?: boolean

Returns: Project | undefined

**Parameters:**
- `file-name`: `NormalizedPath`
- `ensure-project?`: `boolean`

**Returns:** `Project | undefined`
sourceraw docstring

delay-update-project-graphcljs

(delay-update-project-graph project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

delay-update-project-graphscljs

(delay-update-project-graphs project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

delay-update-projects-of-script-info-pathcljs

(delay-update-projects-of-script-info-path project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

delay-update-source-info-projectscljs

(delay-update-source-info-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

delete-script-infocljs

(delete-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

do-ensure-default-project-for-filecljs

(do-ensure-default-project-for-file project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

enable-requested-plugins-asynccljs

(enable-requested-plugins-async project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

enable-requested-plugins-for-project-asynccljs

(enable-requested-plugins-for-project-async project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

enable-requested-plugins-workercljs

(enable-requested-plugins-worker project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

ensure-project-childrencljs

(ensure-project-children project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

ensure-project-for-open-filescljs

(ensure-project-for-open-files project-service)

This function is to update the project structure for every inferred project. It is called on the premise that all the configured projects are up to date. This will go through open files and assign them to inferred project if open file is not part of any other project After that all the inferred project graphs are updated

Returns: any

This function is to update the project structure for every inferred project.
It is called on the premise that all the configured projects are
up to date.
This will go through open files and assign them to inferred project if open file is not part of any other project
After that all the inferred project graphs are updated

**Returns:** `any`
sourceraw docstring

ensure-project-structures-upto-datecljs

(ensure-project-structures-upto-date project-service)

Ensures the project structures are upto date This means,

  • we go through all the projects and update them if they are dirty
  • if updates reflect some change in structure or there was pending request to ensure projects for open files ensure that each open script info has project

Returns: any

Ensures the project structures are upto date
This means,
- we go through all the projects and update them if they are dirty
- if updates reflect some change in structure or there was pending request to ensure projects for open files
  ensure that each open script info has project

**Returns:** `any`
sourceraw docstring

escape-filename-for-regexcljs

(escape-filename-for-regex project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

external-project-to-configured-project-mapcljs

(external-project-to-configured-project-map project-service)

maps external project file name to list of config files that were the part of this project

Returns: any

maps external project file name to list of config files that were the part of this project

**Returns:** `any`
sourceraw docstring

external-projectscljs

(external-projects project-service)

external projects (configuration and list of root files is not controlled by tsserver)

Returns: ExternalProject[]

external projects (configuration and list of root files is not controlled by tsserver)

**Returns:** `ExternalProject[]`
sourceraw docstring

filename-escape-regexpcljs

(filename-escape-regexp project-service)

Makes a filename safe to insert in a RegExp

Returns: any

Makes a filename safe to insert in a RegExp

**Returns:** `any`
sourceraw docstring

filename-for-exceeded-total-size-limit-for-non-ts-filescljs

(filename-for-exceeded-total-size-limit-for-non-ts-files project-service)

Get a filename if the language service exceeds the maximum allowed program size; otherwise returns undefined.

Returns: any

Get a filename if the language service exceeds the maximum allowed program size; otherwise returns undefined.

**Returns:** `any`
sourceraw docstring

filename-to-script-info-versioncljs

(filename-to-script-info-version project-service)

Contains all the deleted script info's version information so that it does not reset when creating script info again (and could have potentially collided with version where contents mismatch)

Returns: any

Contains all the deleted script info's version information so that
it does not reset when creating script info again
(and could have potentially collided with version where contents mismatch)

**Returns:** `any`
sourceraw docstring

find-external-project-by-project-namecljs

(find-external-project-by-project-name project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

find-external-project-containing-open-script-infocljs

(find-external-project-containing-open-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

find-projectcljs

(find-project project-service project-name)

Parameters:

  • project-name: string

Returns: Project | undefined

**Parameters:**
- `project-name`: `string`

**Returns:** `Project | undefined`
sourceraw docstring

for-each-config-file-locationcljs

(for-each-config-file-location project-service)

This function tries to search for a tsconfig.json for the given file. This is different from the method the compiler uses because the compiler can assume it will always start searching in the current directory (the directory in which tsc was invoked). The server must start searching from the directory containing the newly opened file.

Returns: any

This function tries to search for a tsconfig.json for the given file.
This is different from the method the compiler uses because
the compiler can assume it will always start searching in the
current directory (the directory in which tsc was invoked).
The server must start searching from the directory containing
the newly opened file.

**Returns:** `any`
sourceraw docstring

format-code-optionscljs

(format-code-options project-service file)

Parameters:

  • file: NormalizedPath

Returns: FormatCodeSettings

**Parameters:**
- `file`: `NormalizedPath`

**Returns:** `FormatCodeSettings`
sourceraw docstring

global-cache-location-directory-pathcljs

(global-cache-location-directory-path project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

global-pluginscljs

(global-plugins project-service)

Returns: readonly string[]

**Returns:** `readonly string[]`
sourceraw docstring

handle-deleted-filecljs

(handle-deleted-file project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

handle-source-map-projectscljs

(handle-source-map-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

has-deferred-extension?cljs

(has-deferred-extension? project-service)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

hostcljs

(host project-service)

Returns: ServerHost

**Returns:** `ServerHost`
sourceraw docstring

host-configurationcljs

(host-configuration project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

host-format-code-optionscljs

(host-format-code-options project-service)

Returns: FormatCodeSettings

**Returns:** `FormatCodeSettings`
sourceraw docstring

host-preferencescljs

(host-preferences project-service)

Returns: UserPreferences

**Returns:** `UserPreferences`
sourceraw docstring

inferred-projectscljs

(inferred-projects project-service)

projects built from openFileRoots

Returns: InferredProject[]

projects built from openFileRoots

**Returns:** `InferredProject[]`
sourceraw docstring

js-doc-parsing-modecljs

(js-doc-parsing-mode project-service)

Returns: JSDocParsingMode | undefined

**Returns:** `JSDocParsingMode | undefined`
sourceraw docstring

legacy-safelistcljs

(legacy-safelist project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

load-types-mapcljs

(load-types-map project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

loggercljs

(logger project-service)

Returns: Logger

**Returns:** `Logger`
sourceraw docstring

modified-timecljs

(modified-time project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

node-modules-watcherscljs

(node-modules-watchers project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

on-source-file-changedcljs

(on-source-file-changed project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

open-client-filecljs

(open-client-file project-service file-name)
(open-client-file project-service file-name file-content)
(open-client-file project-service file-name file-content script-kind)
(open-client-file project-service
                  file-name
                  file-content
                  script-kind
                  project-root-path)

Open file whose contents is managed by the client

Parameters:

  • file-name: string
  • file-content: string | undefined - is a known version of the file content that is more up to date than the one on disk
  • script-kind: ScriptKind | undefined
  • project-root-path: string | undefined

Returns: OpenConfiguredProjectResult

Open file whose contents is managed by the client

**Parameters:**
- `file-name`: `string`
- `file-content`: `string | undefined` - is a known version of the file content that is more up to date than the one on disk
- `script-kind`: `ScriptKind | undefined`
- `project-root-path`: `string | undefined`

**Returns:** `OpenConfiguredProjectResult`
sourceraw docstring

open-client-file-with-normalized-pathcljs

(open-client-file-with-normalized-path project-service file-name)
(open-client-file-with-normalized-path project-service file-name file-content)
(open-client-file-with-normalized-path project-service
                                       file-name
                                       file-content
                                       script-kind)
(open-client-file-with-normalized-path project-service
                                       file-name
                                       file-content
                                       script-kind
                                       has-mixed-content?)
(open-client-file-with-normalized-path project-service
                                       file-name
                                       file-content
                                       script-kind
                                       has-mixed-content?
                                       project-root-path)

Parameters:

  • file-name: NormalizedPath
  • file-content: string | undefined
  • script-kind: ScriptKind | undefined
  • has-mixed-content?: boolean | undefined
  • project-root-path: NormalizedPath | undefined

Returns: OpenConfiguredProjectResult

**Parameters:**
- `file-name`: `NormalizedPath`
- `file-content`: `string | undefined`
- `script-kind`: `ScriptKind | undefined`
- `has-mixed-content?`: `boolean | undefined`
- `project-root-path`: `NormalizedPath | undefined`

**Returns:** `OpenConfiguredProjectResult`
sourceraw docstring

open-external-projectcljs

(open-external-project project-service proj)

Parameters:

  • proj: ExternalProject

Returns: void

**Parameters:**
- `proj`: `ExternalProject`

**Returns:** `void`
sourceraw docstring

open-external-projectscljs

(open-external-projects project-service projects)

Parameters:

  • projects: ExternalProject[]

Returns: void

**Parameters:**
- `projects`: `ExternalProject[]`

**Returns:** `void`
sourceraw docstring

open-filescljs

(open-files project-service)

Open files: with value being project root path, and key being Path of the file that is open

Returns: Map<string, NormalizedPath | undefined>

Open files: with value being project root path, and key being Path of the file that is open

**Returns:** `Map<string, NormalizedPath | undefined>`
sourceraw docstring

open-files-with-non-rooted-disk-pathcljs

(open-files-with-non-rooted-disk-path project-service)

Map of open files that are opened without complete path but have projectRoot as current directory

Returns: any

Map of open files that are opened without complete path but have projectRoot as current directory

**Returns:** `any`
sourceraw docstring

or-create-inferred-project-for-project-root-path-if-enabledcljs

(or-create-inferred-project-for-project-root-path-if-enabled project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

or-create-open-script-infocljs

(or-create-open-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

or-create-script-info-for-normalized-pathcljs

(or-create-script-info-for-normalized-path project-service
                                           file-name
                                           opened-by-client?)
(or-create-script-info-for-normalized-path project-service
                                           file-name
                                           opened-by-client?
                                           file-content)
(or-create-script-info-for-normalized-path project-service
                                           file-name
                                           opened-by-client?
                                           file-content
                                           script-kind)
(or-create-script-info-for-normalized-path project-service
                                           file-name
                                           opened-by-client?
                                           file-content
                                           script-kind
                                           has-mixed-content?)
(or-create-script-info-for-normalized-path project-service
                                           file-name
                                           opened-by-client?
                                           file-content
                                           script-kind
                                           has-mixed-content?
                                           host-to-query-file-exists-on)

Parameters:

  • file-name: NormalizedPath
  • opened-by-client?: boolean
  • file-content: string | undefined
  • script-kind: ScriptKind | undefined
  • has-mixed-content?: boolean | undefined
  • host-to-query-file-exists-on: { fileExists(path: string): boolean; } | undefined

Returns: ScriptInfo | undefined

**Parameters:**
- `file-name`: `NormalizedPath`
- `opened-by-client?`: `boolean`
- `file-content`: `string | undefined`
- `script-kind`: `ScriptKind | undefined`
- `has-mixed-content?`: `boolean | undefined`
- `host-to-query-file-exists-on`: `{ fileExists(path: string): boolean; } | undefined`

**Returns:** `ScriptInfo | undefined`
sourceraw docstring

or-create-script-info-not-opened-by-client-for-normalized-pathcljs

(or-create-script-info-not-opened-by-client-for-normalized-path project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

or-create-script-info-opened-by-client-for-normalized-pathcljs

(or-create-script-info-opened-by-client-for-normalized-path project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

or-create-script-info-workercljs

(or-create-script-info-worker project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

or-create-single-inferred-project-if-enabledcljs

(or-create-single-inferred-project-if-enabled project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

or-create-single-inferred-without-project-rootcljs

(or-create-single-inferred-without-project-root project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

pending-plugin-enablementscljs

(pending-plugin-enablements project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

pending-project-updatescljs

(pending-project-updates project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

performance-event-handlercljs

(performance-event-handler project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

plugin-probe-locationscljs

(plugin-probe-locations project-service)

Returns: readonly string[]

**Returns:** `readonly string[]`
sourceraw docstring

preferencescljs

(preferences project-service file)

Parameters:

  • file: NormalizedPath

Returns: UserPreferences

**Parameters:**
- `file`: `NormalizedPath`

**Returns:** `UserPreferences`
sourceraw docstring

(print-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

project-to-size-mapcljs

(project-to-size-map project-service)

Project size for configured or external projects

Returns: any

Project size for configured or external projects

**Returns:** `any`
sourceraw docstring

refresh-script-infocljs

(refresh-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

refresh-script-infos-in-directorycljs

(refresh-script-infos-in-directory project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

reload-configured-project-for-filescljs

(reload-configured-project-for-files project-service)

This function goes through all the openFiles and tries to file the config file for them. If the config file is found and it refers to existing project, it reloads it either immediately or schedules it for reload depending on delayReload option If there is no existing project it just opens the configured project for the config file reloadForInfo provides a way to filter out files to reload configured project for

Returns: any

This function goes through all the openFiles and tries to file the config file for them.
If the config file is found and it refers to existing project, it reloads it either immediately
or schedules it for reload depending on delayReload option
If there is no existing project it just opens the configured project for the config file
reloadForInfo provides a way to filter out files to reload configured project for

**Returns:** `any`
sourceraw docstring

reload-projectscljs

(reload-projects project-service)

This function rebuilds the project for every file opened by the client This does not reload contents of open files from disk. But we could do that if needed

Returns: void

This function rebuilds the project for every file opened by the client
This does not reload contents of open files from disk. But we could do that if needed

**Returns:** `void`
sourceraw docstring

remove-orphan-configured-projectscljs

(remove-orphan-configured-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

remove-orphan-script-infoscljs

(remove-orphan-script-infos project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

remove-projectcljs

(remove-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

remove-root-of-inferred-project-if-now-part-of-other-projectcljs

(remove-root-of-inferred-project-if-now-part-of-other-project project-service)

Remove the root of inferred project if script info is part of another project

Returns: any

Remove the root of inferred project if script info is part of another project

**Returns:** `any`
sourceraw docstring

reset-safe-listcljs

(reset-safe-list project-service)

Returns: void

**Returns:** `void`
sourceraw docstring

safelistcljs

(safelist project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

script-infocljs

(script-info project-service unchecked-file-name)

Parameters:

  • unchecked-file-name: string

Returns: ScriptInfo | undefined

**Parameters:**
- `unchecked-file-name`: `string`

**Returns:** `ScriptInfo | undefined`
sourceraw docstring

script-info-ensuring-projects-upto-datecljs

(script-info-ensuring-projects-upto-date project-service unchecked-file-name)

Parameters:

  • unchecked-file-name: string

Returns: ScriptInfo | undefined

**Parameters:**
- `unchecked-file-name`: `string`

**Returns:** `ScriptInfo | undefined`
sourceraw docstring

script-info-for-normalized-pathcljs

(script-info-for-normalized-path project-service file-name)

This gets the script info for the normalized path. If the path is not rooted disk path then the open script info with project root context is preferred

Parameters:

  • file-name: NormalizedPath

Returns: ScriptInfo | undefined

This gets the script info for the normalized path. If the path is not rooted disk path then the open script info with project root context is preferred

**Parameters:**
- `file-name`: `NormalizedPath`

**Returns:** `ScriptInfo | undefined`
sourceraw docstring

script-info-for-pathcljs

(script-info-for-path project-service file-name)

Parameters:

  • file-name: Path

Returns: ScriptInfo | undefined

**Parameters:**
- `file-name`: `Path`

**Returns:** `ScriptInfo | undefined`
sourceraw docstring

seen-projectscljs

(seen-projects project-service)

Tracks projects that we have already sent telemetry for.

Returns: any

Tracks projects that we have already sent telemetry for.

**Returns:** `any`
sourceraw docstring

send-config-file-diag-eventcljs

(send-config-file-diag-event project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

server-modecljs

(server-mode project-service)

Returns: LanguageServiceMode

**Returns:** `LanguageServiceMode`
sourceraw docstring

set-add-files-to-non-inferred-project!cljs

(set-add-files-to-non-inferred-project! project-service value)
source

set-add-missing-source-map-file!cljs

(set-add-missing-source-map-file! project-service value)
source

set-add-source-info-to-source-map!cljs

(set-add-source-info-to-source-map! project-service value)
source

set-apply-safe-list-worker!cljs

(set-apply-safe-list-worker! project-service value)
source

set-assign-orphan-script-infos-to-inferred-project!cljs

(set-assign-orphan-script-infos-to-inferred-project! project-service value)
source

set-assign-project-to-opened-script-info!cljs

(set-assign-project-to-opened-script-info! project-service value)
source

set-cleanup-after-opening-file!cljs

(set-cleanup-after-opening-file! project-service value)
source

set-close-configured-project-referenced-from-external-project!cljs

(set-close-configured-project-referenced-from-external-project! project-service
                                                                value)
source

set-close-open-file!cljs

(set-close-open-file! project-service value)

Remove this file from the set of open, non-configured files.

Remove this file from the set of open, non-configured files.
sourceraw docstring

set-collect-changes!cljs

(set-collect-changes! project-service value)
source

set-compiler-options-for-inferred-projectscljs

(set-compiler-options-for-inferred-projects project-service
                                            project-compiler-options)
(set-compiler-options-for-inferred-projects project-service
                                            project-compiler-options
                                            project-root-path)

Parameters:

  • project-compiler-options: InferredProjectCompilerOptions
  • project-root-path: string | undefined

Returns: void

**Parameters:**
- `project-compiler-options`: `InferredProjectCompilerOptions`
- `project-root-path`: `string | undefined`

**Returns:** `void`
sourceraw docstring

set-compiler-options-for-inferred-projects!cljs

(set-compiler-options-for-inferred-projects! project-service value)
source

set-compiler-options-for-inferred-projects-per-project-root!cljs

(set-compiler-options-for-inferred-projects-per-project-root! project-service
                                                              value)
source

set-config-file-existence-impacts-root-of-inferred-project!cljs

(set-config-file-existence-impacts-root-of-inferred-project! project-service
                                                             value)

Returns true if the configFileExistenceInfo is needed/impacted by open files that are root of inferred project

Returns true if the configFileExistenceInfo is needed/impacted by open files that are root of inferred project
sourceraw docstring

set-config-file-exists!cljs

(set-config-file-exists! project-service value)
source

set-create-ancestor-projects!cljs

(set-create-ancestor-projects! project-service value)
source

set-create-external-project!cljs

(set-create-external-project! project-service value)
source

set-create-inferred-project!cljs

(set-create-inferred-project! project-service value)
source

set-create-node-modules-watcher!cljs

(set-create-node-modules-watcher! project-service value)
source

set-current-plugin-enablement-promise!cljs

(set-current-plugin-enablement-promise! project-service value)
source

set-delay-update-project-graph!cljs

(set-delay-update-project-graph! project-service value)
source

set-delay-update-project-graphs!cljs

(set-delay-update-project-graphs! project-service value)
source

set-delay-update-projects-of-script-info-path!cljs

(set-delay-update-projects-of-script-info-path! project-service value)
source

set-delay-update-source-info-projects!cljs

(set-delay-update-source-info-projects! project-service value)
source

set-delete-script-info!cljs

(set-delete-script-info! project-service value)
source

set-do-ensure-default-project-for-file!cljs

(set-do-ensure-default-project-for-file! project-service value)
source

set-enable-requested-plugins-async!cljs

(set-enable-requested-plugins-async! project-service value)
source

set-enable-requested-plugins-for-project-async!cljs

(set-enable-requested-plugins-for-project-async! project-service value)
source

set-enable-requested-plugins-worker!cljs

(set-enable-requested-plugins-worker! project-service value)
source

set-ensure-project-children!cljs

(set-ensure-project-children! project-service value)
source

set-ensure-project-for-open-files!cljs

(set-ensure-project-for-open-files! project-service value)

This function is to update the project structure for every inferred project. It is called on the premise that all the configured projects are up to date. This will go through open files and assign them to inferred project if open file is not part of any other project After that all the inferred project graphs are updated

This function is to update the project structure for every inferred project.
It is called on the premise that all the configured projects are
up to date.
This will go through open files and assign them to inferred project if open file is not part of any other project
After that all the inferred project graphs are updated
sourceraw docstring

set-ensure-project-structures-upto-date!cljs

(set-ensure-project-structures-upto-date! project-service value)

Ensures the project structures are upto date This means,

  • we go through all the projects and update them if they are dirty
  • if updates reflect some change in structure or there was pending request to ensure projects for open files ensure that each open script info has project
Ensures the project structures are upto date
This means,
- we go through all the projects and update them if they are dirty
- if updates reflect some change in structure or there was pending request to ensure projects for open files
  ensure that each open script info has project
sourceraw docstring

set-escape-filename-for-regex!cljs

(set-escape-filename-for-regex! project-service value)
source

set-find-external-project-by-project-name!cljs

(set-find-external-project-by-project-name! project-service value)
source

set-find-external-project-containing-open-script-info!cljs

(set-find-external-project-containing-open-script-info! project-service value)
source

set-for-each-config-file-location!cljs

(set-for-each-config-file-location! project-service value)

This function tries to search for a tsconfig.json for the given file. This is different from the method the compiler uses because the compiler can assume it will always start searching in the current directory (the directory in which tsc was invoked). The server must start searching from the directory containing the newly opened file.

This function tries to search for a tsconfig.json for the given file.
This is different from the method the compiler uses because
the compiler can assume it will always start searching in the
current directory (the directory in which tsc was invoked).
The server must start searching from the directory containing
the newly opened file.
sourceraw docstring

set-get-config-file-name-for-file!cljs

(set-get-config-file-name-for-file! project-service value)

This function tries to search for a tsconfig.json for the given file. This is different from the method the compiler uses because the compiler can assume it will always start searching in the current directory (the directory in which tsc was invoked). The server must start searching from the directory containing the newly opened file. If script info is passed in, it is asserted to be open script info otherwise just file name

This function tries to search for a tsconfig.json for the given file.
This is different from the method the compiler uses because
the compiler can assume it will always start searching in the
current directory (the directory in which tsc was invoked).
The server must start searching from the directory containing
the newly opened file.
If script info is passed in, it is asserted to be open script info
otherwise just file name
sourceraw docstring

set-get-configured-project-by-canonical-config-file-path!cljs

(set-get-configured-project-by-canonical-config-file-path! project-service
                                                           value)
source

set-get-filename-for-exceeded-total-size-limit-for-non-ts-files!cljs

(set-get-filename-for-exceeded-total-size-limit-for-non-ts-files!
  project-service
  value)

Get a filename if the language service exceeds the maximum allowed program size; otherwise returns undefined.

Get a filename if the language service exceeds the maximum allowed program size; otherwise returns undefined.
sourceraw docstring

set-get-modified-time!cljs

(set-get-modified-time! project-service value)
source

set-get-or-create-inferred-project-for-project-root-path-if-enabled!cljs

(set-get-or-create-inferred-project-for-project-root-path-if-enabled!
  project-service
  value)
source

set-get-or-create-open-script-info!cljs

(set-get-or-create-open-script-info! project-service value)
source

set-get-or-create-script-info-not-opened-by-client-for-normalized-path!cljs

(set-get-or-create-script-info-not-opened-by-client-for-normalized-path!
  project-service
  value)
source

set-get-or-create-script-info-opened-by-client-for-normalized-path!cljs

(set-get-or-create-script-info-opened-by-client-for-normalized-path!
  project-service
  value)
source

set-get-or-create-script-info-worker!cljs

(set-get-or-create-script-info-worker! project-service value)
source

set-get-or-create-single-inferred-project-if-enabled!cljs

(set-get-or-create-single-inferred-project-if-enabled! project-service value)
source

set-get-or-create-single-inferred-without-project-root!cljs

(set-get-or-create-single-inferred-without-project-root! project-service value)
source

set-handle-deleted-file!cljs

(set-handle-deleted-file! project-service value)
source

set-handle-source-map-projects!cljs

(set-handle-source-map-projects! project-service value)
source

set-host-configurationcljs

(set-host-configuration project-service args)

Parameters:

  • args: ConfigureRequestArguments

Returns: void

**Parameters:**
- `args`: `ConfigureRequestArguments`

**Returns:** `void`
sourceraw docstring

set-load-types-map!cljs

(set-load-types-map! project-service value)
source

set-on-source-file-changed!cljs

(set-on-source-file-changed! project-service value)
source

set-pending-plugin-enablements!cljs

(set-pending-plugin-enablements! project-service value)
source

set-pending-project-updates!cljs

(set-pending-project-updates! project-service value)
source

set-performance-event-handler!cljs

(set-performance-event-handler! project-service value)
source

set-print-projects!cljs

(set-print-projects! project-service value)
source

set-refresh-script-info!cljs

(set-refresh-script-info! project-service value)
source

set-refresh-script-infos-in-directory!cljs

(set-refresh-script-infos-in-directory! project-service value)
source

set-reload-configured-project-for-files!cljs

(set-reload-configured-project-for-files! project-service value)

This function goes through all the openFiles and tries to file the config file for them. If the config file is found and it refers to existing project, it reloads it either immediately or schedules it for reload depending on delayReload option If there is no existing project it just opens the configured project for the config file reloadForInfo provides a way to filter out files to reload configured project for

This function goes through all the openFiles and tries to file the config file for them.
If the config file is found and it refers to existing project, it reloads it either immediately
or schedules it for reload depending on delayReload option
If there is no existing project it just opens the configured project for the config file
reloadForInfo provides a way to filter out files to reload configured project for
sourceraw docstring

set-remove-orphan-configured-projects!cljs

(set-remove-orphan-configured-projects! project-service value)
source

set-remove-orphan-script-infos!cljs

(set-remove-orphan-script-infos! project-service value)
source

set-remove-project!cljs

(set-remove-project! project-service value)
source

set-remove-root-of-inferred-project-if-now-part-of-other-project!cljs

(set-remove-root-of-inferred-project-if-now-part-of-other-project!
  project-service
  value)

Remove the root of inferred project if script info is part of another project

Remove the root of inferred project if script info is part of another project
sourceraw docstring

set-safelist!cljs

(set-safelist! project-service value)
source

set-send-config-file-diag-event!cljs

(set-send-config-file-diag-event! project-service value)
source

set-stop-watching-config-files-for-closed-script-info!cljs

(set-stop-watching-config-files-for-closed-script-info! project-service value)

This is called on file close, so that we stop watching the config file for this script info

This is called on file close, so that we stop watching the config file for this script info
sourceraw docstring

set-stop-watching-script-info!cljs

(set-stop-watching-script-info! project-service value)
source

set-telemetry-on-open-file!cljs

(set-telemetry-on-open-file! project-service value)
source

set-type-acquisition-for-inferred-projects!cljs

(set-type-acquisition-for-inferred-projects! project-service value)
source

set-type-acquisition-for-inferred-projects-per-project-root!cljs

(set-type-acquisition-for-inferred-projects-per-project-root! project-service
                                                              value)
source

set-update-non-inferred-project-files!cljs

(set-update-non-inferred-project-files! project-service value)
source

set-update-root-and-options-of-non-inferred-project!cljs

(set-update-root-and-options-of-non-inferred-project! project-service value)
source

set-watch-closed-script-info!cljs

(set-watch-closed-script-info! project-service value)
source

set-watch-closed-script-info-in-node-modules!cljs

(set-watch-closed-script-info-in-node-modules! project-service value)
source

set-watch-options-for-inferred-projects!cljs

(set-watch-options-for-inferred-projects! project-service value)
source

set-watch-options-for-inferred-projects-per-project-root!cljs

(set-watch-options-for-inferred-projects-per-project-root! project-service
                                                           value)
source

stop-watching-config-files-for-closed-script-infocljs

(stop-watching-config-files-for-closed-script-info project-service)

This is called on file close, so that we stop watching the config file for this script info

Returns: any

This is called on file close, so that we stop watching the config file for this script info

**Returns:** `any`
sourceraw docstring

stop-watching-script-infocljs

(stop-watching-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

suppress-diagnostic-eventscljs

(suppress-diagnostic-events project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

telemetry-on-open-filecljs

(telemetry-on-open-file project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

throttle-wait-millisecondscljs

(throttle-wait-milliseconds project-service)

Returns: number | undefined

**Returns:** `number | undefined`
sourceraw docstring

to-canonical-file-namecljs

(to-canonical-file-name project-service)

Returns: (f: string) => string

**Returns:** `(f: string) => string`
sourceraw docstring

to-pathcljs

(to-path project-service file-name)

Parameters:

  • file-name: string

Returns: Path

**Parameters:**
- `file-name`: `string`

**Returns:** `Path`
sourceraw docstring

type-acquisition-for-inferred-projectscljs

(type-acquisition-for-inferred-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

type-acquisition-for-inferred-projects-per-project-rootcljs

(type-acquisition-for-inferred-projects-per-project-root project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

types-map-locationcljs

(types-map-location project-service)

Returns: string | undefined

**Returns:** `string | undefined`
sourceraw docstring

typings-installercljs

(typings-installer project-service)

Returns: ITypingsInstaller

**Returns:** `ITypingsInstaller`
sourceraw docstring

update-non-inferred-project-filescljs

(update-non-inferred-project-files project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

update-root-and-options-of-non-inferred-projectcljs

(update-root-and-options-of-non-inferred-project project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

update-typings-for-projectcljs

(update-typings-for-project project-service response)

Parameters:

  • response: PackageInstalledResponse | InvalidateCachedTypings | SetTypings

Returns: void

**Parameters:**
- `response`: `PackageInstalledResponse | InvalidateCachedTypings | SetTypings`

**Returns:** `void`
sourceraw docstring

use-inferred-project-per-project-root?cljs

(use-inferred-project-per-project-root? project-service)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

use-single-inferred-project?cljs

(use-single-inferred-project? project-service)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

watch-closed-script-infocljs

(watch-closed-script-info project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

watch-closed-script-info-in-node-modulescljs

(watch-closed-script-info-in-node-modules project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

watch-options-for-inferred-projectscljs

(watch-options-for-inferred-projects project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

watch-options-for-inferred-projects-per-project-rootcljs

(watch-options-for-inferred-projects-per-project-root project-service)

Returns: any

**Returns:** `any`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close