Visual Studio Code (or VSCode for short) is an open-source (licensed under the MIT License) text editor developed by Microsoft. It has several IDE-type features (such as an integrated debugger, code completion and linting), so it can be argued to be an IDE. Despite being open-source official builds of VSCode by Microsoft are licensed under a proprietary EULA as they include proprietary branding. These official builds have extra features, most notably they have support for installing extensions from the VSCode marketplace via its extension gallery, while open-source builds do not.
Official installation instructions can be found here. It involves adding its official repository using DNF, and installing it from it. Alternatively, there is a Flatpak package for it in the Flathub repository. To install it from this repository run:
$ flatpak install https://flathub.org/repo/appstream/com.visualstudio.code.flatpakref