Hi, When I open my contract on //SPDX-License-Identifier: MIT
pragma solidity >= 0.5.0 < 0.7.0;
contract Bulldog {
constructor() public {
}
}
but can not open a solidity contract-any ideas how to put this right?
Hi, When I open my contract on //SPDX-License-Identifier: MIT
pragma solidity >= 0.5.0 < 0.7.0;
contract Bulldog {
constructor() public {
}
}
but can not open a solidity contract-any ideas how to put this right?
Hey @Keith1
Can you please clarify your question?
Also please do proceed as follow when you want to post code as it makes it much more readable.
Hi,
Thanks for getting back.
I'm following Ethereum smart programming 201 with Filip'
1. I have downloaded truffle and ganache and have the following on my IDE:
pragma solidity 0.5.12;
//SPDX-License-Identifier: MIT
pragma solidity >= 0.5.0 < 0.7.0;
contract Bulldog {
constructor() public {
}
}
``` }
Solidity does not open and the 0.5.12 is not colour coded. Truffle appears to have opened okay.
Keith
Hey @Keith1
Do you mean that your text editor (I assume you are using Atom), is not colouring you code as per example below?
If that’s the issue, I would suggest you to install this package: https://atom.io/packages/language-solidity