Example - If there are 3 columns, and column 1 and column 2 have the same name, then vs code is shifting column2's results into column 3.
Please see screen shots. First one from sql developer which adds an _1 to the column, and displays the results in the proper columns. The second screen shot is from vs code. Both use the example query below:
Select 'Column1_Data' Column1, 'Column2_Data' Column1, 'Column3_Data' Column3
From dual;

