That was cool (if a little bit unexpected)
-
I'm not sure if I should be thanking Microsoft or Jetbrains; but I just saw an implementation of the famed DWIM[^] instruction in my editor. I was working with a
List<>
and needed to access the number of elements in it, and typedmyList.Len<tab>
to trigger intelligence and complete the property for me. I then did a quick doubletake when I sawmyList.Count
staring back at me. A bit of fiddling showed that someone putLength
in as an alias forCount
so that I could go on my mis-remembered way instead of having to hammer the backspace once it became clear I'd guessed wrong about what the property was called this time.:cool: Makes me wonder how many other items are in this features autocorrect list...Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
I'm not sure if I should be thanking Microsoft or Jetbrains; but I just saw an implementation of the famed DWIM[^] instruction in my editor. I was working with a
List<>
and needed to access the number of elements in it, and typedmyList.Len<tab>
to trigger intelligence and complete the property for me. I then did a quick doubletake when I sawmyList.Count
staring back at me. A bit of fiddling showed that someone putLength
in as an alias forCount
so that I could go on my mis-remembered way instead of having to hammer the backspace once it became clear I'd guessed wrong about what the property was called this time.:cool: Makes me wonder how many other items are in this features autocorrect list...Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Lucky you. On my Vs2015 Update3, Len is still not triggering anything different than the closest "LastIndexOf" :sigh:
-
Lucky you. On my Vs2015 Update3, Len is still not triggering anything different than the closest "LastIndexOf" :sigh:
Probably a Resharper thing then. Although since I'm only at VS2015u1 it's possible it is an MS feature that was broken by a newer patch.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
Probably a Resharper thing then. Although since I'm only at VS2015u1 it's possible it is an MS feature that was broken by a newer patch.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
I'm not sure if I should be thanking Microsoft or Jetbrains; but I just saw an implementation of the famed DWIM[^] instruction in my editor. I was working with a
List<>
and needed to access the number of elements in it, and typedmyList.Len<tab>
to trigger intelligence and complete the property for me. I then did a quick doubletake when I sawmyList.Count
staring back at me. A bit of fiddling showed that someone putLength
in as an alias forCount
so that I could go on my mis-remembered way instead of having to hammer the backspace once it became clear I'd guessed wrong about what the property was called this time.:cool: Makes me wonder how many other items are in this features autocorrect list...Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Looks like you can thank JetBrains: The feature you saw is the first item in their 'tips and tricks' list. :-D I don't currently use ReSharper, but I'ma big fan of Jetbrains' tools. When I've used IntelliJ for Java developement in the past, it felt a bit like pair programming with a psychic.
-
Looks like you can thank JetBrains: The feature you saw is the first item in their 'tips and tricks' list. :-D I don't currently use ReSharper, but I'ma big fan of Jetbrains' tools. When I've used IntelliJ for Java developement in the past, it felt a bit like pair programming with a psychic.
Ryan Peden wrote:
Looks like you can thank JetBrains: The feature you saw is the first item in their 'tips and tricks' list. :-D
Not surprising. The newly added feature list for Resharper is generally where you can expect to see a list of things that will be added to a future version of intellisence about 5 years ahead of the official MS announcement. :rolleyes:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt