GithubHelp home page GithubHelp logo

edchasw / better-search Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thieman/better-search

0.0 0.0 0.0 1.07 MB

Search results with more context in their own tab for VS Code

Home Page: https://marketplace.visualstudio.com/items?itemName=travisthieman.better-search

License: MIT License

TypeScript 100.00%

better-search's Introduction

Better Search

This extension adds a new search functionality that presents your results in a full window. This approach is borrowed from Sublime Text, many Emacs modes, and various other common editors.

Better Search Example

Features

  • Displays search results in an editor window, rather than the sidebar
  • Results link to the matching file at the correct line
  • Shows context lines around the line matching your query
  • Syntax highlighting based on the most common file type found in your search results
  • Integrates with File Explorer so you can easily search in specific folders

How to Use

Once you've installed the extension, you can take it for a spin:

  1. Hit Cmd + P and type to find "Better Seach: Quick Find" and hit enter to run the command
  2. In the search buffer, type enter on one of the links (file name or column number) to go to a file
  3. To re-run the current search, type g or run betterSearch.reexecute

There's also betterSearch.searchFull if you'd like to run a search with more control over the execution options.

Configuration

  • betterSearch.context: Number of context lines to show around search results. Default: 2
  • betterSearch.sortFiles: Sort files for deterministic sort. Enabling this limits the search to 1 thread and will negatively impact performance.

Attributions

Magnifying glass icon courtesy of icon lauk

better-search's People

Contributors

bogdan0083 avatar dependabot-preview[bot] avatar msaspence avatar thieman avatar

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.