There are tons of editors available to choose from this days, the most popular one being "Remix" which is an online solidity text editor, but just like some else already mentioned here, VS code, bracket and several others can be used to write solidity codes.