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.

enter image description here

there need minimal content in project.json file. here example of minimal content project.json file:

{   "frameworks": {     "netcoreapp1.0": { }   } } 

Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -