Liking cljdoc? Tell your friends :D

dots.typescript.server.protocol.external-file

Represents a file in external project. External project is project whose set of files, compilation options and open\close state is maintained by the client (i.e. if all this data come from .csproj file in Visual Studio). External project will exist even if all files in it are closed and should be closed explicitly. If external project includes one or more tsconfig.json/jsconfig.json files then tsserver will create configured project for every config file but will maintain a link that these projects were created as a result of opening external project so they should be removed once external project is closed.

Represents a file in external project.
External project is project whose set of files, compilation options and open\close state
is maintained by the client (i.e. if all this data come from .csproj file in Visual Studio).
External project will exist even if all files in it are closed and should be closed explicitly.
If external project includes one or more tsconfig.json/jsconfig.json files then tsserver will
create configured project for every config file but will maintain a link that these projects were created
as a result of opening external project so they should be removed once external project is closed.
raw docstring

contentcljs

(content external-file)

Content of the file

Returns: string | undefined

Content of the file

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

file-namecljs

(file-name external-file)

Name of file file

Returns: string

Name of file file

**Returns:** `string`
sourceraw docstring

has-mixed-content?cljs

(has-mixed-content? external-file)

Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)

Returns: boolean | undefined

Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)

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

script-kindcljs

(script-kind external-file)

Script kind of the file

Returns: ScriptKind | ScriptKindName | undefined

Script kind of the file

**Returns:** `ScriptKind | ScriptKindName | undefined`
sourceraw docstring

set-content!cljs

(set-content! external-file value)

Content of the file

Content of the file
sourceraw docstring

set-file-name!cljs

(set-file-name! external-file value)

Name of file file

Name of file file
sourceraw docstring

set-has-mixed-content!cljs

(set-has-mixed-content! external-file value)

Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)

Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)
sourceraw docstring

set-script-kind!cljs

(set-script-kind! external-file value)

Script kind of the file

Script kind of the file
sourceraw docstring

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

× close