juanfranblanco / vscode-solidity

Visual Studio Code language support extension for Solidity smart contracts in Ethereum https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity
MIT License
871 stars 187 forks source link

`Source file requires different compiler version` warning even after global compiler is set #448

Closed pcaversaccio closed 4 months ago

pcaversaccio commented 4 months ago

I'm seeing since a couple of days (I use the latest VS Code Solidity version) the Source file requires different compiler version warnings even if I configured the global remote compiler to be 0.8.24:

image image image

This configuration has been working smoothly in the past. So am not sure what happened.

juanfranblanco commented 4 months ago

@pcaversaccio have you checked your workspace version? Look at the complete settings using F1 >> User settings >> Solidity

pcaversaccio commented 4 months ago

@pcaversaccio have you checked your workspace version? Look at the complete settings using F1 >> User settings >> Solidity

yup checked image

pcaversaccio commented 4 months ago

@pcaversaccio have you checked your workspace version? Look at the complete settings using F1 >> User settings >> Solidity

yup checked image

After restarting and waiting for around 20mins it finally went away... very weird behaviour. But will close now since the error is gone.