This paper presents a vector control strategy for regulating the current of grid-tied voltage source converters (VSCs) in a rotating reference frame. The proposed approach is based on shaping the open-loop and closed-loop transfer matrices of the system. Solving a constrained convex optimization problem, the shaping is achieved, which guarantees the stability of the closed-loop system. The designed controller results in the desired dynamic performance and decouples the direct and quadrature (dq) current axes. The structure of the proposed controller is similar to that of its predecessors and consists of four proportional-integral controllers. The performance of the method is evaluated based on simulation and experimental results. It is confirmed that its dynamic performance is better than that of the previously proposed approaches, and it results in the decoupled current axes.