how to open ubuntu file in visual studio

Shell
$ code
$ code my-file

Source

Also in Shell: