Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>C# Interpolated String ConverterNew to Visual Studio Code? Get it now.

C# Interpolated String Converter

corylulu

|
3,454 installs
| (2) | Free
Prepends a `$` to a string when a $ and { are entered within quotes in CSharp files (and removes the typed `$`)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C# Interpolated String Converter

This extension prepends a $ to a string when a $ and { are entered within quotes in CSharp files (and removes the typed $).

Originally based on Template String Converter extension for Javascript/Typescript

Features

Autocorrect from normal strings to interpolated strings ($"Hello {world}") within CSharp files typing a dollar sign then open curly brace within a string converts to interpolated string

Extension Settings

  • csharp-interpolated-string-converter.enable: enable/disable this extension
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft