Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							3cd57c425a 
							
						 
					 
					
						
						
							
							Fix annotations not resolving when lens location is set to whole item  
						
						
						
						
					 
					
						2022-10-01 00:18:23 +02:00 
						 
				 
			
				
					
						
							
							
								Mathew Horner 
							
						 
					 
					
						
						
						
						
							
						
						
							f57c15f3e9 
							
						 
					 
					
						
						
							
							Address comments and fix build.  
						
						
						
						
					 
					
						2022-09-12 16:34:13 -05:00 
						 
				 
			
				
					
						
							
							
								Mathew Horner 
							
						 
					 
					
						
						
						
						
							
						
						
							8a2803d9ae 
							
						 
					 
					
						
						
							
							Allow configuration of annotation location.  
						
						... 
						
						
						
						Previously, annotations would only appear above the name of an item (function signature, struct declaration, etc).
Now, rust-analyzer can be configured to show annotations either above the name or above the whole item (including doc comments and attributes). 
						
						
					 
					
						2022-09-11 22:40:33 -05:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							ca46c68b04 
							
						 
					 
					
						
						
							
							internal: Remove redundant offset data in annotations  
						
						
						
						
					 
					
						2022-05-12 13:06:49 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias Krüger 
							
						 
					 
					
						
						
						
						
							
						
						
							56e4ea59d9 
							
						 
					 
					
						
						
							
							more clippy fixes:  
						
						... 
						
						
						
						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-12 16:50:49 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias Krüger 
							
						 
					 
					
						
						
						
						
							
						
						
							d64d711db2 
							
						 
					 
					
						
						
							
							fix clippy::map_flatten  
						
						
						
						
					 
					
						2022-03-12 16:50:49 +01:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							c6645f2eb6 
							
						 
					 
					
						
						
							
							fix: Make code lenses work on attributed items  
						
						
						
						
					 
					
						2022-02-21 18:07:47 +01:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							a510021065 
							
						 
					 
					
						
						
							
							Replace some more ide usages of ModuleDef with Definition  
						
						
						
						
					 
					
						2021-11-11 18:20:54 +01:00 
						 
				 
			
				
					
						
							
							
								Eric Sampson 
							
						 
					 
					
						
						
						
						
							
						
						
							efca421c43 
							
						 
					 
					
						
						
							
							Refactor to eliminate a vector allocation.  
						
						
						
						
					 
					
						2021-10-06 16:43:37 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Sampson 
							
						 
					 
					
						
						
						
						
							
						
						
							0d77be67f7 
							
						 
					 
					
						
						
							
							Don't do work and then throw it away.  
						
						
						
						
					 
					
						2021-10-06 01:16:31 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Sampson 
							
						 
					 
					
						
						
						
						
							
						
						
							6d05b07f7d 
							
						 
					 
					
						
						
							
							Refactor according to PR comments to remove allocations.  
						
						
						
						
					 
					
						2021-10-05 15:42:45 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Sampson 
							
						 
					 
					
						
						
						
						
							
						
						
							160a7b097a 
							
						 
					 
					
						
						
							
							initialize vector to required size.  
						
						
						
						
					 
					
						2021-10-04 16:14:01 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Sampson 
							
						 
					 
					
						
						
						
						
							
						
						
							5df6259996 
							
						 
					 
					
						
						
							
							tweak variable names.  
						
						
						
						
					 
					
						2021-10-04 02:42:13 -05:00 
						 
				 
			
				
					
						
							
							
								Eric Sampson 
							
						 
					 
					
						
						
						
						
							
						
						
							a0bb31587e 
							
						 
					 
					
						
						
							
							Add enum variant references CodeLens.  
						
						
						
						
					 
					
						2021-10-04 02:18:31 -05:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							b6ed91a6de 
							
						 
					 
					
						
						
							
							Rename *Owner traits to Has*  
						
						
						
						
					 
					
						2021-09-27 12:54:24 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Schievink 
							
						 
					 
					
						
						
						
						
							
						
						
							bdba35cc93 
							
						 
					 
					
						
						
							
							fix: multi-token mapping aware find references  
						
						
						
						
					 
					
						2021-09-01 19:19:16 +02:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							894a09b749 
							
						 
					 
					
						
						
							
							Simplify  
						
						
						
						
					 
					
						2021-08-14 18:02:51 +02:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							12d7f5b56e 
							
						 
					 
					
						
						
							
							internal: explain that we don't ref in style.md  
						
						
						
						
					 
					
						2021-08-02 15:59:28 +03:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							92059ea438 
							
						 
					 
					
						
						
							
							update tests  
						
						
						
						
					 
					
						2021-07-11 13:55:00 +03:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							5c26523e94 
							
						 
					 
					
						
						
							
							drop unused fields  
						
						
						
						
					 
					
						2021-07-11 13:51:52 +03:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							a04775060c 
							
						 
					 
					
						
						
							
							simplify  
						
						
						
						
					 
					
						2021-07-11 13:49:38 +03:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							ddce16a126 
							
						 
					 
					
						
						
							
							drop unused field  
						
						
						
						
					 
					
						2021-07-11 13:48:26 +03:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							0dc186f612 
							
						 
					 
					
						
						
							
							Let the client care about presentation  
						
						
						
						
					 
					
						2021-07-11 13:42:19 +03:00 
						 
				 
			
				
					
						
							
							
								bors[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							325140a165 
							
						 
					 
					
						
						
							
							Merge  #9449  
						
						... 
						
						
						
						9449: feat: Emit test names in `Run test` runnables if they come from a macro expansion r=matklad a=Veykril
Fixes  #8964 
Before:

After:

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-11 09:37:33 +00:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							f1b3446844 
							
						 
					 
					
						
						
							
							Emit test name in Run test runnables if it comes from a macro expansion  
						
						
						
						
					 
					
						2021-07-09 14:35:42 +02:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							0db4f3f6a4 
							
						 
					 
					
						
						
							
							internal: ensure consistent passing for config params  
						
						... 
						
						
						
						We pass "context" parametes first, so configs should be on the left.
"Bigger" context wins, so configs goes after db. 
						
						
					 
					
						2021-07-06 00:00:39 +03:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							b8507ca98d 
							
						 
					 
					
						
						
							
							Don't add test runnables for outline modules in the wrong file  
						
						
						
						
					 
					
						2021-06-30 19:08:13 +02:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							61b4456752 
							
						 
					 
					
						
						
							
							Move runnable lenses below attributes  
						
						
						
						
					 
					
						2021-05-28 13:02:42 +02:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							dfa47eaadb 
							
						 
					 
					
						
						
							
							Move annotations below item attributes  
						
						
						
						
					 
					
						2021-05-26 12:23:51 +02:00 
						 
				 
			
				
					
						
							
							
								Ayomide Bamidele 
							
						 
					 
					
						
						
						
						
							
						
						
							276022682b 
							
						 
					 
					
						
						
							
							Gifs and screenshots for features in manual  
						
						
						
						
					 
					
						2021-03-31 00:08:10 +01:00 
						 
				 
			
				
					
						
							
							
								Brandon 
							
						 
					 
					
						
						
						
						
							
						
						
							903a2e98f9 
							
						 
					 
					
						
						
							
							Clean up implementation  
						
						
						
						
					 
					
						2021-03-24 00:47:55 -07:00 
						 
				 
			
				
					
						
							
							
								Brandon 
							
						 
					 
					
						
						
						
						
							
						
						
							0d063b8d21 
							
						 
					 
					
						
						
							
							Fix MISSING: command error with macros  
						
						
						
						
					 
					
						2021-03-24 00:00:38 -07:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							41745f48d5 
							
						 
					 
					
						
						
							
							move Semantics::visit_file_defs to ide_db::helpers  
						
						
						
						
					 
					
						2021-03-15 12:18:52 +01:00 
						 
				 
			
				
					
						
							
							
								Lukas Wirth 
							
						 
					 
					
						
						
						
						
							
						
						
							a1c96e04be 
							
						 
					 
					
						
						
							
							Introduce Semantics::visit_file_defs  
						
						
						
						
					 
					
						2021-03-15 12:14:34 +01:00 
						 
				 
			
				
					
						
							
							
								Aleksey Kladov 
							
						 
					 
					
						
						
						
						
							
						
						
							5dcdf2ceee 
							
						 
					 
					
						
						
							
							Move code to the appropriate layer  
						
						... 
						
						
						
						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-15 12:55:27 +03:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7d48e04f31 
							
						 
					 
					
						
						
							
							Introduce StructureNodeKind  
						
						
						
						
					 
					
						2021-03-14 19:00:41 +02:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							66de90b85a 
							
						 
					 
					
						
						
							
							Actually fix runnable order  
						
						
						
						
					 
					
						2021-02-15 16:09:50 +02:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4c2b201b7d 
							
						 
					 
					
						
						
							
							Make annotations tests similar to those in runnables  
						
						
						
						
					 
					
						2021-02-13 19:18:13 +02:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ee049b256a 
							
						 
					 
					
						
						
							
							Improve runnable annotations order, fix incorrect ignore detection  
						
						
						
						
					 
					
						2021-02-13 15:47:53 +02:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c46b32c449 
							
						 
					 
					
						
						
							
							Added annotation tests  
						
						
						
						
					 
					
						2021-02-13 15:27:04 +02:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02ad828c6d 
							
						 
					 
					
						
						
							
							Fix incorrect references annotation  
						
						
						
						
					 
					
						2021-02-13 13:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								ivan770 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							185da286d2 
							
						 
					 
					
						
						
							
							Moved CodeLens to ide crate  
						
						
						
						
					 
					
						2021-02-13 13:07:47 +02:00