Fritz.LiveStream icon indicating copy to clipboard operation
Fritz.LiveStream copied to clipboard

c# var type display VS extension

Open AdmiralSnyder opened this issue 6 years ago • 15 comments

hi, I was asking about your opinion of the vs package to display the var types inline over the var keywords at the start of the stream today. i had to continue working, so i couldn't stay, sorry. I'm thinking about what to do with that extension. it's in my vsts, not on GitHub, so i cannot link it and i haven't yet decided whether to open source it (because some of my colleages think it could become a product). i'd be glad to show it.

AdmiralSnyder avatar Aug 07 '18 19:08 AdmiralSnyder

Can you share a screenshot or a link to it in the extension marketplace? It feels like something that would be great for instructors

csharpfritz avatar Aug 07 '18 20:08 csharpfritz

I haven't put it into the marketplace. this would be my first public project of that kind, so it's kind of a big deal for me :-) here is a screenshot: https://1drv.ms/u/s!AguFYhUbtwOgm8ZclGWH1_J8p7LAFw

the compiled vsix is 30k, so quite small.

AdmiralSnyder avatar Aug 07 '18 20:08 AdmiralSnyder

I built it last week because my colleage told me the reason he doesn't use var (and wants me not to use it, also) is that he as a keyboard user isn't used to mouseover over the variable, so he cannot see the type. So i thought: hey, i can build it. I also built a kind of spellchecking to insert the opening parentheses after if, for, foreach and so on if i forgot them.

AdmiralSnyder avatar Aug 07 '18 20:08 AdmiralSnyder

this is where I Upload the builds: https://1drv.ms/f/s!AguFYhUbtwOgm8J7ZMTI9R4hHXfbRg

AdmiralSnyder avatar Aug 09 '18 16:08 AdmiralSnyder

That looks pretty awesome. You should publish it. And I do like the "Hans" "Wurst" :-D

swixfort avatar Aug 09 '18 19:08 swixfort

thanks. I think i'm gonna put it into the marketplace next week.

AdmiralSnyder avatar Aug 09 '18 22:08 AdmiralSnyder

after getting out of hospital (ripped off my right thumb's tip), I finally got the extension into the marketplace:

https://marketplace.visualstudio.com/items?itemName=AlexanderGayko.VarAdorner

AdmiralSnyder avatar Sep 05 '18 11:09 AdmiralSnyder

@swixfort did you try the extension?

AdmiralSnyder avatar Sep 17 '18 10:09 AdmiralSnyder

Hey @AdmiralSnyder no, not yet. I had much to do regarding work and running. I'll try it later. Thanks for reminding me.

swixfort avatar Sep 17 '18 10:09 swixfort

… das ging schnell. :-)

AdmiralSnyder avatar Sep 17 '18 10:09 AdmiralSnyder

;-)

swixfort avatar Sep 17 '18 10:09 swixfort

@csharpfritz the extension already has 9 downloads :-)

AdmiralSnyder avatar Sep 17 '18 10:09 AdmiralSnyder

i changed the name to "C# var CodeLens" some weeks ago, and am up to 127 downloads now.

AdmiralSnyder avatar Oct 30 '18 15:10 AdmiralSnyder

@csharpfritz i watched the stream with Mozts. When VS was repeatedly crashing around 2:15:00, i noticed that you have the extension installed in one of your VS installs. That's really cool :-) But: I would be really sorry if that VS instance was crashing because of the var codelens extension. So if you might perhaps open that solution again quickly and look into the activitylog.xml / event viewer or even attach another VS instance to find out about the error and could confirm that it's not because of me, I'd be really relieved.

AdmiralSnyder avatar Jan 09 '19 01:01 AdmiralSnyder

@csharpfritz in discord on20190114: those issues were not reproducable and probably linked to VS LiveShare.

AdmiralSnyder avatar Jan 15 '19 02:01 AdmiralSnyder