Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When selecting a "multiple files" or "multiple folders" entry, only the last item is opened #1

Open
br0wnie opened this issue Jun 14, 2018 · 1 comment

Comments

@br0wnie
Copy link

br0wnie commented Jun 14, 2018

From what I understand, the purpose of the multiple files/folder sections is to open them all at once. However, when I select the dropdown menu it will only open the last file or folder in the section.

For example, in my configuration below, selecting the "Scripts" favorite only opens my gulpfile.js file. Or when I select the "FinalProject Folders" it will only open my dist folder.

Am I messing up my syntax or something? If opening multiple files/folders at once was never supposed to work, I guess I can just make separate entries for each one, but I figured I'd ask just in case!

{
  "psibit-vscode-favorites.FavoritesList": [
    { // Single File Favorite
      "Name": "HOSTS File",
      "Type": "File",
      "Paths": "C:\\windows\\System32\\drivers\\etc\\hosts"
    },
    { // Multiple File Favorite
      "Name": "Scripts",
      "Type": "File",
      "Paths": [
        "E:\\Coding\\scripts\\master.ahk",
        "E:\\Coding\\scripts\\moz_image_optimizer.bat",
        "E:\\Coding\\scripts\\png_image_optimizer.bat",
        "E:\\Files\\school\\xxxxx\\xxxxx\\Class 4\\Class 4 Assignment.txt",
        "E:\\Programs\\Cmder\\config\\user-aliases.cmd",
        "E:\\Files\\school\\xxxxx\\xxxxx\\FinalProject\\gulpfile.js"
      ]
    },
    { // Multiple Folder Favorite
      "Name": "FinalProject Folders",
      "Type": "Folder",
      "Paths": [
        "E:\\Files\\school\\xxxxx\\xxxxx\\FinalProject\\app",
        "E:\\Files\\school\\xxxxx\\xxxxx\\FinalProject\\dist"
      ]
    }
  ]
}
@kevinCefalu
Copy link
Owner

Hey man, dunno how I missed this, but I'll be sure to look into it. The APIs may have (read "likely") substantially changed since I wrote this. Thanks for being thorough and providing your config; everything looks correct. I'll be in touch, soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants