leftstick / vscode-favorites

An extension helps developer marking resources as favorite. Therefor, those resources can be easily found at a special view
https://leftstick.gitbooks.io/vscode-favorites/
GNU General Public License v3.0
47 stars 21 forks source link

Open file in new tab #3

Closed kdcro101 closed 6 years ago

kdcro101 commented 7 years ago

Implement ability to open selected (clicked) file in new tab. Now every file doubleclicked replace file before.

Thanks

leftstick commented 6 years ago

You mean if a resource opened before, when you click it from favorites, you want this resource opened in a new tab, not the previous one?

kdcro101 commented 6 years ago

Sorry for late reply, Yes. If I open file1.ext and I want to open file2.ext, currently it replaces file1.ext and not opening new tab. This extension is time saver if it would have only this functionality added. I have uninstalled it because I was always in single tab. I've tried double-click, ctrl+double-click...

Thanks for reply! Domagoj

leftstick commented 6 years ago

@kdcro101 since vscode extension API only support select function(which is click) for now. So i improved in this way:

If you have "workbench.editor.enablePreview": false in your settings, the file will be opened in new tab

kdcro101 commented 6 years ago

Thanks a lot!

I see you've added icons! great! This extension significantly increases productivity! "workbench.editor.enablePreview": false works perfectly.

One "little" thing: please sort directories first and then files as is practice in IDEs.

favorites

Here you can see in my case.

GREAT JOB!

P.S. Update animation of your extension front page on Visual Studio Market place so people can see icon support which is great helper for focusing

leftstick commented 6 years ago

@kdcro101 new sort function released, please try it again

kdcro101 commented 6 years ago

@leftstick, thank you for quick reply!

I've reinstalled extension to version 1.3.1

When I add directory to favorites its contents are still ordered by file name only.

favorites1

Here you can see directory "test" added to favorites. Its contents are still sorted old way.

I've added "favorites.sortOrder": "ASC" //DESC to settings.

Can you add context menu ( right click) from file explorer when clicked on favorite item (and descendants)? That would be a production booster!

Thanks a lot!

leftstick commented 6 years ago

@kdcro101 1.3.2 is released, please have a try

kdcro101 commented 6 years ago

@leftstick, Sorting works great,, now!

Thank you.