{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":115039706,"defaultBranch":"master","name":"rust-analyzer","ownerLogin":"rust-lang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-12-21T19:24:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5430905?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1717392924.0","currentOid":""},"activityList":{"items":[{"before":"99580ea5926f574134975f4a799880397493ad72","after":"1d07b6c4caa7bb1cc34c4bd1431999283a8e001b","ref":"refs/heads/gh-pages","pushedAt":"2024-06-08T12:54:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 913371fb0b3d3ef1b13f39fd15fd11480275d16b","shortMessageHtmlLink":"deploy: 913371f"}},{"before":"6a171952f7c39b1d3961b741408bfb164787fec6","after":"913371fb0b3d3ef1b13f39fd15fd11480275d16b","ref":"refs/heads/master","pushedAt":"2024-06-08T12:53:50.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17365 - DropDemBits:diagnostic-snippet-cap, r=Veykril\n\ninternal: Expose snippet capability to diagnostic quickfixes\n\nFixes #16767","shortMessageHtmlLink":"Auto merge of #17365 - DropDemBits:diagnostic-snippet-cap, r=Veykril"}},{"before":"6a171952f7c39b1d3961b741408bfb164787fec6","after":"913371fb0b3d3ef1b13f39fd15fd11480275d16b","ref":"refs/heads/auto","pushedAt":"2024-06-08T12:41:19.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17365 - DropDemBits:diagnostic-snippet-cap, r=Veykril\n\ninternal: Expose snippet capability to diagnostic quickfixes\n\nFixes #16767","shortMessageHtmlLink":"Auto merge of #17365 - DropDemBits:diagnostic-snippet-cap, r=Veykril"}},{"before":"4a450aa8c56c4602cb489566f19bb56f1378aeaf","after":"99580ea5926f574134975f4a799880397493ad72","ref":"refs/heads/gh-pages","pushedAt":"2024-06-08T11:10:04.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 6a171952f7c39b1d3961b741408bfb164787fec6","shortMessageHtmlLink":"deploy: 6a17195"}},{"before":"a8ad08b9b22f6dba5266d4c6b9469263f841cfd1","after":"6a171952f7c39b1d3961b741408bfb164787fec6","ref":"refs/heads/master","pushedAt":"2024-06-08T11:08:53.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17368 - Veykril:dist-fix, r=Veykril\n\nfix: Fix generated markers not being patchable in package.json\n\nI think the newlines are tripping up CI, so I hope clearing the property to leave an empty object won't make VSCode made here.","shortMessageHtmlLink":"Auto merge of #17368 - Veykril:dist-fix, r=Veykril"}},{"before":"a8ad08b9b22f6dba5266d4c6b9469263f841cfd1","after":"6a171952f7c39b1d3961b741408bfb164787fec6","ref":"refs/heads/auto","pushedAt":"2024-06-08T10:56:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17368 - Veykril:dist-fix, r=Veykril\n\nfix: Fix generated markers not being patchable in package.json\n\nI think the newlines are tripping up CI, so I hope clearing the property to leave an empty object won't make VSCode made here.","shortMessageHtmlLink":"Auto merge of #17368 - Veykril:dist-fix, r=Veykril"}},{"before":"9658ab66548c5c4e2ac32451b4f1a46b2704f353","after":"4a450aa8c56c4602cb489566f19bb56f1378aeaf","ref":"refs/heads/gh-pages","pushedAt":"2024-06-07T13:04:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: a8ad08b9b22f6dba5266d4c6b9469263f841cfd1","shortMessageHtmlLink":"deploy: a8ad08b"}},{"before":"47355766ca6573d0849f4037b1dac0b967230ddc","after":"a8ad08b9b22f6dba5266d4c6b9469263f841cfd1","ref":"refs/heads/master","pushedAt":"2024-06-07T13:03:49.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17359 - Veykril:status-bar, r=Veykril\n\nAdd version info to status bar item","shortMessageHtmlLink":"Auto merge of #17359 - Veykril:status-bar, r=Veykril"}},{"before":"143bb93ed7ebc044ae6ce477aa8e1c727f26ec03","after":"9658ab66548c5c4e2ac32451b4f1a46b2704f353","ref":"refs/heads/gh-pages","pushedAt":"2024-06-07T12:51:35.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 47355766ca6573d0849f4037b1dac0b967230ddc","shortMessageHtmlLink":"deploy: 4735576"}},{"before":"47355766ca6573d0849f4037b1dac0b967230ddc","after":"a8ad08b9b22f6dba5266d4c6b9469263f841cfd1","ref":"refs/heads/auto","pushedAt":"2024-06-07T12:51:29.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17359 - Veykril:status-bar, r=Veykril\n\nAdd version info to status bar item","shortMessageHtmlLink":"Auto merge of #17359 - Veykril:status-bar, r=Veykril"}},{"before":"7c5d496ef8c19d8878434594216c565aa58104fb","after":"47355766ca6573d0849f4037b1dac0b967230ddc","ref":"refs/heads/master","pushedAt":"2024-06-07T12:50:26.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17360 - Veykril:rename-alias-foreign, r=Veykril\n\nfix: Fix renaming imports of foreign items touching foreign sources\n\nFixes https://github.com/rust-lang/rust-analyzer/issues/17318","shortMessageHtmlLink":"Auto merge of #17360 - Veykril:rename-alias-foreign, r=Veykril"}},{"before":"68c49dc2fc32d27862d78143abc9bdfe2c128ca7","after":"47355766ca6573d0849f4037b1dac0b967230ddc","ref":"refs/heads/auto","pushedAt":"2024-06-07T12:38:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17360 - Veykril:rename-alias-foreign, r=Veykril\n\nfix: Fix renaming imports of foreign items touching foreign sources\n\nFixes https://github.com/rust-lang/rust-analyzer/issues/17318","shortMessageHtmlLink":"Auto merge of #17360 - Veykril:rename-alias-foreign, r=Veykril"}},{"before":"7c5d496ef8c19d8878434594216c565aa58104fb","after":"68c49dc2fc32d27862d78143abc9bdfe2c128ca7","ref":"refs/heads/auto","pushedAt":"2024-06-07T12:21:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17359 - Veykril:status-bar, r=Veykril\n\nAdd version info to status bar item","shortMessageHtmlLink":"Auto merge of #17359 - Veykril:status-bar, r=Veykril"}},{"before":"fdd064cced967228672cc4a15562c4074d824492","after":"143bb93ed7ebc044ae6ce477aa8e1c727f26ec03","ref":"refs/heads/gh-pages","pushedAt":"2024-06-07T11:02:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 7c5d496ef8c19d8878434594216c565aa58104fb","shortMessageHtmlLink":"deploy: 7c5d496"}},{"before":"26c1638bfba4bac7f3c563833fb2d4afcfa12d52","after":"7c5d496ef8c19d8878434594216c565aa58104fb","ref":"refs/heads/master","pushedAt":"2024-06-07T11:01:33.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17058 - alibektas:13529/ratoml, r=Veykril\n\nfeat: TOML based config for rust-analyzer\n\n> Important\n>\n> We don't promise _**any**_ stability with this feature yet, any configs exposed may be removed again, the grouping may change etc.\n\n# TOML Based Config for RA\n\nThis PR ( addresses #13529 and this is a follow-up PR on #16639 ) makes rust-analyzer configurable by configuration files called `rust-analyzer.toml`. Files **must** be named `rust-analyzer.toml`. There is not a strict rule regarding where the files should be placed, but it is recommended to put them near a file that triggers server to start (i.e., `Cargo.{toml,lock}`, `rust-project.json`).\n\n## Configuration Types\n\nPrevious configuration keys are now split into three different classes.\n\n1. Client keys: These keys only make sense when set by the client (e.g., by setting them in `settings.json` in VSCode). They are but a small portion of this list. One such example is `rust_analyzer.files_watcher`, based on which either the client or the server will be responsible for watching for changes made to project files.\n2. Global keys: These keys apply to the entire workspace and can only be set on the very top layers of the hierarchy. The next section gives instructions on which layers these are.\n3. Local keys: Keys that can be changed for each crate if desired.\n\n### How Am I Supposed To Know If A Config Is Gl/Loc/Cl ?\n\n#17101\n\n## Configuration Hierarchy\n\nThere are 5 levels in the configuration hierarchy. When a key is searched for, it is searched in a bottom-up depth-first fashion.\n\n### Default Configuration\n\n**Scope**: Global, Local, and Client\n\nThis is a hard-coded set of configurations. When a configuration key could not be found, then its default value applies.\n\n### User configuration\n\n**Scope**: Global, Local\n\nIf you want your configurations to apply to **every** project you have, you can do so by setting them in your `$CONFIG_DIR/rust-analyzer/rust-analyzer.toml` file, where `$CONFIG_DIR` is :\n\n| Platform | Value | Example |\n| ------- | ------------------------------------- | ---------------------------------------- |\n| Linux | `$XDG_CONFIG_HOME` or `$HOME`/.config | /home/alice/.config |\n| macOS | `$HOME`/Library/Application Support | /Users/Alice/Library/Application Support |\n| Windows | `{FOLDERID_RoamingAppData}` | C:\\Users\\Alice\\AppData\\Roaming |\n\n### Client configuration\n\n**Scope**: Global, Local, and Client\n\nPreviously, the only way to configure rust-analyzer was to configure it from the settings of the Client you are using. This level corresponds to that.\n\n> With this PR, you don't need to port anything to benefit from new features. You can continue to use your old settings as they are.\n\n### Workspace Root Configuration\n\n**Scope**: Global, Local\n\nRust-analyzer already used the path of the workspace you opened in your Client. We used this information to create a configuration file that won't affect your other projects and define global level configurations at the same time.\n\n### Local Configuration\n\n**Scope**: Local\n\nYou can also configure rust-analyzer on a crate level. Although it is not an error to define global ( or client ) level keys in such files, they won't be taken into consideration by the server. Defined local keys will affect the crate in which they are defined and crate's descendants. Internally, a Rust project is split into what we call `SourceRoot`s. This, although with exceptions, is equal to splitting a project into crates.\n\n> You may choose to have more than one `rust-analyzer.toml` files within a `SourceRoot`, but among them, the one closer to the project root will be","shortMessageHtmlLink":"Auto merge of #17058 - alibektas:13529/ratoml, r=Veykril"}},{"before":"26c1638bfba4bac7f3c563833fb2d4afcfa12d52","after":"7c5d496ef8c19d8878434594216c565aa58104fb","ref":"refs/heads/auto","pushedAt":"2024-06-07T10:49:04.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17058 - alibektas:13529/ratoml, r=Veykril\n\nfeat: TOML based config for rust-analyzer\n\n> Important\n>\n> We don't promise _**any**_ stability with this feature yet, any configs exposed may be removed again, the grouping may change etc.\n\n# TOML Based Config for RA\n\nThis PR ( addresses #13529 and this is a follow-up PR on #16639 ) makes rust-analyzer configurable by configuration files called `rust-analyzer.toml`. Files **must** be named `rust-analyzer.toml`. There is not a strict rule regarding where the files should be placed, but it is recommended to put them near a file that triggers server to start (i.e., `Cargo.{toml,lock}`, `rust-project.json`).\n\n## Configuration Types\n\nPrevious configuration keys are now split into three different classes.\n\n1. Client keys: These keys only make sense when set by the client (e.g., by setting them in `settings.json` in VSCode). They are but a small portion of this list. One such example is `rust_analyzer.files_watcher`, based on which either the client or the server will be responsible for watching for changes made to project files.\n2. Global keys: These keys apply to the entire workspace and can only be set on the very top layers of the hierarchy. The next section gives instructions on which layers these are.\n3. Local keys: Keys that can be changed for each crate if desired.\n\n### How Am I Supposed To Know If A Config Is Gl/Loc/Cl ?\n\n#17101\n\n## Configuration Hierarchy\n\nThere are 5 levels in the configuration hierarchy. When a key is searched for, it is searched in a bottom-up depth-first fashion.\n\n### Default Configuration\n\n**Scope**: Global, Local, and Client\n\nThis is a hard-coded set of configurations. When a configuration key could not be found, then its default value applies.\n\n### User configuration\n\n**Scope**: Global, Local\n\nIf you want your configurations to apply to **every** project you have, you can do so by setting them in your `$CONFIG_DIR/rust-analyzer/rust-analyzer.toml` file, where `$CONFIG_DIR` is :\n\n| Platform | Value | Example |\n| ------- | ------------------------------------- | ---------------------------------------- |\n| Linux | `$XDG_CONFIG_HOME` or `$HOME`/.config | /home/alice/.config |\n| macOS | `$HOME`/Library/Application Support | /Users/Alice/Library/Application Support |\n| Windows | `{FOLDERID_RoamingAppData}` | C:\\Users\\Alice\\AppData\\Roaming |\n\n### Client configuration\n\n**Scope**: Global, Local, and Client\n\nPreviously, the only way to configure rust-analyzer was to configure it from the settings of the Client you are using. This level corresponds to that.\n\n> With this PR, you don't need to port anything to benefit from new features. You can continue to use your old settings as they are.\n\n### Workspace Root Configuration\n\n**Scope**: Global, Local\n\nRust-analyzer already used the path of the workspace you opened in your Client. We used this information to create a configuration file that won't affect your other projects and define global level configurations at the same time.\n\n### Local Configuration\n\n**Scope**: Local\n\nYou can also configure rust-analyzer on a crate level. Although it is not an error to define global ( or client ) level keys in such files, they won't be taken into consideration by the server. Defined local keys will affect the crate in which they are defined and crate's descendants. Internally, a Rust project is split into what we call `SourceRoot`s. This, although with exceptions, is equal to splitting a project into crates.\n\n> You may choose to have more than one `rust-analyzer.toml` files within a `SourceRoot`, but among them, the one closer to the project root will be","shortMessageHtmlLink":"Auto merge of #17058 - alibektas:13529/ratoml, r=Veykril"}},{"before":"3d26062f3cfd72bf2b26895a8e7c51b18a2fda7e","after":"fdd064cced967228672cc4a15562c4074d824492","ref":"refs/heads/gh-pages","pushedAt":"2024-06-07T10:49:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 26c1638bfba4bac7f3c563833fb2d4afcfa12d52","shortMessageHtmlLink":"deploy: 26c1638"}},{"before":"d1f74a263000f7a4a3db3c5332996aa482eb2b14","after":"26c1638bfba4bac7f3c563833fb2d4afcfa12d52","ref":"refs/heads/master","pushedAt":"2024-06-07T10:47:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17308 - mathew-horner:prefer-workspace, r=Veykril\n\nAdd preference modifier for workspace-local crates when using auto import.\n\n`@joshka` pointed out some odd behavior of auto import ordering. It doesn't seem that the current heuristics were applying any sort of precedence to imports from the workspace. I've went ahead and added that.\n\nI hope to get some feedback on the modifier numbers here. I just went with something that felt like it balanced giving more power to workspace crates without completely ignoring relative path distance.\n\ncloses https://github.com/rust-lang/rust-analyzer/issues/17303","shortMessageHtmlLink":"Auto merge of #17308 - mathew-horner:prefer-workspace, r=Veykril"}},{"before":"d1f74a263000f7a4a3db3c5332996aa482eb2b14","after":"26c1638bfba4bac7f3c563833fb2d4afcfa12d52","ref":"refs/heads/auto","pushedAt":"2024-06-07T10:35:51.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17308 - mathew-horner:prefer-workspace, r=Veykril\n\nAdd preference modifier for workspace-local crates when using auto import.\n\n`@joshka` pointed out some odd behavior of auto import ordering. It doesn't seem that the current heuristics were applying any sort of precedence to imports from the workspace. I've went ahead and added that.\n\nI hope to get some feedback on the modifier numbers here. I just went with something that felt like it balanced giving more power to workspace crates without completely ignoring relative path distance.\n\ncloses https://github.com/rust-lang/rust-analyzer/issues/17303","shortMessageHtmlLink":"Auto merge of #17308 - mathew-horner:prefer-workspace, r=Veykril"}},{"before":"8b9e5e7411c29ef4e6dad038c14eaad89641b4f9","after":"3d26062f3cfd72bf2b26895a8e7c51b18a2fda7e","ref":"refs/heads/gh-pages","pushedAt":"2024-06-07T06:39:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: d1f74a263000f7a4a3db3c5332996aa482eb2b14","shortMessageHtmlLink":"deploy: d1f74a2"}},{"before":"5f3de7863a55c625a288d97ac02b7474480a8dc9","after":"d1f74a263000f7a4a3db3c5332996aa482eb2b14","ref":"refs/heads/master","pushedAt":"2024-06-07T06:38:16.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17356 - Wilfred:span_shorthand, r=lnicola\n\nchore: Prefer tracing span shorthand macros\n\nUse `info_span!()` and `debug_span!()` rather than the more verbose `tracing::span!(tracing::Level::INFO)`.","shortMessageHtmlLink":"Auto merge of #17356 - Wilfred:span_shorthand, r=lnicola"}},{"before":"5f3de7863a55c625a288d97ac02b7474480a8dc9","after":"d1f74a263000f7a4a3db3c5332996aa482eb2b14","ref":"refs/heads/auto","pushedAt":"2024-06-07T06:25:25.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17356 - Wilfred:span_shorthand, r=lnicola\n\nchore: Prefer tracing span shorthand macros\n\nUse `info_span!()` and `debug_span!()` rather than the more verbose `tracing::span!(tracing::Level::INFO)`.","shortMessageHtmlLink":"Auto merge of #17356 - Wilfred:span_shorthand, r=lnicola"}},{"before":"99d5810ed92bfd151050d971a5b2fc6daf444c0d","after":"8b9e5e7411c29ef4e6dad038c14eaad89641b4f9","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T14:02:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 5f3de7863a55c625a288d97ac02b7474480a8dc9","shortMessageHtmlLink":"deploy: 5f3de78"}},{"before":"af488c971fa85655f55575436f37faf09f13ed17","after":"5f3de7863a55c625a288d97ac02b7474480a8dc9","ref":"refs/heads/master","pushedAt":"2024-06-06T14:01:10.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17353 - roife:fix-issue-12728, r=Veykril\n\nfix: incorrect formatting of hover actions\n\nfix #12728.\n\n### Changes\n\n- Use ` | ` as the separator for actions. (I'm not sure why we use `___` previously)\n- Reorder actions to match codelens","shortMessageHtmlLink":"Auto merge of #17353 - roife:fix-issue-12728, r=Veykril"}},{"before":"af488c971fa85655f55575436f37faf09f13ed17","after":"5f3de7863a55c625a288d97ac02b7474480a8dc9","ref":"refs/heads/auto","pushedAt":"2024-06-06T13:49:09.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17353 - roife:fix-issue-12728, r=Veykril\n\nfix: incorrect formatting of hover actions\n\nfix #12728.\n\n### Changes\n\n- Use ` | ` as the separator for actions. (I'm not sure why we use `___` previously)\n- Reorder actions to match codelens","shortMessageHtmlLink":"Auto merge of #17353 - roife:fix-issue-12728, r=Veykril"}},{"before":"8b637fdcffa5bf38ae283931e5fea40c94318926","after":"99d5810ed92bfd151050d971a5b2fc6daf444c0d","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T09:53:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: af488c971fa85655f55575436f37faf09f13ed17","shortMessageHtmlLink":"deploy: af488c9"}},{"before":"577b0becd0056a32adc5329485022fecffc03920","after":"af488c971fa85655f55575436f37faf09f13ed17","ref":"refs/heads/master","pushedAt":"2024-06-06T09:52:47.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17352 - roife:fix-issue-17338, r=Veykril\n\nfix: do not resolve prelude within block modules\n\nfix #17338 (continuing from #17251).\n\nIn #17251, we injected preludes into non-top-level modules, which leading to r-a to directly resolve names in preludes in block modules. This PR fix it by checking whether the module is a pseudo-module introduced by blocks. (similar to what we do for extern preludes)","shortMessageHtmlLink":"Auto merge of #17352 - roife:fix-issue-17338, r=Veykril"}},{"before":"6e427d8cb0214a01220ffbb96fcb748c207eee60","after":"af488c971fa85655f55575436f37faf09f13ed17","ref":"refs/heads/auto","pushedAt":"2024-06-06T09:40:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17352 - roife:fix-issue-17338, r=Veykril\n\nfix: do not resolve prelude within block modules\n\nfix #17338 (continuing from #17251).\n\nIn #17251, we injected preludes into non-top-level modules, which leading to r-a to directly resolve names in preludes in block modules. This PR fix it by checking whether the module is a pseudo-module introduced by blocks. (similar to what we do for extern preludes)","shortMessageHtmlLink":"Auto merge of #17352 - roife:fix-issue-17338, r=Veykril"}},{"before":"577b0becd0056a32adc5329485022fecffc03920","after":"6e427d8cb0214a01220ffbb96fcb748c207eee60","ref":"refs/heads/auto","pushedAt":"2024-06-06T08:47:40.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"bors","name":"bors","path":"/bors","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3372342?s=80&v=4"},"commit":{"message":"Auto merge of #17058 - alibektas:13529/ratoml, r=Veykril\n\nfeat: TOML based config for rust-analyzer\n\n# TOML Based Config for RA\n\nThis PR ( fixes #13529 and this is a follow-up PR on #16639 ) makes rust-analyzer configurable by configuration files called `rust-analyzer.toml`. Files **must** be named `rust-analyzer.toml`. There is not a strict rule regarding where the files should be placed, but it is recommended to put them near a file that triggers server to start (i.e., `Cargo.{toml,lock}`, `rust-project.json`).\n\n## Configuration Types\n\nPrevious configuration keys are now split into three different classes.\n\n1. Client keys: These keys only make sense when set by the client (e.g., by setting them in `settings.json` in VSCode). They are but a small portion of this list. One such example is `rust_analyzer.files_watcher`, based on which either the client or the server will be responsible for watching for changes made to project files.\n2. Global keys: These keys apply to the entire workspace and can only be set on the very top layers of the hierarchy. The next section gives instructions on which layers these are.\n3. Local keys: Keys that can be changed for each crate if desired.\n\n### How Am I Supposed To Know If A Config Is Gl/Loc/Cl ?\n\n#17101\n\n## Configuration Hierarchy\n\nThere are 5 levels in the configuration hierarchy. When a key is searched for, it is searched in a bottom-up depth-first fashion.\n\n### Default Configuration\n\n**Scope**: Global, Local, and Client\n\nThis is a hard-coded set of configurations. When a configuration key could not be found, then its default value applies.\n\n### User configuration\n\n**Scope**: Global, Local\n\nIf you want your configurations to apply to **every** project you have, you can do so by setting them in your `$CONFIG_DIR/rust-analyzer/rust-analyzer.toml` file, where `$CONFIG_DIR` is :\n\n| Platform | Value | Example |\n| ------- | ------------------------------------- | ---------------------------------------- |\n| Linux | `$XDG_CONFIG_HOME` or `$HOME`/.config | /home/alice/.config |\n| macOS | `$HOME`/Library/Application Support | /Users/Alice/Library/Application Support |\n| Windows | `{FOLDERID_RoamingAppData}` | C:\\Users\\Alice\\AppData\\Roaming |\n\n### Client configuration\n\n**Scope**: Global, Local, and Client\n\nPreviously, the only way to configure rust-analyzer was to configure it from the settings of the Client you are using. This level corresponds to that.\n\n> With this PR, you don't need to port anything to benefit from new features. You can continue to use your old settings as they are.\n\n### Workspace Root Configuration\n\n**Scope**: Global, Local\n\nRust-analyzer already used the path of the workspace you opened in your Client. We used this information to create a configuration file that won't affect your other projects and define global level configurations at the same time.\n\n### Local Configuration\n\n**Scope**: Local\n\nYou can also configure rust-analyzer on a crate level. Although it is not an error to define global ( or client ) level keys in such files, they won't be taken into consideration by the server. Defined local keys will affect the crate in which they are defined and crate's descendants. Internally, a Rust project is split into what we call `SourceRoot`s. This, although with exceptions, is equal to splitting a project into crates.\n\n> You may choose to have more than one `rust-analyzer.toml` files within a `SourceRoot`, but among them, the one closer to the project root will be","shortMessageHtmlLink":"Auto merge of #17058 - alibektas:13529/ratoml, r=Veykril"}},{"before":"550a84b2bfc98c79a49bca71f8f374e437af607f","after":"8b637fdcffa5bf38ae283931e5fea40c94318926","ref":"refs/heads/gh-pages","pushedAt":"2024-06-06T08:17:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"deploy: 577b0becd0056a32adc5329485022fecffc03920","shortMessageHtmlLink":"deploy: 577b0be"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEX-rnIgA","startCursor":null,"endCursor":null}},"title":"Activity ยท rust-lang/rust-analyzer"}