Configure VS Code title bar on Ubuntu 18.04

If you are trying to get rid of the title bar that comes after installation of VS Code on Ubuntu 18.04, here is what you need to do to get a better looking editor.

Go to File -> Preference -> Settings and in user settings write

"window.titleBarStyle": "custom",

You would be prompted to reload the editor, click reload and you are done.

Here are the screenshots of the same:

visual studio with title
visual studio without title