mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
internal: more visibility into why things happen
This commit is contained in:
parent
6f037da8cb
commit
3f4235d59b
4 changed files with 35 additions and 28 deletions
|
@ -192,7 +192,8 @@ impl GlobalState {
|
|||
if let Some(path) = vfs.file_path(file.file_id).as_path() {
|
||||
let path = path.to_path_buf();
|
||||
if reload::should_refresh_for_change(&path, file.change_kind) {
|
||||
self.fetch_workspaces_queue.request_op();
|
||||
self.fetch_workspaces_queue
|
||||
.request_op(format!("vfs file change: {}", path.display()));
|
||||
}
|
||||
fs_changes.push((path, file.change_kind));
|
||||
if file.is_created_or_deleted() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue