GithubHelp home page GithubHelp logo

usernamehw / vscode-remove-empty-lines Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 1.41 MB

Extension for VSCode to remove empty lines from the document.

Home Page: https://marketplace.visualstudio.com/items?itemName=usernamehw.remove-empty-lines

License: MIT License

TypeScript 89.44% JavaScript 10.56%
formatter remove-empty-lines vscode-extension

vscode-remove-empty-lines's People

Contributors

usernamehw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vscode-remove-empty-lines's Issues

when i save my code the view usually jump down 1 line

Hi
I really love your extension it help me alot while coding. But i have this question. Everytime i save it some time it will jump down the view with 1 line (although don't have any empty line need to clear). I think this is just a small problem. But if you have any solution for this please let me know.
Thank You

Setting to remove empty lines On Save

This would make this app more automated, as I often use different extensions to fix up little formatting issues on save. While normally I have no issue inputting this command manually when working with hundreds of files this task can become a bit tedious.

Hopefully, this isn't hard to implement.

Thanks in advance!

Doesn't seem to worK

have a php file, lots of empty lines.
Installed the extension, tried ctrl + shift + 9, no change. Closed VSC, tried agin, nothing. What am I missing please?

[Feature Request] Add settings for minimum consecutive empty-line to be left out

Suppose I have 5 consecutive empty lines in my code, now when I use this extension I expect it to remove empty lines till there are only 2 consecutive empty lines in my code. [Note this 5 (or more) consecutive empty lines can occur multiple times on this page, every time I'd want it as 2 (n) consecutive empty lines in my code.]

It's not removing empty lines

It's showing two problems when I try to remove empty line

inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'
inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'

It's not working for me.

I have installed the addon and configured. When I tried to run the command in .CSS file by selecting the whole document, It not removing the empty lines.
I press F1 > Remove empty lines in Document. - https://prnt.sc/v4i8vx
Nothing happened. I tried shortcut too but not working.

Option to remove empty lines only in specific languages

I don't like having blank lines in my HTML documents, and for this the extension is perfect. But when it comes to CSS, I really like to have a line between each "element", but I can't set the format to save the rule on a language basis.
Would be a great improvement for the extension.

Not working on Windows 10

After updating to version 0.0.7 I could not remove empty lines in document on Windows 1o, showing me the error
Command 'Remove empty lines: in Document' resulted in an error (command 'remove-empty-lines.inDocument' not found)

image

The extension doesn't work with the latest version of Visual Code

Hi,

I've been using your extension for quite a while now. I've never encountered any problems and I find it very convenient.
But this one doesn't work anymore. I tried to remove empty line in a php file and in a javascript file, nothing happened.

I'm using the below version of VSCode, maybe a compatibility problem.

Version : 1.45.1 (system setup)
Commit : 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date : 2020-05-14T08:27:35.169Z
Electron : 7.2.4
Chrome : 78.0.3904.130
Node.js : 12.8.1
V8 : 7.8.279.23-electron.0
OS : Windows_NT x64 10.0.18362

I hope this will be fix soon.

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.