The CadQuery documentation provides [some good code examples](https://cadquery.readthedocs.io/en/latest/examples.html). They could be included in CQ-Editor, with the ability to load them from the menu File / Examples. For instance the Arduino IDE does that and it's very helpful for beginners: 
The CadQuery documentation provides some good code examples.
They could be included in CQ-Editor, with the ability to load them from the menu File / Examples.
For instance the Arduino IDE does that and it's very helpful for beginners: