Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix type parameter defaults | Florian Diebold | 2020-06-05 | 1 | -1/+1 |
| | | | | | They should not be applied in expression or pattern contexts, unless there are other explicitly given type args. | ||||
* | Add enum hover action test. | vsrs | 2020-06-05 | 1 | -0/+15 |
| | |||||
* | Rebase on the latest master. | vsrs | 2020-06-05 | 1 | -3/+3 |
| | |||||
* | Code formatting | vsrs | 2020-06-05 | 1 | -3/+2 |
| | |||||
* | Add hover actions as LSP extension | vsrs | 2020-06-05 | 1 | -12/+122 |
| | |||||
* | Consolidate documentation expansion and merging | Aaron Loucks | 2020-06-03 | 1 | -53/+7 |
| | | | | | | Removes the duplicated `expand_doc_attrs` and `merge_doc_comments_and_attrs` functions from `ra_ide` and exposes the same functionality via `ra_hir::Documentation::from_ast`. | ||||
* | Add basic hover and completion doc tests for macro generated items | Aaron Loucks | 2020-06-03 | 1 | -1/+103 |
| | |||||
* | Enable hover and autocomplete docs on macro generated items | Aaron Loucks | 2020-06-03 | 1 | -5/+50 |
| | |||||
* | Move the rest of the features to generated docs | Aleksey Kladov | 2020-05-31 | 1 | -57/+59 |
| | |||||
* | Hover tooltip module name is monospace once again | Aaron Loucks | 2020-05-26 | 1 | -7/+9 |
| | | | | | | | | | | The line separator is moved below the function signature to split regions between the docs. This is very similar to how IntelliJ displays tooltips. Adding an additional separator between the module name and function signature currently has rendering issues. Fixes #4594 Alternative to #4615 | ||||
* | Update tests to accept new hover formatting | Galilée 'Bill' Enguehard | 2020-05-22 | 1 | -4/+13 |
| | |||||
* | Fix completion and hover for module and function of same name | Hasan Ali | 2020-05-16 | 1 | -0/+17 |
| | |||||
* | do not truncate display for hover | Benjamin Coenen | 2020-05-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | do not truncate display for hover | Benjamin Coenen | 2020-05-06 | 1 | -1/+42 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | do not truncate display for hover #4311 | Benjamin Coenen | 2020-05-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Test for unsafe trait | Diana | 2020-05-01 | 1 | -0/+11 |
| | |||||
* | Add tests of showing function qualifiers | oxalica | 2020-04-30 | 1 | -0/+25 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -2/+2 |
| | |||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Remove dat fixme | Veetaha | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Use Display instead of a custom method | Kirill Bulatov | 2020-03-16 | 1 | -16/+11 |
| | |||||
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 1 | -11/+16 |
| | |||||
* | ra_ide: refactor readonly String -> &str | veetaha | 2020-03-16 | 1 | -9/+7 |
| | |||||
* | ra_ide: remove dead code in HoverResult | veetaha | 2020-03-15 | 1 | -41/+5 |
| | |||||
* | Add test on hover | Edwin Cheng | 2020-03-11 | 1 | -0/+19 |
| | |||||
* | Implement dummy assert macro | Edwin Cheng | 2020-03-11 | 1 | -6/+2 |
| | |||||
* | Use `Index` for CrateGraph | Aleksey Kladov | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | Less abstract CrateData api | Kirill Bulatov | 2020-03-09 | 1 | -2/+2 |
| | |||||
* | Consider crate declaration names | Kirill Bulatov | 2020-03-08 | 1 | -30/+13 |
| | |||||
* | Show mod path in hover tooltip | Kirill Bulatov | 2020-03-07 | 1 | -25/+94 |
| | |||||
* | Fix imports | Aleksey Kladov | 2020-03-03 | 1 | -2/+1 |
| | |||||
* | Rename NameDefinition -> Definition | Aleksey Kladov | 2020-03-03 | 1 | -7/+7 |
| | |||||
* | More principled approach for gotodef for field shorhand | Aleksey Kladov | 2020-03-02 | 1 | -1/+1 |
| | | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local. | ||||
* | Merge #3367 | bors[bot] | 2020-02-28 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | 3367: Fix highlighting of const patterns r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Classify name takes const patterns into account | Aleksey Kladov | 2020-02-28 | 1 | -3/+3 |
| | | |||||
* | | Simpilfy origin_range logic | Edwin Cheng | 2020-02-28 | 1 | -0/+24 |
|/ | |||||
* | Fix typo | Edwin Cheng | 2020-02-28 | 1 | -1/+1 |
| | |||||
* | Remove hover::type_of | Edwin Cheng | 2020-02-28 | 1 | -74/+24 |
| | |||||
* | Ignore hover on builtin macro | Edwin Cheng | 2020-02-27 | 1 | -0/+25 |
| | |||||
* | Skip trival token in original_range | Edwin Cheng | 2020-02-26 | 1 | -0/+27 |
| | |||||
* | Add recursive support in original_range | Edwin Cheng | 2020-02-26 | 1 | -0/+21 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -23/+22 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Merge NameDefinition and NameKind | Aleksey Kladov | 2020-02-19 | 1 | -11/+13 |
| | |||||
* | Merge #3228 | bors[bot] | 2020-02-19 | 1 | -9/+17 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 3228: Use proper range for hover on macro arguments r=matklad a=edwin0cheng This PR use `original_range` to remap the range of found syntax node in `hover` and thus it should return the proper text range now. fixed #3000 fixed #3135 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Use proper range for hover on macro arguments | Edwin Cheng | 2020-02-19 | 1 | -9/+17 |
| | | |||||
* | | Fix a crash with non-ascii whitespace in doc-comments | Shotaro Yamada | 2020-02-19 | 1 | -0/+17 |
|/ | |||||
* | Rename | Aleksey Kladov | 2020-02-07 | 1 | -2/+2 |
| | |||||
* | Remove irrelevant distinction | Aleksey Kladov | 2020-02-07 | 1 | -5/+0 |
| | |||||
* | cleanup imports | Aleksey Kladov | 2020-02-06 | 1 | -1/+1 |
| | |||||
* | Only new-style classification | Aleksey Kladov | 2020-01-15 | 1 | -4/+5 |
| |