oK I have a 6 month old yorkie that is driving me CRAZY

. She has decided she needs to be with me 24 hours a day. i put her in her crate but she yips the whole time unless she can see me. At night she sleeps in her crate next to my bed which is ok but dring the day when she is in her crate she barks if I walk out of the room the other day I was cleaning and i thought oh she will stop in a few minutes when she sees I am not comming to get her she didn't it lasted 3 hours and I couldn't take anymore so I got her out. What can i do? I love her to death but this barking and needing only me is driving me crazy. Please help with any advice you have. She is not potty trained yet we are working on this it's going ok. Not great just ok