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: 5 months ago
JSON representation
Analyze the depth of each method using the language's LSP server
- Host: GitHub
- URL: https://github.com/selfint/code_depth
- Owner: selfint
- Created: 2022-10-26T17:31:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T10:04:50.000Z (over 3 years ago)
- Last Synced: 2025-02-08T04:26:46.841Z (over 1 year ago)
- Language: Rust
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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
```