Visual Studio 2019 community does not recognize all commands

Hi, I did the things required for unity in Visual studio 2019 program but some commands are not showing, there are commands like Rigidbody2D as in the screenshots below but it doesn’t recognize Transform.Translate command or CharacterController2D commands, I couldn’t find the reason for that. Can you help me please

I sometimes find i need to restart unity and visual studio to get it to autocomplete everything, given that a try?