Solidity opening

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.

1 Like
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?

Schermata 2020-09-09 alle 11.15.42

If that’s the issue, I would suggest you to install this package: https://atom.io/packages/language-solidity