---
url: /reference/@cssdoc/vscode-custom-data/functions/writeVscodeCustomData.md
---
# Function: writeVscodeCustomData()

```ts
function writeVscodeCustomData(options): object;
```

Defined in: [generators/vscode-custom-data/src/index.ts:78](https://github.com/thedannywahl/cssdoc/blob/main/generators/vscode-custom-data/src/index.ts#L78)

Write `css-custom-data.json` and `html-custom-data.json` into `outDir`.

## Parameters

### options

#### index

[`CssDocIndex`](../../index/classes/CssDocIndex.md)

#### outDir

`string`

## Returns

`object`

### cssPath

```ts
cssPath: string;
```

### htmlPath

```ts
htmlPath: string;
```
