Just add a tool that you can use to guide a straight line.
mxffin (IZ)
although we can kinda already do this by clicking/drawing a dot where we want an endpoint to go (with a regular brush) and then holding shift and clicking again, we lose the pen pressure. i agree with adding a ruler tool