You can program your Xfinity remote to work with your TV by heading to Connected Devices > Control your TV, and selecting your TV's make an model.
There are quite a few popular options for a good IDE, with Visual Studio Code — more commonly known as VS Code — being a ...