about summary refs log tree commit diff
path: root/crates/ide/src/annotations.rs
AgeCommit message (Collapse)AuthorLines
2022-05-12internal: Remove redundant offset data in annotationsLukas Wirth-130/+72
2022-03-12more clippy fixes:Matthias Krüger-1/+1
clippy::match_like_matches_macro clippy::to_string_in_format_args clippy::single_char_add_str clippy::filter_map_identity clippy::clone_on_copy clippy::useless_format clippy::unused_unit
2022-03-12fix clippy::map_flattenMatthias Krüger-2/+1
2022-02-21fix: Make code lenses work on attributed itemsLukas Wirth-11/+15
2021-11-11Replace some more ide usages of ModuleDef with DefinitionLukas Wirth-79/+71
2021-10-06Refactor to eliminate a vector allocation.Eric Sampson-40/+30
2021-10-06Don't do work and then throw it away.Eric Sampson-4/+22
2021-10-05Refactor according to PR comments to remove allocations.Eric Sampson-17/+11
2021-10-04initialize vector to required size.Eric Sampson-1/+1
2021-10-04tweak variable names.Eric Sampson-8/+8
2021-10-04Add enum variant references CodeLens.Eric Sampson-8/+45
2021-09-27Rename `*Owner` traits to `Has*`Lukas Wirth-2/+2
2021-09-01fix: multi-token mapping aware find referencesJonas Schievink-1/+1
2021-08-14SimplifyLukas Wirth-8/+2
2021-08-02internal: explain that we don't `ref` in style.mdAleksey Kladov-5/+5
2021-07-11update testsAleksey Kladov-204/+24
2021-07-11drop unused fieldsAleksey Kladov-2/+0
2021-07-11simplifyAleksey Kladov-2/+2
2021-07-11drop unused fieldAleksey Kladov-5/+2
2021-07-11Let the client care about presentationAleksey Kladov-12/+2
2021-07-11Merge #9449bors[bot]-10/+24
9449: feat: Emit test names in `Run test` runnables if they come from a macro expansion r=matklad a=Veykril Fixes #8964 Before: ![Code_D1Tu5Iuh5I](https://user-images.githubusercontent.com/3757771/124174685-f552b380-daac-11eb-9086-c97db014b77c.png) After: ![image](https://user-images.githubusercontent.com/3757771/124174493-bb81ad00-daac-11eb-96c7-3de6545a62e1.png) Basically when a macro emits more than one test we name the test functions/modules name in the runnable instead to not emit a bunch of equally named `Run Test` annotations which don't really tell much. Note that the `Run fibonacci_test Tests` line is below the attributes due to the fact that the function name span is being reused for the generated module in rstest's expansion. Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-07-09Emit test name in Run test runnables if it comes from a macro expansionLukas Wirth-10/+24
2021-07-06internal: ensure consistent passing for config paramsAleksey Kladov-3/+3
We pass "context" parametes first, so configs should be on the left. "Bigger" context wins, so configs goes after db.
2021-06-30Don't add test runnables for outline modules in the wrong fileLukas Wirth-0/+2
2021-05-28Move runnable lenses below attributesLukas Wirth-17/+17
2021-05-26Move annotations below item attributesLukas Wirth-35/+31
2021-03-31Gifs and screenshots for features in manualAyomide Bamidele-0/+2
2021-03-24Clean up implementationBrandon-7/+8
2021-03-24Fix MISSING: command error with macrosBrandon-8/+37
2021-03-15move Semantics::visit_file_defs to ide_db::helpersLukas Wirth-1/+2
2021-03-15Introduce Semantics::visit_file_defsLukas Wirth-28/+58
2021-03-15Move code to the appropriate layerAleksey Kladov-2/+2
StructureNodeKind is a type which is specific to a particular feature, file_structure. It shouldn't be in the "code shared by all ide features" part.
2021-03-14Introduce StructureNodeKindivan770-7/+9
2021-02-15Actually fix runnable orderivan770-20/+20
2021-02-13Make annotations tests similar to those in runnablesivan770-188/+707
2021-02-13Improve runnable annotations order, fix incorrect ignore detectionivan770-5/+13
2021-02-13Added annotation testsivan770-0/+267
2021-02-13Fix incorrect references annotationivan770-2/+3
2021-02-13Moved CodeLens to ide crateivan770-0/+142