hirosystems / clarinet

Write, test and deploy high-quality smart contracts to the Stacks blockchain and Bitcoin.
https://hiro.so/clarinet
GNU General Public License v3.0
298 stars 131 forks source link

VSCode extension should warn if there an error in Clarinet.toml #1440

Open hugocaillard opened 5 months ago

hugocaillard commented 5 months ago

Problem

If the manifest (clarinet.toml) is invalid, the VSCode extension will silently fail. It can be reproduced with an invalid manifest like so

[contracts.contract]
path = 'contracts/traits/contract.clar'
clarity_version = 2
epoch = 2.4
clarity_version = 2
epoch = 2.4

Fix

Show an error popup in vscode