scalameta / metals-vscode

Visual Studio Code extension for Metals
https://marketplace.visualstudio.com/items?itemName=scalameta.metals#overview
Apache License 2.0
298 stars 75 forks source link

improvement: Set toggle for showInferredType to switch between true,false and minimal #1412

Closed tgodzik closed 1 year ago

tgodzik commented 1 year ago

Previously, showInferredType could only be true or false. Now it is a string value that can be also of value "minimal". Because of that I switched the setting to string enum, added an automigration part and switch toggle to go through all the options

Follow up from https://github.com/scalameta/metals/pull/5284#issuecomment-1634836066