Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Multiple selections editing / extensions access #12543

Closed
Rafiozoo opened this issue Jun 23, 2016 · 4 comments
Closed

Multiple selections editing / extensions access #12543

Rafiozoo opened this issue Jun 23, 2016 · 4 comments

Comments

@Rafiozoo
Copy link

Hi!
I've tried 2 extensions (1, 2) to proceed changing to lower/upper case. None of them could operate in all selections, but only in first or last.
The same issue occurs when I want to replace in selections.
Seems like Brackets doesn't serve multiselections for extensions.

@redmunds
Copy link
Contributor

@RafaelOlivra It's the responsibility of Extension Authors to build in multiple selection support into their extensions. I added multiple selection support to my Brackets Quick Markup extension. Closing.

@Rafiozoo
Copy link
Author

OK, thanks.
I wish that Brackets has native features for replacing or case-toggling in multiple selections...

@redmunds
Copy link
Contributor

@RafaelOlivra Yes, I could have used built-in case-toggling recently.

But, replace works. Once you have multiple selections you can simply type or paste to replace all selections. There is also a subtle behavior where if you select N items and copy, then select exactly N (or a multiple of N) items and paste, it replaces each item in order from the copy.

@Rafiozoo
Copy link
Author

Thanks! Clever trick :)

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

No branches or pull requests

2 participants