1.0.0 • Published 6 years ago

vscode-test-utils v1.0.0

Weekly downloads
37
License
MIT
Repository
github
Last release
6 years ago

vscode-test-utils

Test utilities for Visual Studio Code.

Build Status

API

import * as utils from 'vscode-test-utils`;

closeAllFiles(): Promise<void>

Closes all files in the workspace.

createFile(contents: string, filename?: string): Promise<string>

Creates a file. If filename is not provided, a random file is written in the operating system's temporary directory.

openEmptyFile(): Promise<vscode.Uri>

Opens an empty file in the workspace.

openFile(path: string): Promise<vscode.Uri>

Opens a file in the workspace.

1.0.0

6 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago