I am working as a software developer in a company for about one year.
I have a team lead who is always bragging about himself, never or seldom gives credit to other people or values their work or ideas, and constantly uses "I" and "me" instead of "we"
- in team meetings he constantly says "I'm on this project", "this is my work" etc even though that last year we had almost equal contributions. Never in a team meeting used plural like "we will do this .. "
- never in a meeting publicly credited me for my work
- one time we were solving a problem together. I was expressing my ideas and he directly declined them as wrong, till half an hour later, when he brings the exactly same idea on the table. When I told him that this is exactly what I had suggested before, he said he didn't understand that at the time I said it.
- one other time, I had a PR with a month's work. He squash-merged the PR in his own pc, so all the code became his property. (I don't know if this was intentional or not, but it shouldn't be an issue in the first place if we consider his level).
- and last week, the incident that crossed the line, during an internal presentation to around 20-25 people in the office, he was asked who maintains project X, which during last year is maintained by both of us. His answer was that he is the sole maintainer. (Here, one maybe should had just spoken and say that it is not like that and that more people also contribute, but it made me so frustrated that if I had opened my mouth at that time, I would had just mumbled something and I would had walked out of the room, so in a way I don't really regret I remained silent at that point).
Long story short, I have already decided I'm leaving the company since I really don't find any reason to try to make him learn how to value others. He is a senior and if he cannot understand this simple thing by now, I don't think he will change now.
My question is, should I raise an issue to his boss/someone higher/HR while I am still in the company? If so, in what context and having what expectations? Since I have already decided I'm leaving the company, I really don't care whether his attitude will be improved in the next 5-6 months that I will be there. And I think that I can deal with his behavior just by ignoring it. The only reason, that I would like to raise this issue, is so that it will be understandable that this is the reason I am leaving, and not leave the company and everyone believes that I did nothing there for the time being.
Also, in the last incident, it just happened and I was present there too, so I know about it. But it made me think that maybe there are more occasions that similar answers have been given and I just never learned about them.