The editor in OpenSCAD is terrible. This language file and snippets are built on the awesome one from github/tbuser for textmate (https://github.com/tbuser/openscad.tmbundle)
this project is available at: https://github.com/efbenson/vscode-lang-scad