All Projects → everettjf → vscode-filter-line

everettjf / vscode-filter-line

Licence: MIT License
vscode extension for filter line by strings or regular expressions

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to vscode-filter-line

vscode-material-product-icons
Product Icon Theme with Material Icons for VS Code
Stars: ✭ 19 (-58.7%)
Mutual labels:  vscode-extension
vscode-sops
Just a simple integration of SOPS by Mozilla into VSCode IDE. It contains some advanced features over the original project which makes sense for IDE.
Stars: ✭ 25 (-45.65%)
Mutual labels:  vscode-extension
vscode-qq
基于安卓QQ协议的vscode-qq扩展
Stars: ✭ 588 (+1178.26%)
Mutual labels:  vscode-extension
vscode-php-sniffer
Visual Studio Code extension for PHP_Codesniffer validation and formatting.
Stars: ✭ 41 (-10.87%)
Mutual labels:  vscode-extension
firecode
VS Code Firestore Rules Extension
Stars: ✭ 35 (-23.91%)
Mutual labels:  vscode-extension
vscode-eex-snippets
Elixir EEx and HTML (EEx) code snippets.
Stars: ✭ 23 (-50%)
Mutual labels:  vscode-extension
componizer
vs code extension for refactoring to components
Stars: ✭ 31 (-32.61%)
Mutual labels:  vscode-extension
vscode-graphviz
This extension provides GraphViz (dot) language support for VS Code.
Stars: ✭ 21 (-54.35%)
Mutual labels:  vscode-extension
snippets
VSCode extension which lets you manage your code snippets without quitting your editor.
Stars: ✭ 55 (+19.57%)
Mutual labels:  vscode-extension
vscode-requirejs
Provides goto definition functionality for require js modules.
Stars: ✭ 20 (-56.52%)
Mutual labels:  vscode-extension
vscode-jump
🏃‍♂️ Jump/Select to the Start/End of a word in VSCode
Stars: ✭ 67 (+45.65%)
Mutual labels:  vscode-extension
vscode-phpserver
Visual Studio Code extension to quickly serve your PHP projects :)
Stars: ✭ 62 (+34.78%)
Mutual labels:  vscode-extension
c-cpp-project-generator
📂 Create C/C++ projects on vscode
Stars: ✭ 22 (-52.17%)
Mutual labels:  vscode-extension
swdc-vscode-100-days-of-code
A VS Code extension that helps you reach your goals in completing the 100 Days of Code challenge
Stars: ✭ 45 (-2.17%)
Mutual labels:  vscode-extension
vscode-text-marker
Visual Studio Code Extension. Select text in your code and mark all matches. The marking colour is configurable
Stars: ✭ 61 (+32.61%)
Mutual labels:  vscode-extension
vscode-magento-wizard
Helps develop Magento 2 extensions using VSCode
Stars: ✭ 22 (-52.17%)
Mutual labels:  vscode-extension
vscode-markdown-link-suggestions
Suggests workspace files and MarkDown file headers in MarkDown links
Stars: ✭ 15 (-67.39%)
Mutual labels:  vscode-extension
project-japanese-proofreading
テキストファイルやMarkdownファイルの日本語の文章をチェックするVS Codeの拡張機能
Stars: ✭ 81 (+76.09%)
Mutual labels:  vscode-extension
vscode-angular-html
Angular syntax highlighting for HTML templates
Stars: ✭ 35 (-23.91%)
Mutual labels:  vscode-extension
vscode-less
🔌 Less intellisense for Variables and Mixins in all Less files.
Stars: ✭ 21 (-54.35%)
Mutual labels:  vscode-extension

VSCode Extension Filter Line

Filter line for current opening file by strings/regular expressions, generating the result in a new file.

Features

  1. Filter line by input string (or not contain input string).
  2. Filter line by input regular expression (or not match input regular expression).
  3. Filter line by config file filterline.json(or filterline.eoml) in corresponding .vscode directory.

Articles

Install

  1. Marketplace
  2. Search Filter Line in vscode extensions.

search

Usage

list

Filter line by input string.

  1. Open command palette (⇧⌘p) and type filterline, select Filter Line By Input String in the list.
  2. Type a string and hit <Enter>.
  3. The extension will output matching lines in a new file with postfix .filterline.$(ext) (e.g. 1.log will generate file 1.log.filterline.log).

bystring

Filter line by input regex.

  1. Open Command Palette (⇧⌘P) and type FilterLine, select Filter Line By Input Regex in the list.
  2. Type a regular expression and hit <Enter>.
  3. The extension will output matching lines in a new file with postfix .filterline.$(ext) (e.g. 1.log will generate file 1.log.filterline.log).

byregex

Filter line by config file

  1. Create config file in .vscode directory (e.g. .vscode/filterline.json or .vscode/filterline.eoml).
  2. Edit the filterline.json/.eoml file to desired format.
  3. Open command palette (⇧⌘p) and type filterline, select Filter Line By Config File in the list.

byconfigfile

Large file mode

Since vscode's limitation, when filter large files (e.g. >= 50MB), vscode extension can not get the file name currently opened. But this extension provide an alternative. e.g. if you want to filter large file ~/log/file.log, do follow steps below :

  1. Create an empty file named filterline ( ~/log/filterline) in the same directory with log file.
  2. Try to filter the empty file filterline.
  3. Now the extension will list all files in the same directory.
  4. Choose the one (~/log/file.log) you want to filter.

Config file type

  1. There are 2 file types filterline.json and filterline.eoml.
  2. eoml is a simple config file format that created by me(everettjf), only for this project(vscode-filter-line) at present. For more information, please visit eoml.

Config file format type

There are 3 format types. As they are so simple, I will not describe them here. Please visit the demo directly :

  1. stringlist: String list json or eoml
  2. regexlist: Regular expressions list json or eoml
  3. general: This is default if type is not specified. json or eoml

Replacement

Command line replacement for this extension : filterline

Enjoy!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].