GithubHelp home page GithubHelp logo

jdforsythe / vscode-add-new-line-to-files Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 5 KB

An extension for Visual Studio Code to add new lines to files on save

TypeScript 100.00%
vscode vscode-extension newline

vscode-add-new-line-to-files's Introduction

Add New Line to Files Visual Studio Code Extension

This extension ensures that all files end in a new line when you save them

Features

When you save any file, this will add a new line to the end of the file, if there isn't one present. You can set the preferred line ending in the config option editor.lineEnding in your User Settings or Workspace Settings. Default is \n.

Extension Settings

This extension contributes the following settings:

  • editor.lineEnding: (string) - default "\n" - the line ending to use when adding to the end of your files

Known Issues

There is currently no way to whitelist or blacklist file types. This is planned for a future release.

vscode-add-new-line-to-files's People

Contributors

jdforsythe avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

5nyper rkildea1

vscode-add-new-line-to-files's Issues

Conflicts with prettier

I openend an issue prettier/prettier-vscode#42 at the prettier plugin.

Your plugin produces an endless loop in my package.json file when prettier is enabled. It seems that this issue will be produced by your plugin and should be fixed here.

Any help would be welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.