|
It does this if the opening parts of the namespace you're in match opening parts of the namespace you're referencing.
|
|
|
|
|
What Pete said, and I think it's prettier and better. So who's preference should win?
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
In my opinion, the overriding solution would be to make the right-side (generated) match the left side. Which would also solve the annoying feature of Intellisense chosing long and int over Int64 and Int32 which, when I use them, are for descriptive purposes. If you type something on the left, autocorrect should match it on the right, not pick a different version. The best intellisense uses the intelli to facilitate the programmer.
We are coming to a world where the choice is either capitulation to Intellisense or code in NotePad. The auto correct and intellisense is so burdensome now that I do indeed turn it off completely sometimes.
|
|
|
|
|
You have a point. At least it should/could be a setting in options.
Ennis Ray Lynch, Jr. wrote: intellisense is so burdensome Yeah, been there. Sometimes it's annoying.
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: or code in NotePad
Notepad sucks. I rolled my own.
This space intentionally left blank.
|
|
|
|
|
Huh, never seen that, I always get the fully-qualified name... oh, that's right you probably have a using directive.
This space intentionally left blank.
|
|
|
|
|
No, if I comment out all of my using directives (and I only use using namespaces not aliases) I still get the exact same behavior.
|
|
|
|
|
Shouldn't that be
global::MyCompany.MyProject.Bar.SomeObject MyObjectName = new global::MyCompany.MyProject.Bar.SomeObject(); ?
Don't be too distracted by the prefix, but you forgot to give your variable a name. That's a syntax error.
OT; VS prefixes correctly if I remove it's using as PIEBALD suggested.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Mine doesn't. I guess my version of visual studio just wants to punish me.
|
|
|
|
|
Tequila.
This space intentionally left blank.
|
|
|
|
|
I actually have a couple of places where I use global:: , but even I don't use it unless necessary.
This space intentionally left blank.
|
|
|
|
|
A useful tome[^]
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Also useful is this tome[^], but who would have thought that you would need to know how to do this?
|
|
|
|
|
|
You and me me and Tiger too!
Now that's funny.
|
|
|
|
|
Crap, crap, and triple crap! By clicking on those links, Amazon is going to refer me to similar sh*tty books from now on.
|
|
|
|
|
That's just great, now my Amazon suggestions are for books about poo...
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I see your Astrophysics course is taking off...
Veni, vidi, vici.
|
|
|
|
|
Nature Valley Trail View[^]
For those that appreciate hiking and/or natural beauty.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
Thanks that's pretty cool, I'm going to be there 1st week of April!
|
|
|
|
|
So I just started up iTunes. I don't do that very often, because I hate the friggin' program. But once in a while, I'm looking for a tune I simply can't find anywhere else, and then I'm flucking forced to use it...
So iTunes starts up and this is what I see: Screendump[^]
A blank dialog with a checkbox and 4 buttons ("?", "Other", "OK" and "Cancel" for those who don't understand Swedish).
Very informative (NOT) and no matter what I click, the same thing happens: Nothing!
Just another reason to hate iTunes. Rant over!
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
yep, iTunes is genuine WTF.
I feel your pain.
|
|
|
|
|
Johnny J. wrote: A blank dialog with a checkbox and 4 buttons ("?", "Other", "OK" and "Cancel" for those who don't understand Swedish).
It's just speechless, like I was when I saw "Can't Hug Every Cat" in your list.
|
|
|
|
|
Ooops! Very revealing.
But actually you should be much more worried about this one[^] (which is also in my list)!
[EDIT] As mentioned, I only use iTunes for songs I can't find anywhere wlse, so my entire iTunes list is actually kind of strange (or at least that is what I would like you to believe ) [/EDIT]
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Your secret is safe with me (and the other 10M CP subscribers who may be reading this).
As for that Karate Rap: WTF did I just watch?
|
|
|
|