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
I unfortunately have an issue trying trying to use the extension on Foundry projects using root-relative-paths. The extension seems to not process these paths correctly and produces an inline error statement.
This is one of the contracts of the project that I'm facing problems with:
This contract is located inside of the test/unit/concrete/adminable/transferAdmin.t.sol file. As you can see, this file uses the root-relative-path "src/libraries/Errors.sol".
Failure
Unfortunately this path does not get resolved correctly from the VSCode extension and the following in-line error at the line of the import statemens:
Source "src/libraries/Errors.sol" not found: File import callback not supported(6275)
Does anyone have experience with root-relative-path in regards to the Solidity extension or any possible solutions off the top of their head? Any help is much appreciated🙏
The text was updated successfully, but these errors were encountered:
Keinberger
changed the title
Extension produces inline import error when using root-relative-paths
Extension produces inline import error when using root-relative import paths
Jan 14, 2024
Keinberger
changed the title
Extension produces inline import error when using root-relative import paths
Extension produces inline import error when using root-relative-paths
Jan 14, 2024
Problem statement
I unfortunately have an issue trying trying to use the extension on Foundry projects using root-relative-paths. The extension seems to not process these paths correctly and produces an inline error statement.
This is one of the contracts of the project that I'm facing problems with:
This contract can be found in the Sablier-v2 repository: https://github.com/sablier-labs/v2-core/blob/main/test/unit/concrete/adminable/transfer-admin/transferAdmin.t.sol
This contract is located inside of the
test/unit/concrete/adminable/transferAdmin.t.sol
file. As you can see, this file uses the root-relative-path "src/libraries/Errors.sol".Failure
Unfortunately this path does not get resolved correctly from the VSCode extension and the following in-line error at the line of the import statemens:
Does anyone have experience with root-relative-path in regards to the Solidity extension or any possible solutions off the top of their head? Any help is much appreciated🙏
The text was updated successfully, but these errors were encountered: