You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto remappings are not working for some projects. i wonder if forge auto-remappings are being used, but they should be for foundry-based projects.
with the current trend of avoiding custom remappings, this has become very important. here is a quote from the recently published coinbase solidity style guide:
1. Avoid custom remappings.
Remappings help Forge find dependencies based on import statements. Forge will automatically deduce some remappings, for example
We should avoid adding to these or defining any remappings explicitly, as it makes our project harder for others to use as a dependency. For example, if our project depends on Solmate and so does theirs, we want to avoid our project having some irregular import naming, resolved with a custom remapping, which will conflict with their import naming.
auto remappings are not working for some projects. i wonder if forge auto-remappings are being used, but they should be for foundry-based projects.
with the current trend of avoiding custom remappings, this has become very important. here is a quote from the recently published coinbase solidity style guide:
here is an example of a case where the extension fails to resolve imports that could be resolved using forge auto-remappings: https://github.com/cruzdanilo/repro-webauthn
forge remappings
output for the project:in this issue discussion, it was mentioned that other solidity extensions for vscode do work out of the box in this case: base-org/webauthn-sol#14
The text was updated successfully, but these errors were encountered: