2 ms·
I use VSCode with the C# LSP, but I prefer to immediately see where a name comes from by reading it, rather than hovering over it. That's why I prefer to avoid
by ngrilly 2y ago
I use VSCode with the C# LSP, but I prefer to immediately see where a name comes from by reading it, rather than hovering over it. That's why I prefer to avoid global.
Regarding imports, I guess I could do something like `using c = my.namespace.ClassWithMyStaticMethods`, but I suppose it's not idiomatic in C#.
- metaltyphoon 2y ago> using c = my.namespace.ClassWithMyStaticMethods Non idiomatic? IMO, this is completely fine. Idiomatic C# doesn't mean OO all the time.
- ngrilly 2y agoGlad to hear. I'll consider this more then.
- dmoney_2 2y agoBetter is `using static my.namespace.ClassWithMyStaticMethods` that gets you exactly the consuming syntax you want, even though the methods still need to be static on that class.