Skip to content

ChrisCinelli/better-search-vscode

 
 

Repository files navigation

Sublime-like Search for Visual Studio Code (vscode)

Screenshot

Commands

*sublsearch.search (SublSearch - Search) - Pop open a dialog to ask for search term, and open the results in a nice read only document. This uses ripgrep.

Usage

  • text - search text in selected folder
  • ^text - search text with case sensivity
  • =text - search text as whole word
  • +go+js+css^text - search with case sensivity only in *.go, *.js and *.css files.

Also you can use "|" delimiter for let parser know, when text started:

  • ^|^text - search "^text" with case sensivity
  • |=^text - search "=^text"
  • +go+js|text - search "text" only in *.go and *.js files.
  • -go-js=|text - search "text" as whole word everywere except in *.go and *.js files.

Differences from malkomalko/searchy

  • Improved Windows support
  • Context lines
  • Delimiters between multiple matches in file
  • Select from project folders for search

Credit

This repository has been forked from malkomalko/searchy, mad props to Robert for his great work.

About

Sublime-like search for vs code. Uses ripgrep and opens results in new document.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%