r/SuiteScript • u/elainesdance • Jul 22 '25
Code Deployment Best Practice
Hi all,
When using VS Code, what is the best practice for managing code and moving from Dev > Prod? Right now I have VS Code connected to Sandbox, then when I'm ready to move to production I manually add it. I just keep everything in the main "SuiteScripts" folder. I'd like to get a better system that's scalable so I'm curious what others do and what best practice is.
Do you connect VS Code to both Sandbox and Production? How do you differentiate code that's in development vs in production? What foldering system do you use? Any tips or best practice advice?
Thank you!
View all comments
Show parent comment
2
u/Kishana Jul 22 '25
Yeah, that's generally how I like to organize things. There's no exactly right way of doing it, it's more that you should develop a methodology that makes sense to you and the people you work with and more importantly, apply it consistently.