In 5e there is no 'hide-in-plain-sight' like the 3.x version. (though the ability exists it is a ranger ability and nothing like Shadow Dancer). Instead, the Rogue has a mechanic whereby they can always use a bonus action after they act in a round. If they are close enough to anything that gives them enough cover they can use the bonus action to then hide. So you can launch your sneak attack, move to cover and bonus action hide in the same round provided the environment allows for it. Shorties have the advantage of being able to use larger party members to provide adequate cover in order to use the hide bonus action as well.