aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* restructure a bitEkaterina Babshukova2019-10-221-2/+0
|
* find scope for `Declaration` itemEkaterina Babshukova2019-10-221-0/+1
|
* refactor name_ref_kind.rsEkaterina Babshukova2019-10-221-1/+1
|
* Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-141-3/+7
|
* use slightly more idiomatic api for cfgAleksey Kladov2019-10-081-1/+2
|
* Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-021-1/+5
|
* allow compiling ra_ide_api on wasmAleksey Kladov2019-09-201-0/+1
|
* A few doc commentskjeremy2019-09-191-1/+9
|
* fix renaming of modulesAleksey Kladov2019-09-051-2/+2
|
* implement feature flagsAleksey Kladov2019-08-221-3/+13
|
* implement durabilityAleksey Kladov2019-08-151-0/+3
|
* Make Analysis api cancellableKirill Bulatov2019-07-251-39/+47
|
* Resolve types on the serverKirill Bulatov2019-07-211-1/+1
|
* Code review fixesKirill Bulatov2019-07-211-2/+2
|
* Refactor server apiKirill Bulatov2019-07-201-0/+7
|
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-191-6/+6
|
* make Parse fields privateAleksey Kladov2019-07-121-9/+11
| | | | this is in preparation for the new rowan API
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-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 queriesAleksey Kladov2019-06-301-0/+4
|
* Move memory usage statistics to ra_profAleksey Kladov2019-06-301-6/+0
|
* add analysis-bench to benchmark incremental analysisAleksey Kladov2019-06-161-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 analysisAleksey Kladov2019-06-151-0/+3
|
* make LRU cache configurableAleksey Kladov2019-06-121-1/+10
|
* Remove node function in NavTargetEdwin Cheng2019-06-081-1/+1
|
* fix typos in mbe testsAleksey Kladov2019-05-281-6/+6
|
* Disable broken struct field rainbowingPascal Hertleif2019-05-271-3/+3
|
* More clever highlighting, incl draft for structsPascal Hertleif2019-05-271-1/+1
|
* Colorize Rust code as HTMLAleksey Kladov2019-05-251-0/+5
|
* Move NameRef classification logic out of reference_definitionLaurențiu Nicola2019-05-231-8/+3
|
* Basic resolution for ADTkjeremy2019-04-231-0/+8
|
* Make display modules privateVille Penttinen2019-04-091-1/+1
|
* Move structure to display/structureVille Penttinen2019-04-091-4/+2
|
* Move navigation_target to display/navigation_targetVille Penttinen2019-04-091-3/+1
|
* Move FunctionSignature to display, remove write_joinedVille Penttinen2019-04-091-26/+1
| | | | | write_joined is replaced with `join_to_string::join` which provides the necessary functionality.
* Refactor CallInfo function signatures to new FunctionSignature typeVille Penttinen2019-04-091-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_apiSergey Parilin2019-03-251-6/+5
| | | | ra_ide_api_light removed completely
* Rename source_edit to source_file_edit to match file_system_editVille Penttinen2019-03-251-6/+6
|
* Further improvements to the SourceChange convenience methodsVille Penttinen2019-03-251-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 editsVille Penttinen2019-03-241-12/+43
|
* Move highlighting and matching_braceWilco Kusee2019-03-231-4/+5
|
* Remove LocalEdit usageWilco Kusee2019-03-231-20/+9
|
* Move typing to ra_ide_apiWilco Kusee2019-03-231-3/+4
|
* Simplify changes and fix testsWilco Kusee2019-03-221-2/+4
|
* Remove LocalEdit usageWilco Kusee2019-03-221-1/+8
|
* Move join_lines to ra_ide_apiWilco Kusee2019-03-221-4/+4
|
* Move folding_ranges to ra_ide_apiSergey Parilin2019-03-221-2/+4
|
* line_index and line_index_utils moved to ra_ide_apiSergey Parilin2019-03-221-1/+4
|
* introduce Analysis::from_single_fileAleksey Kladov2019-03-201-0/+17
|
* Implement syntax tree support for syntax inside stringVille Penttinen2019-03-041-8/+3
| | | | | | This allows us to select a string or portions of it and try parsing it as rust syntax. This is mostly helpful when developing tests where the test itself contains some rust syntax as a string.
* Add optional range parameter to SyntaxTreeParamsVille Penttinen2019-03-031-3/+9
| | | | | When range is provided, instead of showing the syntax for the whole file, we'll show the syntax tree for the given range.