foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.23k stars 1.72k forks source link

Forge remappings support other directory structure #4272

Open KuTuGu opened 1 year ago

KuTuGu commented 1 year ago

Component

Forge

Describe the feature you would like

Currently forge remappings command only generate the mapping of dependencies under the lib folder.
Hope it can also support other folder path: src, test, script (also support custom name).
Otherwise, vscode does not support clicking to jump, can only be solved by manually adding remapping or relative path.

Additional context

Desired result:

src=src/
test=test/
script=script/
anhthii commented 1 year ago

+1 for this feature