one thing you may want to try, is substituting something for your eating habit. go play a game, go for a walk, go call a friend on the phone..something to teach your mind not to instantly use food as an escape. your best bet, would be to replace it with something healty, such as a walk.
also, not many people are aware of this, but the part of your brain that tells you you're hungry, is right next to the part that tells you you're thirsty. in a lot of cases, people will instantly reach for food, when they really arent hungry, just thirsty. so, next time you feel the craving for food, try drinking a glass or two of water and waiting to see if that fixes the feeling. if not, have a snack, lol.
dont give up, it may take a while, but its all worth it in the end.