feat(docs): update readme by mentioning test case mgmt
This commit is contained in:
parent
b736fd0131
commit
4eb9c9a21f
1 changed files with 14 additions and 7 deletions
21
README.md
21
README.md
|
|
@ -14,6 +14,7 @@ https://github.com/user-attachments/assets/50b19481-8e6d-47b4-bebc-15e16c61a9c9
|
||||||
- **Automatic problem setup**: Scrape test cases and metadata in seconds
|
- **Automatic problem setup**: Scrape test cases and metadata in seconds
|
||||||
- **Dual view modes**: Lightweight I/O view for quick feedback, full panel for
|
- **Dual view modes**: Lightweight I/O view for quick feedback, full panel for
|
||||||
detailed analysis
|
detailed analysis
|
||||||
|
- **Test case management**: Quickly view, edit, add, & remove test cases
|
||||||
- **Rich test output**: 256 color ANSI support for compiler errors and program
|
- **Rich test output**: 256 color ANSI support for compiler errors and program
|
||||||
output
|
output
|
||||||
- **Language agnostic**: Works with any language
|
- **Language agnostic**: Works with any language
|
||||||
|
|
@ -31,21 +32,20 @@ cp.nvim follows a simple principle: **solve locally, submit remotely**.
|
||||||
|
|
||||||
### Basic Usage
|
### Basic Usage
|
||||||
|
|
||||||
1. **Find a contest or problem** on the judge website
|
1. Find a contest or problem
|
||||||
2. **Set up locally** with `:CP <platform> <contest>`
|
2. Set up contests locally
|
||||||
|
|
||||||
```
|
```
|
||||||
:CP codeforces 1848
|
:CP codeforces 1848
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Code and test** with instant feedback
|
3. Code and test
|
||||||
|
|
||||||
```
|
```
|
||||||
:CP run " Quick verdict summary in splits
|
:CP run
|
||||||
:CP panel " Detailed analysis with diffs
|
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Navigate between problems**
|
4. Navigate between problems
|
||||||
|
|
||||||
```
|
```
|
||||||
:CP next
|
:CP next
|
||||||
|
|
@ -53,7 +53,14 @@ cp.nvim follows a simple principle: **solve locally, submit remotely**.
|
||||||
:CP e1
|
:CP e1
|
||||||
```
|
```
|
||||||
|
|
||||||
5. **Submit** on the original website
|
5. Debug and edit test cases
|
||||||
|
|
||||||
|
```
|
||||||
|
:CP edit
|
||||||
|
:CP panel --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Submit on the original website
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue