pragmagic / vscode-nim

An extension for VS Code which provides support for the Nim language.
Other
238 stars 37 forks source link

Autocomplete in String Interpolation #174

Open iambudi opened 3 years ago

iambudi commented 3 years ago

Hi, thank you for this great vscode extension. I'm wndering if this already supported: when using fmt for string interpolation how to allow autoclose bracket and autocomplete variables?


import strformat
type User = object
    name: string

const john = User(name: "John Wick")

# typing `{` will add `}` and typing john. will popup `name`
echo fmt"First user is {john.name}" 

Thank you in advance.