Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 1 | -2/+8 |
|\ | | | | | Add fancy truncation of type hints. | ||||
| * | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints. | ||||
* | | Change return type of expand_macro | Edwin Cheng | 2019-11-19 | 1 | -1/+2 |
| | | |||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 1 | -0/+5 |
|/ | |||||
* | Add ra_ide_api::expand | Aleksey Kladov | 2019-11-18 | 1 | -0/+1 |
| | | | | | This module should handle all tricky bits with mapping macro-expanded HirFileId to original files the user actually can see in the editor | ||||
* | Introduce ToNav trait | Aleksey Kladov | 2019-11-11 | 1 | -2/+2 |
| | |||||
* | refactor typing_handlers | Aleksey Kladov | 2019-10-25 | 1 | -0/+4 |
| | |||||
* | move source change to a dedicated file | Aleksey Kladov | 2019-10-25 | 1 | -95/+2 |
| | |||||
* | make typing infra slightly more extensible | Aleksey Kladov | 2019-10-25 | 1 | -18/+10 |
| | |||||
* | for highlighting, search only the current file | Aleksey Kladov | 2019-10-24 | 1 | -2/+3 |
| | |||||
* | restructure a bit | Ekaterina Babshukova | 2019-10-22 | 1 | -2/+0 |
| | |||||
* | find scope for `Declaration` item | Ekaterina Babshukova | 2019-10-22 | 1 | -0/+1 |
| | |||||
* | refactor name_ref_kind.rs | Ekaterina Babshukova | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 1 | -3/+7 |
| | |||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -1/+2 |
| | |||||
* | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 1 | -1/+5 |
| | |||||
* | allow compiling ra_ide_api on wasm | Aleksey Kladov | 2019-09-20 | 1 | -0/+1 |
| | |||||
* | A few doc comments | kjeremy | 2019-09-19 | 1 | -1/+9 |
| | |||||
* | fix renaming of modules | Aleksey Kladov | 2019-09-05 | 1 | -2/+2 |
| | |||||
* | implement feature flags | Aleksey Kladov | 2019-08-22 | 1 | -3/+13 |
| | |||||
* | implement durability | Aleksey Kladov | 2019-08-15 | 1 | -0/+3 |
| | |||||
* | Make Analysis api cancellable | Kirill Bulatov | 2019-07-25 | 1 | -39/+47 |
| | |||||
* | Resolve types on the server | Kirill Bulatov | 2019-07-21 | 1 | -1/+1 |
| | |||||
* | Code review fixes | Kirill Bulatov | 2019-07-21 | 1 | -2/+2 |
| | |||||
* | Refactor server api | Kirill Bulatov | 2019-07-20 | 1 | -0/+7 |
| | |||||
* | migrate ra_ide_api to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -6/+6 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -9/+11 |
| | | | | this is in preparation for the new rowan API | ||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -13/+15 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | print memory usage for queries | Aleksey Kladov | 2019-06-30 | 1 | -0/+4 |
| | |||||
* | Move memory usage statistics to ra_prof | Aleksey Kladov | 2019-06-30 | 1 | -6/+0 |
| | |||||
* | add analysis-bench to benchmark incremental analysis | Aleksey Kladov | 2019-06-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --complete ../chalk/chalk-engine/src/logic.rs:94:0 loading: 225.970093ms from scratch: 8.492373325s no change: 445.265µs trivial change: 95.631242ms ``` Or like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --highlight ../chalk/chalk-engine/src/logic.rs loading: 209.873484ms from scratch: 9.504916942s no change: 7.731119ms trivial change: 124.984039ms ``` "from scratch" includes initial analysis of the relevant bits of the project "no change" just asks the same question for the second time. It measures overhead on assembling the answer outside of salsa. "trivial change" doesn't do an actual salsa change, it just advances the revision. This test how fast is salsa at validating things. | ||||
* | reuse AnalysisHost in batch analysis | Aleksey Kladov | 2019-06-15 | 1 | -0/+3 |
| | |||||
* | make LRU cache configurable | Aleksey Kladov | 2019-06-12 | 1 | -1/+10 |
| | |||||
* | Remove node function in NavTarget | Edwin Cheng | 2019-06-08 | 1 | -1/+1 |
| | |||||
* | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 1 | -6/+6 |
| | |||||
* | Disable broken struct field rainbowing | Pascal Hertleif | 2019-05-27 | 1 | -3/+3 |
| | |||||
* | More clever highlighting, incl draft for structs | Pascal Hertleif | 2019-05-27 | 1 | -1/+1 |
| | |||||
* | Colorize Rust code as HTML | Aleksey Kladov | 2019-05-25 | 1 | -0/+5 |
| | |||||
* | Move NameRef classification logic out of reference_definition | Laurențiu Nicola | 2019-05-23 | 1 | -8/+3 |
| | |||||
* | Basic resolution for ADT | kjeremy | 2019-04-23 | 1 | -0/+8 |
| | |||||
* | Make display modules private | Ville Penttinen | 2019-04-09 | 1 | -1/+1 |
| | |||||
* | Move structure to display/structure | Ville Penttinen | 2019-04-09 | 1 | -4/+2 |
| | |||||
* | Move navigation_target to display/navigation_target | Ville Penttinen | 2019-04-09 | 1 | -3/+1 |
| | |||||
* | Move FunctionSignature to display, remove write_joined | Ville Penttinen | 2019-04-09 | 1 | -26/+1 |
| | | | | | write_joined is replaced with `join_to_string::join` which provides the necessary functionality. | ||||
* | Refactor CallInfo function signatures to new FunctionSignature type | Ville Penttinen | 2019-04-09 | 1 | -2/+27 |
| | | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well. | ||||
* | structure moved to ra_ide_api | Sergey Parilin | 2019-03-25 | 1 | -6/+5 |
| | | | | ra_ide_api_light removed completely | ||||
* | Rename source_edit to source_file_edit to match file_system_edit | Ville Penttinen | 2019-03-25 | 1 | -6/+6 |
| | |||||
* | Further improvements to the SourceChange convenience methods | Ville Penttinen | 2019-03-25 | 1 | -7/+42 |
| | | | | | Rename system_edit to file_system_edit, add more documentation, add source_file_edit_from to create a SourceChange from `FileId` and `TextEdit`. | ||||
* | Add convenience functions to SourceChange for creating single edits | Ville Penttinen | 2019-03-24 | 1 | -12/+43 |
| | |||||
* | Move highlighting and matching_brace | Wilco Kusee | 2019-03-23 | 1 | -4/+5 |
| |