I have a classmate that I've been hanging out with the past few weeks/month.  Started off just casually talking for a minute after class, but overtime has grown to us delaying leaving half an hour to talk (sometimes about personal stuff, sometimes silly nonsense).  Today we met up to go over a class project, and at least 70% of our hour-plus together was spent talking about other things (we're still doing well in class though).

As much as I'm having fun connecting with someone, I'm scared because I've been down this path before and all my usual signs of idealizing &amp; becoming infatuated are showing: she's becoming what I most look forward to at school, the end of my day is spent focusing on almost nothing but how much I enjoyed being around her, I'm interested in watching/reading stuff just because she mentioned liking it.  When we got paired up for our project (which I think the professor intentionally did because she saw we were chatting after class), I was excited not because she's a good student but because I had a reason to talk to her more.

Like, part of me thinks this isn't too bad and is normal, but I've thought that before and it just leads to a chaotic relationship where I rely on them too much for my stability and it ends badly.  But even though I have the self-awareness to realize it's happening again, I don't have the knowledge to know how to stop it/handle it better.  My only idea is to cut her off before anything bad happens, but 1) I like her, 2) I'd feel bad after she's revealed much personal stuff, and 3) we're working together in class, so that's not an option.

Anyone have tips or advice?