A Visual Studio Code extension to allow you to edit Persistence of Vision Ray Tracer (POV-Ray) Scene files and render them using the integrated terminal
The codebase has a mixture of formatting, sometimes four space tabs, sometimes two. On shared projects, it can help to set a .editorconfigfile in the root which specifies several standard formatting choices, which is well supported by many editors in addition to VSCode.
This also helps prevent whitespace commits whenever contributors change parts of the code, applying (perhaps inadvertently) their own tab preferences.
I put the .editorconfig in, and it tweaked the main file. I'll touch the rest of the files over time and get them all in line. Thanks for the suggestion! I'm a huge fan of system enforced consistency.
The codebase has a mixture of formatting, sometimes four space tabs, sometimes two. On shared projects, it can help to set a
.editorconfig
file in the root which specifies several standard formatting choices, which is well supported by many editors in addition to VSCode.This also helps prevent whitespace commits whenever contributors change parts of the code, applying (perhaps inadvertently) their own tab preferences.