# Ensure Single Final Newline for VS Code

[![Build Status](https://travis-ci.org/jmlntw/vscode-ensure-single-final-newline.svg?branch=master)](https://travis-ci.org/jmlntw/vscode-ensure-single-final-newline)
[![Build status](https://ci.appveyor.com/api/projects/status/088cb7nfu70mhv50?svg=true)](https://ci.appveyor.com/project/jmlntw/vscode-ensure-single-final-newline)
[![devDependencies Status](https://david-dm.org/jmlntw/vscode-ensure-single-final-newline/dev-status.svg)](https://david-dm.org/jmlntw/vscode-ensure-single-final-newline?type=dev)

This is a [Visual Studio Code](https://code.visualstudio.com/) extension that ensures all files end with a single new line.

## Features

This extension removes extra newlines at the end of the file but keeps only one when you save the file.

![Screenshot](images/screenshot.gif)

## Installation

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

```
ext install vscode-ensure-single-final-newline
```

## Extension Settings

Enable or disable by setting `files.ensureSingleFinalNewline` in VS Code configuration.

```json
{
  "files.ensureSingleFinalNewline": true
}
```

## License

Licensed under the [MIT License](LICENSE.md).

# Ensure Single Final Newline for VS Code

[![Build Status](https://travis-ci.org/jmlntw/vscode-ensure-single-final-newline.svg?branch=master)](https://travis-ci.org/jmlntw/vscode-ensure-single-final-newline)
[![Build status](https://ci.appveyor.com/api/projects/status/088cb7nfu70mhv50/branch/master?svg=true)](https://ci.appveyor.com/project/jmlntw/vscode-ensure-single-final-newline/branch/master)
[![devDependencies Status](https://david-dm.org/jmlntw/vscode-ensure-single-final-newline/dev-status.svg)](https://david-dm.org/jmlntw/vscode-ensure-single-final-newline?type=dev)

This is a [Visual Studio Code](https://code.visualstudio.com/) extension that ensures all files end with a single new line.

## Features

This extension removes extra newlines at the end of the file but keeps only one when you save the file.

![Screenshot](images/screenshot.gif)

## Installation

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

```
ext install vscode-ensure-single-final-newline
```

## Extension Settings

Enable or disable by setting `files.ensureSingleFinalNewline` in VS Code configuration.

```json
{
  "files.ensureSingleFinalNewline": true
}
```

## License

Licensed under the [MIT License](LICENSE.md).

Change AppVeyor badge to master branch status
Change AppVeyor badge to master branch status