Using VScode SSH connection to server, good?bad?

It is suggested to keep the mail server as clean as possible, so what about using VScode SSH connecting to the mail server? it will created a ~/…vscode-server folder, and i am using a ‘sudo’ user not the root user, does it matter? or am i too caution?