Hi @adil,
All the version will support SharePoint development. And I will recommend you to use Visual Studio 2017 v 15.9 as this build include the project for SharePoint 2019. Visual Studio 2017 v15.9 includes SharePoint 2019 tooling extensions for SharePoint add-ins, farm solutions, and sandbox solutions.
You could refer to the following document for more details
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.