gavynriebau / delete-lines Goto Github PK
View Code? Open in Web Editor NEWAtom package to delete all lines a search term
License: MIT License
Atom package to delete all lines a search term
License: MIT License
[Enter steps to reproduce:]
Atom: 1.14.4 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: delete-lines package 0.5.0
Uncaught TypeError: Cannot read property 'getText' of undefined
At /home/sharique/.atom/packages/delete-lines/lib/delete-lines-view.coffee:60
TypeError: Cannot read property 'getText' of undefined
at DeleteLinesView.module.exports.DeleteLinesView.onRemoveClick (/packages/delete-lines/lib/delete-lines-view.coffee:60:30)
at DeleteLinesView.onRemoveClick (/packages/delete-lines/lib/delete-lines-view.coffee:1:1)
at /packages/delete-lines/lib/knockout.debug.js:3863:62)
-0:08.0 delete-lines:toggle (ul.list-inline.tab-bar.inset-panel)
atom-django 0.3.2
atom-wrap-in-tag 0.6.0
auto-update-plus 0.2.0
browse 1.4.1
build 0.67.0
busy 0.7.0
ctrl-dir-scroll 0.2.3
delete-lines 0.5.0
git-plus 7.3.3
linter 1.11.23
minimap 4.26.8
multi-cursor 2.1.5
set-syntax 0.3.2
text-manipulation 0.6.0
[Enter steps to reproduce below:]
Atom Version: 1.7.1
System: Mac OS X 10.11.4
Thrown From: delete-lines package, v0.4.17
Uncaught SyntaxError: Invalid regular expression: /.'canonicalName'| => array(./: Unterminated group
At /Users/yriveiro/.atom/packages/delete-lines/lib/delete-lines-view.coffee:68
SyntaxError: Invalid regular expression: /.*'canonicalName'| => array(.*/: Unterminated group
at new RegExp (native)
at DeleteLinesView.module.exports.DeleteLinesView.onRemoveClick (/Users/yriveiro/.atom/packages/delete-lines/lib/delete-lines-view.coffee:68:20)
at DeleteLinesView.onRemoveClick (/Users/yriveiro/.atom/packages/delete-lines/lib/delete-lines-view.coffee:1:1)
at HTMLButtonElement.<anonymous> (/Users/yriveiro/.atom/packages/delete-lines/lib/knockout.debug.js:3863:62)
-1:27.2.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
-1:25.6.0 core:paste (input#delete-editor.native-key-bindings)
-1:06.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
-1:04.8.0 core:paste (input#delete-editor.native-key-bindings)
-1:04.1.0 core:undo (input#delete-editor.native-key-bindings)
-1:03.0 core:paste (input#delete-editor.native-key-bindings)
-1:01.1.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
-0:59.6.0 core:paste (input#delete-editor.native-key-bindings)
-0:55.4.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
-0:53.2.0 core:paste (input#delete-editor.native-key-bindings)
-0:49.2.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
-0:47.6.0 core:paste (input#delete-editor.native-key-bindings)
-0:46.8.0 core:undo (input#delete-editor.native-key-bindings)
-0:43.1.0 core:paste (input#delete-editor.native-key-bindings)
-0:13.9.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
-0:11.7.0 core:paste (input#delete-editor.native-key-bindings)
{
"core": {
"disabledPackages": [
"wrap-guide"
],
"excludeVcsIgnoredPaths": false,
"projectHome": "/Users/yriveiro/Development/github",
"themes": [
"atom-dark-ui",
"seti-syntax"
]
}
}
# User
atom-autocomplete-php, v0.18.7
atom-beautify, v0.29.4
atom-html-preview, v0.1.19
atom-jade, v0.3.0
atom-pair, v2.0.10
autocomplete-go, v1.0.6
autocomplete-paths, v1.0.2
build, v0.59.0
build-gulp, v0.7.0
builder-go, v1.0.0
color-picker, v2.1.1
delete-lines, v0.4.17
docblockr, v0.7.3
editorconfig, v1.3.0
environment, v1.2.0
file-icons, v1.7.4
go-config, v1.1.4
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.6
gometalinter-linter, v1.1.0
gorename, v1.0.2
highlight-line, v0.11.1
inline-messenger, v1.2.8
java-importer, v1.4.1
language-babel, v2.17.3
language-rust, v0.4.6
linter, v1.11.4
linter-javac, v1.8.1
linter-jsonlint, v1.2.3
linter-php, v1.2.0
linter-rust, v0.4.5
linter-shellcheck, v1.1.0
local-history, v3.2.3
minimap, v4.22.1
minimap-bookmarks, v0.3.0
minimap-find-and-replace, v4.5.1
minimap-git-diff, v4.3.0
minimap-split-diff, v0.3.0
multi-wrap-guide, v0.23.5
navigator-godef, v1.0.2
php-cs-fixer, v2.5.6
php-debug, v0.2.2
php-twig, v4.0.0
phpunit, v1.2.0
phpunit-snippets, v0.1.0
pigments, v0.26.0
pretty-json, v1.0.3
project-manager, v2.9.7
react, v0.15.0
relative-numbers, v0.5.1
remote-edit, v1.8.24
seti-syntax, v0.4.2
source-preview-babel, v0.1.1
sync-settings, v0.7.2
synced-sidebar, v0.4.3
term3, v0.21.4
tester-go, v1.0.4
travis-ci-status, v1.0.0
vim-mode, v0.65.0
# Dev
No dev packages
Hey there,
First off, this tool is a godsend, thank you so much. While I wrestle with developers to help clean up log output, this is the next best thing.
I always have the same 3 strings I need to use to delete superfluous lines out of a log that aren't for me. Right now, I have to repeat the delete action 3 times, typing it each time.
Is there some kind of syntax where I can specify multiple string patterns in one go? Sort of a "single click clean-up-my-log-acccording-to-my-rules" type function...
Again, thank you so much!
Hey @gavynriebau
Thanks for your promising package!
Was hoping to delete empty lines with it.
Is this possible with a pattern?
Thanks!
FYI, the text in the "Delete matching lines" field is white on light themes, which makes it unreadable.
Hi,
Could you add possibility to create multiple keyword pattern, like: POST;GET.?
Maybe it exist already?
Thanks,
HK
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.