swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
708 stars 47 forks source link

Feature request: setting to toggle displaying inline inferred type annotations #812

Closed tinder-tannerbennett closed 1 month ago

tinder-tannerbennett commented 1 month ago

Is your feature request related to a problem? Please describe. Sometimes they just get in the way and I'd rather not see them, especially for local variables.

Describe the solution you'd like I would like a setting for this extension to toggle the visibility of inline inferred type annotations

Describe alternatives you've considered Ideally there would be separate settings to show inferred type annotations for properties and local variables… but for now, one setting to flip them all on or off would be wonderful.

adam-fowler commented 1 month ago

Search for inline hints in the settings. A setting already exists in the standard VSCode settings