vim-uncommenter : Automatically deletes all comments in a programming source file.
script karma |
Rating 107/30,
Downloaded by 881 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Benjamin Radovsky |
|
script type |
utility |
|
description |
UNMAINTAINED
In most programming language files opened in vim, to delete all of the lines that are comments, simply hit the keys `dc` and the comments will all disappear!
------------------------------------------
Before:
------------------------------------------
# here is a comment
def Hello (name) # here is wierdly placed comment
puts "\n-------------"
puts "Hello, #{name}." # even a comment here will be removed
puts '--------------'
end
puts '######' # this one too, however the `#` inside the single quotes will be fine!
# and here is another comment
[1, 2, 3, 4, 5].each do |i|
puts "hello" # and another wierd one
end
# and here is the last comment
Hello("# Benjamin #") # this one too
After:
------------------------------------------
def Hello (name)
puts "\n-------------"
puts "Hello, #{name}."
puts '--------------'
end
puts '######'
[1, 2, 3, 4, 5].each do |i|
puts "hello"
end
Hello("# Benjamin #")
Current programming languages that vim-uncommenter works with:
------------------------------------------
+ Ruby
+ PHP
+ Python
+ Perl
+ C
+ C++
+ C#
+ Rust
+ SASS/SCSS
+ D
+ Go
+ Java
+ Javascript
+ ActionScript
+ Scala
+ Pascal
+ Swift
+ R
+ Vimscript
+ Shell
+ Makefile
+ Cobra
+ Seed7
+ Powershell
+ Erlang
+ Text
+ VBScript
+ Small Basic
+ AutoIt
+ Lisp
+ Scheme
+ Rebol
+ Haskell
+ SQL
+ Ada
+ AppleScript
+ Eiffel
+ Lua
+ VHDL |
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
vim-uncommenter-0.5.tar.gz |
0.5 |
2016-01-07 |
7.0 |
Benjamin Radovsky |
Finished adding delete block comments functionality for most of the programming languages in the current list of languages that `vim-uncommenter` works with. |
ip used for rating: 44.220.184.63
|