Waiting on Serial Monitor

is there a code snippit I can throw in my setup() function that will halt execution until the serial monitor is started? I have tried the leonardo wait code but apparently it doesn't apply to the Uno.

Also, is there a method of auto-launching the serial monitor automatically in the IDE after a sketch is uploaded? I looked in options for some sort of checkbox to do this but I don't see one.

is there a code snippit I can throw in my setup() function that will halt execution until the serial monitor is started?

No, but opening the serial monitor usually resets the Arduino.

I have tried the leonardo wait code but apparently it doesn't apply to the Uno.

Correct.

Also, is there a method of auto-launching the serial monitor automatically in the IDE after a sketch is uploaded?

No, but the IDE code is open source, so you could add that feature.

When I want to wait, I do:

Serial.begin(9600);
while(Serial.available()==0);
Serial.read();

Then from the serial monitor I send a single character (with no line feeds or new line).