How can I ensure that my IDE compiles for my solidity version every time. I seem to have many errors trying to do this and know it must be easier than I’m making it. Here is the error I have and my public Github link to my code:
https://github.com/aelkins3/DEX201
Compiling your contracts...
===========================
Error: Could not find a compiler version matching >=0.6.0 < 0.8.0. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run `truffle compile --list` to see available versions.
at VersionRange.getSatisfyingVersionFromCache (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:134:1)
at VersionRange.<anonymous> (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:54:1)
at Generator.throw (<anonymous>)
at rejected (/usr/local/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:6:42)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
truffle(develop)>