Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c# var type display VS extension #70

Open
AdmiralSnyder opened this issue Aug 7, 2018 · 15 comments
Open

c# var type display VS extension #70

AdmiralSnyder opened this issue Aug 7, 2018 · 15 comments

Comments

@AdmiralSnyder
Copy link

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.

@csharpfritz
Copy link
Owner

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

@AdmiralSnyder
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@swixfort
Copy link

swixfort commented Aug 9, 2018

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

@AdmiralSnyder
Copy link
Author

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

@AdmiralSnyder
Copy link
Author

AdmiralSnyder commented Sep 5, 2018

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
Copy link
Author

@swixfort did you try the extension?

@swixfort
Copy link

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

@AdmiralSnyder
Copy link
Author

… das ging schnell. :-)

@swixfort
Copy link

;-)

@AdmiralSnyder
Copy link
Author

@csharpfritz the extension already has 9 downloads :-)

@AdmiralSnyder
Copy link
Author

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

@AdmiralSnyder
Copy link
Author

@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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants