Click here to Skip to main content
15,887,350 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Years ago, I got Herself an android tablet. Pin
Peter_in_278022-Feb-23 18:10
professionalPeter_in_278022-Feb-23 18:10 
GeneralRe: Years ago, I got Herself an android tablet. Pin
jmaida22-Feb-23 18:30
jmaida22-Feb-23 18:30 
GeneralRe: Years ago, I got Herself an android tablet. Pin
snorkie23-Feb-23 2:40
professionalsnorkie23-Feb-23 2:40 
GeneralRe: Years ago, I got Herself an android tablet. Pin
Daniel Pfeffer22-Feb-23 19:49
professionalDaniel Pfeffer22-Feb-23 19:49 
GeneralRe: Years ago, I got Herself an android tablet. Pin
jmaida23-Feb-23 11:21
jmaida23-Feb-23 11:21 
GeneralRe: Years ago, I got Herself an android tablet. Pin
Slow Eddie23-Feb-23 2:06
professionalSlow Eddie23-Feb-23 2:06 
GeneralRe: Years ago, I got Herself an android tablet. Pin
Single Step Debugger23-Feb-23 5:58
Single Step Debugger23-Feb-23 5:58 
GeneralNow, that's impressive! Pin
OriginalGriff22-Feb-23 2:35
mveOriginalGriff22-Feb-23 2:35 
Intellicode continues to impress.
I'm processing program arguments for a little tool I'm knocking up, and I get to this:
C#
int incMajor = 0;
int incMinor = 1;
int incBuild = 0;
int incRevision = 0;
foreach(string arg in args)
    {
    if (arg.StartsWith("/a")) assemblyFile = arg.Substring(2);
    if (arg.StartsWith("/mj")) incMajor =
And it autocompletes:
if (arg.StartsWith("/mj")) incMajor = Convert.ToInt32(arg.Substring(4));

Now, OK, that isn't the code I'd write but it's a damn good guess, and yes, it'd work for an argument of the form "/mj=1"

Somebody has worked hard on this!


[edit]
Oh man, it gets even better - it reads the Group names from a Regex and suggests them as variable names in my code for a Match ... :MouthHangingOpen:
[/edit]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Now, that's impressive! Pin
Slacker00722-Feb-23 4:04
professionalSlacker00722-Feb-23 4:04 
JokeRe: Now, that's impressive! Pin
raddevus22-Feb-23 4:24
mvaraddevus22-Feb-23 4:24 
GeneralRe: Now, that's impressive! Pin
OriginalGriff22-Feb-23 4:34
mveOriginalGriff22-Feb-23 4:34 
GeneralRe: Now, that's impressive! Pin
raddevus22-Feb-23 7:22
mvaraddevus22-Feb-23 7:22 
GeneralRe: Now, that's impressive! Pin
jschell22-Feb-23 6:10
jschell22-Feb-23 6:10 
GeneralRe: Now, that's impressive! Pin
PIEBALDconsult22-Feb-23 4:34
mvePIEBALDconsult22-Feb-23 4:34 
GeneralRe: Now, that's impressive! Pin
BillWoodruff22-Feb-23 4:49
professionalBillWoodruff22-Feb-23 4:49 
GeneralRe: Now, that's impressive! Pin
dandy7222-Feb-23 7:06
dandy7222-Feb-23 7:06 
GeneralRe: Now, that's impressive! Pin
Marc Clifton22-Feb-23 5:30
mvaMarc Clifton22-Feb-23 5:30 
GeneralRe: Now, that's impressive! Pin
Single Step Debugger22-Feb-23 5:55
Single Step Debugger22-Feb-23 5:55 
GeneralRe: Now, that's impressive! Pin
OriginalGriff22-Feb-23 6:03
mveOriginalGriff22-Feb-23 6:03 
GeneralRe: Now, that's impressive! Pin
Matthew Dennis22-Feb-23 9:17
sysadminMatthew Dennis22-Feb-23 9:17 
GeneralRe: Now, that's impressive! Pin
Daniel Pfeffer22-Feb-23 19:51
professionalDaniel Pfeffer22-Feb-23 19:51 
GeneralRe: Now, that's impressive! Pin
jmaida22-Feb-23 13:33
jmaida22-Feb-23 13:33 
GeneralI don't like asking coding questions Pin
honey the codewitch22-Feb-23 0:30
mvahoney the codewitch22-Feb-23 0:30 
GeneralRe: I don't like asking coding questions Pin
Amarnath S22-Feb-23 0:39
professionalAmarnath S22-Feb-23 0:39 
GeneralRe: I don't like asking coding questions Pin
honey the codewitch22-Feb-23 0:39
mvahoney the codewitch22-Feb-23 0:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.