aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* add completion detailAleksey Kladov2019-01-091-0/+1
|
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-091-1/+1
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* Fix typo defenition -> definitionMarcus Klaas de Vries2019-01-081-1/+1
|
* fix usages after renameAleksey Kladov2019-01-085-8/+8
|
* upstream text-utils to text_unitAleksey Kladov2019-01-081-4/+3
|
* dont depend on ra_editor directlyAleksey Kladov2019-01-081-1/+1
|
* switch to newer cargo-metadataAleksey Kladov2019-01-081-12/+9
|
* introduce CallInfoAleksey Kladov2019-01-081-17/+11
|
* migrate ra_lsp_server to new rowanAleksey Kladov2019-01-081-1/+1
|
* add "." as a trigger char on type formattingSimon Vandel Sillesen2019-01-061-1/+1
|
* refactorSimon Vandel Sillesen2019-01-062-35/+26
|
* indent on typing dot. fixes #439Simon Vandel Sillesen2019-01-051-22/+34
|
* introduce separate goto_defenitionAleksey Kladov2019-01-051-3/+2
|
* move hover implementation to ra_analysisAleksey Kladov2019-01-051-41/+9
|
* Merge #414bors[bot]2019-01-051-2/+25
|\ | | | | | | | | | | | | | | 414: textDocument/hover returns both type name and doc_text r=matklad a=h-michael implement #389 Co-authored-by: Hirokazu Hata <[email protected]>
| * Use both type_of and doc_text_forHirokazu Hata2019-01-051-14/+25
| |
| * Return type name when doc_text_for returns nothingHirokazu Hata2019-01-031-0/+12
| |
* | Rename ImplItem to ImplBlockFlorian Diebold2019-01-041-1/+1
| | | | | | | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion.
* | extract area to a crateAleksey Kladov2019-01-043-14/+27
| |
* | use lsp WorkspaceEdit instead of custom source_file_edits and file_system_editsBernardo2019-01-032-36/+37
|/
* use LocalPtr in navigation targetAleksey Kladov2019-01-031-1/+1
|
* use navigation target in APIAleksey Kladov2019-01-022-19/+25
|
* introduce navigation targetAleksey Kladov2019-01-021-5/+5
|
* Merge #165bors[bot]2018-12-311-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | 165: Make modules with tests runnable r=farodin91 a=farodin91 Fixes #154 I having problems to traverse the path to module. The main problem is that module_tree only supports `FileId` and not `Module` in files. Any idea? I need to clean up the code a bit later. Co-authored-by: Jan Jansen <[email protected]>
| * Make modules with tests runnableJan Jansen2018-12-311-0/+10
| | | | | | | | Fixes #154
* | fix icons in completionAleksey Kladov2018-12-311-1/+0
| |
* | Merge #385bors[bot]2018-12-313-4/+25
|\ \ | |/ |/| | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]>
| * Use TryConv for conversionDJMcNab2018-12-311-2/+1
| |
| * Implement DocumentHighlightDJMcNab2018-12-313-4/+26
| |
* | remove backtraces from CancelledAleksey Kladov2018-12-301-1/+1
| | | | | | | | | | Hopefully we won't need them for debugging. If we do need them, it should be easy to add back.
* | Merge #375bors[bot]2018-12-301-13/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | 375: Move renames into ra_analysis and rename the correct range r=DJMcNab a=DJMcNab Fixes #230. Supersedes #235. TODO: add some tests for this Co-authored-by: DJMcNab <[email protected]>
| * Move renames into ra_analysisDJMcNab2018-12-301-13/+8
| |
* | :arrow_up: crossbeamAleksey Kladov2018-12-302-23/+29
|/ | | | closes #189
* Simplify failure bail codeAleksander Vognild Burkow2018-12-291-3/+4
|
* Add better error message for Command failureAleksander Vognild Burkow2018-12-291-1/+4
|
* Add support for formatting entire document with rustfmtAleksander Vognild Burkow2018-12-293-1/+35
| | | | | | Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements.
* completion for enum variantsAleksey Kladov2018-12-281-0/+1
|
* switch to FileRangeAleksey Kladov2018-12-282-12/+21
|
* Merge #325bors[bot]2018-12-271-40/+7
|\ | | | | | | | | | | | | | | | | | | 325: implement translate_offset_with_edit r=matklad a=vemoo - Implement `translate_offset_with_edit` to resolve #105 - Add proptest impls for text, offsets and edits and use them in tests for `translate_offset_with_edit` and `LineIndex` - Added benchmark for `translate_offset_with_edit` Co-authored-by: Bernardo <[email protected]>
| * change to `TextEdit` to avoid allocation and sortBernardo2018-12-251-4/+6
| | | | | | | | rename newline to step where applicable
| * use new translate_offset_with_edit for TryConvWithBernardo2018-12-251-36/+1
| | | | | | | | doc comments
| * move translate_offset_with_edit to ra_editorBernardo2018-12-251-305/+0
| |
| * initial newline translation workingBernardo2018-12-251-13/+257
| | | | | | | | | | | | todo: cleanup, simplify handle columns
| * test translate_offset_with_edit against simple impl for single editsBernardo2018-12-251-0/+61
| |
* | Merge #332bors[bot]2018-12-272-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 332: Struct types r=matklad a=flodiebold Infer types for struct fields, and add basic field completions. There's also some code for enums, but I focused on getting structs working. There's still ways to go before this becomes useful: There's no autoderef (or even reference types) and no inference for `self`, for example. Co-authored-by: Florian Diebold <[email protected]>
| * | Add . to trigger charactersFlorian Diebold2018-12-251-1/+1
| | |
| * | Implement basic completion for fieldsFlorian Diebold2018-12-251-0/+1
| | |
| * | Do name resolution by namespace (types/values)Florian Diebold2018-12-251-0/+2
| |/
* / add cancelation module & cancelation backtracesAleksey Kladov2018-12-271-1/+1
|/
* fix warning conversionAleksey Kladov2018-12-241-3/+1
|