无法理解为什么这个缓存目录不断出现

问题描述 投票:0回答:1

我位于 /Users/matthewpryor/projects/ 的所有存储库似乎都有一个不断出现的目录,不确定来自哪里...似乎与 ethers-rs 有关?注意:ethers-rs 正在被弃用。

目标:我想阻止此缓存目录和 json 文件出现。每次它出现时我都必须从 git 中取消跟踪它。我删除了该目录,如果我关闭并重新打开 VSCode,它会重新出现。

文件和目录名:

cache/solidity-files-cache.json

json文件的内容:

{
  "_format": "ethers-rs-sol-cache-3",
  "paths": {
    "artifacts": "out",
    "build_infos": "out/build-info",
    "sources": "src",
    "tests": "test",
    "scripts": "script",
    "libraries": ["node_modules"]
  },
  "files": {}
}

任何关于为什么会发生这种情况的想法或解决方案都非常感谢!

我尝试删除与以太坊相关的 Rust 目录,例如 trin

很困惑为什么会发生这种情况。我可能很久以前就配置错误了。

debugging rust caching ethereum solidity
1个回答
1
投票

我也遇到了同样的问题。

我在 VS Code 中禁用了“Foundry Test Explorer v0.0.1”扩展并解决了问题。

希望它有效。

© www.soinside.com 2019 - 2024. All rights reserved.