Creating connection profile through command palette will format and remove all comments from user setttings in settings.json #959
Closed
Description
- MSSQL Extension Version: 1.1.0
- VSCode Version: 1.14.1
- OS Version: Windows 7 Enterprise SP1
Steps to Reproduce:
- In Visual Studio Code, type
CTRL + ,
to open the settings.json file - On the right pane within the curly braces on a new line (e.g., the user settings), type
//This is a test
- Type
CTRL + S
to save the settings.json file - Follow the steps "Connect to SQL Server" as described in tutorial to create a new valid connection
- In Visual Studio Code, type
CTRL + ,
to open the settings.json file - Observe that the comment line has been removed