Can is use c++ and blueprints simultaneously for my project. If yes then what should i choose in New project window.
Also I want to ask can I use visual studio code for c++ programming in UE4, I mean will this affect if not using actual visual studio 2020.
You can use both. They can be used independently or interdependently.
You can write classes and functions in C++ and use them in blueprint code. Or you can write some stuff in C++ and do other stuff in blueprints.
Even projects that are using “pure” C++ often write C++ base classes and use blueprint subclasses to link specific assets like meshes and particles (for example, a “rocket launcher weapon” might be written in C++, but then “Friendly Rocket Launcher” and “Enemy Rocket Launcher” might use separate blueprint subclasses.
You can start with either project type in Unreal. A blueprint templated project will create example GameModes, Pawns, etc. in blueprint vs a C++ project will create source code.
Visual Studio Community Edition is free, so I don’t know why (on Windows) you’d willingly choose an inferior C++ development environment. Visual Studio Code is a text-editor-plus with plugins that add functionality for C++. It’s worse at debugging. Its intellisense is incredibly lacking, and darn near useless in Unreal’s macro-heavy environment. I use VSCode for lots of things, including developing with Python or browsing C++ projects. I even have done C++ development with in with UE4 on Linux, where Visual Studio doesn’t exist. I, personally, would never use it for UE4 development on Windows when VS is free.