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

[FEATURE] - drag & reorder in side bar #378

Closed
LighghtEeloo opened this issue Jan 23, 2021 · 6 comments
Closed

[FEATURE] - drag & reorder in side bar #378

LighghtEeloo opened this issue Jan 23, 2021 · 6 comments
Labels
depends on Depends on issues from VS Code enhancement side bar

Comments

@LighghtEeloo
Copy link

Drag the side bar files and reorder as in the vscode explorer.

Possible implementation: read from the json file, find the src index, find des index, pop and insert.

Significance: This is very convenient for sorting out the bookmarks.

@LighghtEeloo LighghtEeloo changed the title [FEATURE] - drag & reorder [FEATURE] - drag & reorder in side bar Jan 23, 2021
@alefragnani
Copy link
Owner

alefragnani commented Jan 24, 2021

Hi @LighghtEeloo ,

Unfortunately, there is no API available for drag and drop. There is an open issue asking for this on VSCode repo microsoft/vscode#32592, but no ETA.

Hope this helps

@alefragnani alefragnani added depends on Depends on issues from VS Code side bar labels Jan 24, 2021
@LighghtEeloo
Copy link
Author

Thank you @alefragnani .

Sorry I didn't expect it to be such an impossible task. >_<
I guess we'll have to wait then.

But this extension is still very helpful, I've been enjoying it. Thanks!

@alefragnani
Copy link
Owner

No need to be sorry. I agree it is an unexpected limitation, but I think it would be available somewhere in the future.

I’m glad to know you like the extension. It’s one of my favorites 😬

Thank you

@alefragnani
Copy link
Owner

Hi @LighghtEeloo ,

Instead of drag and drop, wouldn’t sorting (#435 ) or grouping (#159 ) be alternatives?

@LighghtEeloo
Copy link
Author

I agree. That can be a solution.

Tired of waiting for vscode team to get the drag and drop done, I think the alternatives aren't bad.

Feel free to close. If anything new happens to the API, I'll consider open again. Thank you :-)

@alefragnani
Copy link
Owner

That's great! I'm planning both features for upcoming releases.

Stay tuned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on Depends on issues from VS Code enhancement side bar
Projects
None yet
Development

No branches or pull requests

2 participants