C
C#3w ago
DeadShot

How to setup snippets in visual studio?

The 3 month old video said to find csharp.json. I found only csharp but once i clicked on it the file said csharp.json so im assuming it's the same. The code was entirely different and I had to copy out the code as in the video. I think i copied it correctly but it seems that it says it's wrong? I literally started today so I don't know anything at all about visual studio or csharp
No description
No description
10 Replies
DeadShot
DeadShotOP3w ago
the right image is what I did
DeadShot
DeadShotOP3w ago
the video opened the snippet template with that, while for me it was originally like this:
No description
Alexis 🫐
Alexis 🫐3w ago
forgot the ',' after the ]
DeadShot
DeadShotOP3w ago
thanks! i got something like this when i use it. Just wondering but is it still worth using even though it takes up that much more space? its kinda confusing to me but i guess thats probably because im new to C#
No description
Alexis 🫐
Alexis 🫐3w ago
forgot a '}' to close Main you never did some c# before ?
DeadShot
DeadShotOP3w ago
nope. only python, but most of the python i learnt was 4 years ago and it was only beginner stuff.
DeadShot
DeadShotOP3w ago
the ss i sent is what i get when i type 'main' and then press tab. How would i make it so that there is a close bracket in this
No description
Alexis 🫐
Alexis 🫐3w ago
you might have deleted one by mistake try to put it back
DeadShot
DeadShotOP3w ago
i accidentely used a normal bracket rather than the curly one after 'your code here'. I need to learn how the 3 brackets differ
Alexis 🫐
Alexis 🫐3w ago
you will need only curly braquet normal brackets are for priority on operations or for calling functions
Want results from more Discord servers?
Add your server