visual-studio-codevscode-debuggerpreview

Is it possible to show folder name before file name in VSCode preview when hovering?


When I hover on VSCode on the taskbar, it will show the preview of the opening folders

preview on hovering

Now it's showing file name before folder name. Sometime the file name is too long that it make folder name hidden. Is it possible to make it show folder name before file name so that I can have easier time navigating?


Solution

  • It is configured in Settings > Windows.Title or in settings.json:

    # Here's the default config but with rootName and activeEditorShort switched places
    
    "window.title": "${dirty}${rootName}${separator}${activeEditorShort}${separator}${profileName}${separator}${appName}"