Hi
When i open Web,config file it does not showing Comment/UnComment option in Toolbar
Thanks
Hi
When i open Web,config file it does not showing Comment/UnComment option in Toolbar
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Mar 29, 2023, 4:08 AM
The option to comment or uncomment code in a web.config file may not be available in the default toolbar of the application or code editor you are using. However, you can still comment or uncomment code in the web.config file using keyboard shortcuts or by manually adding comment tags.
To comment or uncomment code using keyboard shortcuts, you can try the following:
Or you can open your web.config file in Visual Studio then
Right click on toolbar --> Customize --> Select Text Editor
Jignesh KumarPosted Mar 29, 2023, 4:01 AM
Hello Ramco,
Which VS version are you using ? upto 2017 in web.config file does not show comment/uncomment option in toolbar.
In visual studio 2019. when you open AppSetting.json then it will show comment/uncomment option in toolbar.
Tuhin PaulPosted Mar 28, 2023, 8:03 PM
The Comment/Uncomment option in the toolbar of the Web.config file might not be visible because the editor being used to open the file does not support this feature. You can try using a different editor to open the Web.config file, such as Visual Studio or Notepad++, both of which support the Comment/Uncomment option in the toolbar. You can also manually comment or uncomment a section of code by adding or removing the XML comment tags () around the code.