It would be great if the extension added snippets or class templates.
It would be great if the extension added snippets or class templates.
hi,
on mine, in order to save little time, I did this:
for loop:
"Loop For mc": { "scope": , "prefix": "for", "body": [ "for (var ${2:i}=0;$2<${1:foo};$2++){","\t","}" ], "description": "Loop For var i" }
and for if:
"if mc 2": { "prefix": "if", "body": [ "if($1){","\t\t$2","\t}else{","\t\t$3","}" ], "description": "if then else" }
it is not a big deal but I make me save time.
Thanks for sharing! I'll try to compile a collection and see if I can put them into an extension...
May not save THAT much time, but it all adds up...
Stumbled on this extension: marketplace/... /itemName=markw65.prettier-extension-monkeyc
It does the doc links and mouse-over popup I was dreaming about in order to set argument types etc. It does many other things too, like realtime syntax check. Not sure about all the optimisation yet. We're still honeymooning....
Was actually looking for a formatter. Clicked the "Format document" in the right-click menu and VSCode said I didn't have a formatter and gave a link to search for one. This was the only one in the list. A bit weird as it looks like it relies on this on for the actual formatting part...
marketplace...itemName=esbenp.prettier-vscode
I'm curious about what extension ya'all are running. I will make a separate thread on that. Unless there is one already...