Pytest LSP
LSP implementation for pytests in pure Crystal Version 1.0.0v will be available as soon we switch to LSP server library. Also LSP server library need to be 1.0.0v+ too.
Usage
with coc.nvim
- Download latest pytest_lsp from release page or build it yourself
- Add to the coc config (use
:CocConfig
to get there) file following lines
"languageserver": {
"pytest": {
"command": "<path to downloaded or build executable>",
"filetypes": ["python"],
}
}
- write
:CocRestart
or restart vim to get it up and running
If you have any problems with this instalation process, please refer to coc.nvim language server guide. If you think that the problem is in pytest_lsp itself, then feel free to open an issue
with any other client
- You can write a basic LSP client extention for your editor, which should support
textSyncing
andgotoImplementation
Roadmap
- [x] Support custom written fixtures (Unstable)
- [x] Support test functions (Unstable)
- [ ] Add command to list all fixtures | tests
- [ ] Add coc extention so one can install pytest_lsp by
:CocInstall
command - [ ] Rewrite to use LSP server library
Contributing
- Fork it ( https://github.com/teggotic/pytest_lsp/fork )
- Create your feature branch (git checkout -b feature/my_new_feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- teggotic Danylo Lapirov - creator, maintainer