aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src/client.rs
Commit message (Collapse)AuthorAge
* feat: code actions - document edits (#478)Grzegorz Baranski2021-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip: Code actions * fix(term): use current macro instead Context::context * feat(lsp): set code_action capabilities * feat(term): set SPC-a to code_action * feat(term): wip on applying code actions * deps: `cargo update` * feat(term): applying code actions edits * fix(term): cleanup of apply_edit * fix(term): applying edits as a whole thing instead one by one * refactor(term): move apply_edits below * fix(term): improve unimplemented messages for further investigation * fix(term): change code action command comment Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix(term): add matching `}` * fix(term): cleanup, todo!() on workspace edit * fix(term): remove unrelated workspace_symbol_picker * fix(term): apply cargo-clippy suggestions * fix(term): replace todo!'s with editor.set_error Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Added option to provide a custom config file to the lsp. (#460)Cor Peters2021-07-18
| | | | | | | | | | | | | | | | | * Added option to provide a custom config file to the lsp. * Simplified lsp loading routine with anyhow * Moved config to language.toml * Fixed test case * Cargo fmt * Revert now-useless changes * Renamed custom_config to config Co-authored-by: Cor <prive@corpeters.nl>
* Work on moving code over to LineEnding instead of assuming '\n'.Nathan Vegdahl2021-06-20
| | | | Also some general cleanup and some minor fixes along the way.
* Handle language server shutdown with timeoutwojciechkepka2021-06-19
|
* Reenable `work_done_progress` capabilitywojciechkepka2021-06-18
|
* Add unique id to each lsp client/server pairwojciechkepka2021-06-18
|
* Update `client::reply` to be non asyncwojciechkepka2021-06-18
|
* Add `work_done_token` as parameter to lsp methodswojciechkepka2021-06-18
|
* add symbol picker (#230)Robin2021-06-12
| | | | | | | | | * add symbol picker use the lsp document_symbol request * fix errors from merging in master * add docs for symbol picker
* Temporarily disable workDoneBlaž Hrastnik2021-06-11
| | | Blows up on gopls because we don't handle receiving window/workDoneProgress/create method calls
* lsp: Display LSP progress messages (#216)Wojciech Kępka2021-06-11
|
* Derive debug without featureIvan Tham2021-06-10
| | | | Note that this also removed those `finish_non_exhaustive()`.
* Implement Debug for data structure as a featurenotoria2021-06-10
|
* helix-lsp cleanupEgor Karavaev2021-06-08
|
* Don't panic on LSP not startingEgor Karavaev2021-06-08
|
* lsp: Provide workspace root on client.initialize()Blaž Hrastnik2021-06-07
|
* clippy lintBlaž Hrastnik2021-05-06
|
* Work around the rest of the blocking issues.Blaž Hrastnik2021-05-06
|
* Start moving more LSP calls into callbacks/futures without capturing selfBlaž Hrastnik2021-05-06
|
* Tokio migration.Blaž Hrastnik2021-05-06
|
* lsp: support both utf-8 and utf-16 offsets.Blaž Hrastnik2021-04-14
| | | | | Still need to implement the clangd encoding negotiation, but it's a start. Should also manually override to utf8 for pyls.
* lsp: Gracefully fail if binary doesn't exist.Blaž Hrastnik2021-04-07
|
* clippy: Drop or-patterns for now because they're not on stable rust yetBlaž Hrastnik2021-04-06
|
* clippy lintBlaž Hrastnik2021-03-31
|
* wip: Async async. Delay response handling with a callback.Blaž Hrastnik2021-03-26
|
* wip: Hooks & trigger characters for completion/signature_help.Blaž Hrastnik2021-03-24
|
* Pos conversions always operate on whole documents.Blaž Hrastnik2021-03-18
|
* lsp: Use into_iter->map->collect instead of manual loop.Blaž Hrastnik2021-03-16
|
* lsp: Fix compilation errors.Blaž Hrastnik2021-03-16
|
* goto_request wipJan Hrastnik2021-03-16
|
* more goto lsp functionsJan Hrastnik2021-03-16
|
* gd now works for singular definitionJan Hrastnik2021-03-16
|
* gotodefiniton now runs but doesnt return anythingJan Hrastnik2021-03-16
|
* wipJan Hrastnik2021-03-16
|
* lsp: Pass through language_id on didOpenTextDocument.Blaž Hrastnik2021-03-16
|
* minor: TODO comment cleanupBlaž Hrastnik2021-03-16
|
* lsp: Emit didSave notifications.Blaž Hrastnik2021-03-12
|
* Bump deps.Blaž Hrastnik2021-03-01
|
* commands: = as range formatting (via lsp)Blaž Hrastnik2021-02-26
|
* lsp: Hover documentation draft.Blaž Hrastnik2021-02-25
|
* minor: Simplify some code.Blaž Hrastnik2021-02-24
|
* lsp: Disable snippet_support until we implement it.Blaž Hrastnik2021-02-22
|
* lsp: Handle responses being returned after request timed out.Blaž Hrastnik2021-02-22
|
* treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by refBlaž Hrastnik2021-02-18
|
* lsp: edit events change ranges need to affect each other.Blaž Hrastnik2021-02-17
|
* lsp: Test changeset_to_changes.Blaž Hrastnik2021-02-16
|
* Adjust LSP changeset generation too: insert now always preceedes delete.Blaž Hrastnik2021-02-16
|
* Address clippy lints.Blaž Hrastnik2021-01-08
|
* lsp: Move timeouts into client.requestBlaž Hrastnik2021-01-06
|
* lsp: Fix pos_to_lsp_pos calculation.Blaž Hrastnik2020-12-25
|