Doesn't Scotty's transporter tech negate much of the need for spaceships?
So Scotty has a way of beaming off a planet in the middle of nowhere right into the Enterprise which is at warp (faster than light) and light years away.
If this is possible, then why bother using spaceships at all? You can just beam from planet to planet. If it's possible to beam into a ship traveling at warp, it should be far simpler to beam from one planet to another.
Another advantage is that the people beaming would not age during the journey and would arrive instantaneously from their point of view.