Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/selfint/code_depth

Analyze the depth of each method using the language's LSP server
https://github.com/selfint/code_depth

Last synced: 10 days ago
JSON representation

Analyze the depth of each method using the language's LSP server

Awesome Lists containing this project

README

        

# CodeDepth
Analyze the depth of each method using the language's LSP server

NOTE: this project requires the LSP server to already be installed.

## Usage

```shell
$ code_depth -p path/to/project/root -l "cmd to run to start lsp server"
```

## Example - rust_analyzer

1. Install rust analyzer for your platform from the [newest release](https://github.com/rust-lang/rust-analyzer/releases/latest)
2. Run `code_depth` on your project with rust_analyzer:

```shell
$ code_depth -p path/to/project/root -l rust_analyzer
```