Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/selfint/code_depth
- Owner: selfint
- Created: 2022-10-26T17:31:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T10:04:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T15:18:27.841Z (26 days 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 serverNOTE: 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
```