Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Visual Studio Code Extension to Find All References in a Project

License

Notifications You must be signed in to change notification settings

gayanhewa/vscode-find-all-references

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find All References README

This module enables Visual Studio code to run Find All References calls with the power of ripgrep which is a soltion written in rust and performs well than Silver Searcher, Platinum searcher etc

Features

  • Find All References

Alt text

Requirements

Powered by Ripgrep

This module on ripgrep package. Instructions to install ripgrep can be found here

You can install ripgrep using homebrew, Windows Chocolatey or Cargo if you are a rust developer. You also find the binaries to install on Linux, Windows and Mac on the github repo.

$ brew install ripgrep

$ choco install ripgrep

$ cargo install ripgrep

Powered by Silver Searcher

You can also use Silver searcher as an alternative to ripgrep. Simply install it and update the config

$ brew install ag

Extension Settings

Include if your extension adds any VS Code settings through the contributes.configuration extension point.

For example:

This extension contributes the following settings:

  • find.all.references.engine: rg/ag , based on the available seacher you can use either ripgrep ( rg ) or Silver Searcher ( ag )

Use ripgrep

find.all.references.engine: 'rg'

Use silver searcher

find.all.references.engine: 'ag'

Known Issues

No testing has been carried out on Windows, PR's wellcome.

Enjoy!