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

Suggestions - Drag and Drop text, line highlights, and drop target split view panes #13015

Open
core-ai-bot opened this issue Aug 31, 2021 · 11 comments

Comments

@core-ai-bot
Copy link
Member

Issue by OffLuffy
Wednesday Jan 07, 2015 at 11:57 GMT
Originally opened as adobe/brackets#10325


I'm new to this program, so sorry if there's a way to do something already that I've suggested!


Drag & Drop Text:

The ability to drag and drop selected text to move it around easier


Active Line Highlighting:

The current line (lines if more than one row is selected) have a different background color. If another pane in split view is active, the active line on the other panes should remain highlighted to act as somewhat of a place marker if you're referring to the other pane frequently without making it the active pane.


Drop Target for Split View Panes

The ability to drag and drop files (or file names in the open files pane into panes) to open it in that pane


Great work so far! Winning my favor over N++ even without above suggestions, HTML files or not.

@core-ai-bot
Copy link
Member Author

Comment by OffLuffy
Wednesday Jan 07, 2015 at 12:02 GMT


An a latent note, another suggestion (which I never see employed in any text editor, so maybe a reason that it isn't) is to allow the use of Shift + Arrow keys to modify the bounds of block-selections (alt + dragging to select text) instead of having it revert to a normal selection mode. This would feel more natural after making a block-selection.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Jan 07, 2015 at 16:38 GMT


Drag/drop text: Please upvote Drag and Drop to move selected text within editor on our feature backlog.

Active Line Highlight for inactive pane/window: Makes sense. It should be possible to do this in a theme, but it seems reasonable to do it in core too. @larz0, thoughts? We'd probably want a dimmer active line highlight when inactive (that's what other editors that don't hide the highlight when inactive do).

Drop target for split panes: It should work this way already when dragging in a file from the OS folder view. Please let us know if not. For files that are already open, you don't have to drag them all the way to the other pane -- you can just drag them between sections in the open files list in the upper-left.

Keys to modify block selection: Sounds like a good candidate for someone to write an extension -- so adding the 'extension idea' tag for that.

Note: In the future, it would be good to file unrelated things as separate bugs. But also please check the backlog to see if it's already tracked there.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Wednesday Jan 07, 2015 at 16:51 GMT


Drag/drop text is actively being worked on (and is close to completion), so no need to vote!

@core-ai-bot
Copy link
Member Author

Comment by aringot
Monday Feb 09, 2015 at 02:19 GMT


Anyone working on the active line highlight ? I would like to do it

@core-ai-bot
Copy link
Member Author

Comment by larz0
Tuesday Feb 10, 2015 at 02:04 GMT


@peterflynn we're using 0.7 opacity to dim the entire inactive pane so using the same active line color could be okay.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Tuesday Feb 10, 2015 at 03:31 GMT


@larz0 We're not dimming the entire pane anymore (as of 1.2), so we'll need to specifically mute the active line highlight.

@aringot As far as I know no one's working on that yet -- feel free!

@core-ai-bot
Copy link
Member Author

Comment by aringot
Tuesday Feb 10, 2015 at 08:58 GMT


@peterflynn Ok, great !
Any hint on where I should start ? (I found references to the active line in the LESS files, but I can't find where the active line is defined)

@core-ai-bot
Copy link
Member Author

Comment by aringot
Wednesday Feb 11, 2015 at 09:13 GMT


Do we really need to put a dimmer highlight ? I mean, as long as nothing is dimmed anymore in the inactive pane, there is no reason to have the active line dimmed. Maybe I should only make the inactive pane keep the highlight on the line that was active ?
(even if I would personally prefer the entire inactive pane to be a bit dimmer)

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Feb 11, 2015 at 22:50 GMT


@aringot Yes, we want it to be dimmer so it's clear which pane has focus. All the other cursor/selection-related bits of UI change appearance when focus is lost -- cursor is hidden, selection changes color, etc.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Feb 11, 2015 at 22:51 GMT


If you want the entire pane to be dimmer, you can install the Zen Panes extension. But per #9785 this won't be the default behavior in Brackets anymore.

@core-ai-bot
Copy link
Member Author

Comment by aringot
Thursday Feb 12, 2015 at 08:02 GMT


@peterflynn Thanks for the link !
And indeed, my bad, selection does change color, html tags don't.

I understood how to get the highlight in the inactive pane, now I'm trying to find good colors... Which is kind of hard as the highlight is already really dim ! (And I'll try to code the LESS rules more nicely)

dimmerhighlightdefaulttheme

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

1 participant