vscode-swift
vscode-swift copied to clipboard
"Add Missing Protocol Requirements" ignores indentation settings
Describe the bug When using "Add Missing Protocol Requirements" the added functions are always indented with spaces, even if the file is set to indent with tabs.
To Reproduce Steps to reproduce the behavior:
- Ctrl-Shift-P -> "Indent Using Tabs"
- Add a protocol to a struct or class
- Click the red-underlined struct/class name
- Click the light bulb -> "Add Missing Protocol Requirements" The generated function(s) will be indented with spaces
Expected behavior The functions generated are indented according to your indentation setting
Environment
- OS: Linux Mint 21.1 Vera
- Swift version: 5.8.1
- Visual Studio Code version: 1.79.2
- vscode-swift version: 1.3.0