Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Talk about add commit prompt to typescript and json

$
0
0

when i write typescript or javascript i want to add commit to that function for example 

//<summery>compute two numbers</summery>
//<param name="a">number a</param>
//<param name="b">number b</param>
plus(var a,var b){
    return a+b;
}

so that,when I import this function.the editor can pop the commit information.

json commit.

var jsondata={
   //number 1
   a:"1",
   //number 2
   b:"2"
}

so that,when i use jsondata.a the editor pop commit "number 1".

At most time,the commit is more important than the code.I hope microsoft consider about it.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>