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
When we start to use a new contract in the code, the plugin highlights new name by yellow and suggests to add import of the contract at the beginning of the file. On Windows the suggestion looks like following:
Import file ...\libs\MyContract.sol
and result automatically added code is following
import "..\libs\MyContract.sol";
So, the plugin uses backward slashes
But solidity requires forward slashes /, so it's necessary to manually fix the code to
import "../libs/MyContract.sol";
It would be nice if the plugin uses forward slashes initially.
The text was updated successfully, but these errors were encountered:
mbolotov
added a commit
to mbolotov/intellij-solidity
that referenced
this issue
May 10, 2023
When we start to use a new contract in the code, the plugin highlights new name by yellow and suggests to add import of the contract at the beginning of the file. On Windows the suggestion looks like following:
and result automatically added code is following
So, the plugin uses backward slashes
But solidity requires forward slashes /, so it's necessary to manually fix the code to
It would be nice if the plugin uses forward slashes initially.
The text was updated successfully, but these errors were encountered: