visual studio code - Why is VSCode not showing formatting commands? -
i installed vscode , trying format c# file. none of suggestions here work. when use search functionality provided via ctrl +shift+ p , searching format code., nothing comes up.
i've tried many different file types, , formatting never option. how can fix this?
if have c# extension installed, make sure there project.json minimal content in root directory of project.
there need minimal content in project.json file. here example of minimal content project.json file:
{ "frameworks": { "netcoreapp1.0": { } } } 
Comments
Post a Comment