Oh yes, cravings. I'm not sure I could just pick one thing I crave!
What I end up doing quite often is to go ahead and have the food but in a small portion. Then I wrap up the rest and get out of the kitchen. Granted, I can only do this if I have the calories left that day to "spend" on it.
In your case of chocolate (one of my weaknesses, too) I have sometimes done a third of a serving (about 5 grams) of chocolate chips, sometimes with something else (cereal or banana). I leave the chocolate chips for the end, so my snack ends on a sweet note.
I'm sure you'll get a lot of tips. Just experiment with what works for you.
Keep it up!