Skip to content

hrolfurinn/lsp-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsp-grep

An LSP-aware grep tool. lsp-grep finds not only the line in which a query is contained but the entire construct in which it is used.

Example

Given the following code:

def foo(
  bar: str,
  waz: int,
) -> str:
  ...
  return

Using traditional grep to search for waz:

grep 'waz' example.py

Output:

  waz: int,

Using lsp-grep to search for waz:

lsp-grep 'waz' example.py

Output:

def foo(
  bar: str,
  waz: int,
) -> str:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages