brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Feature request: record keystroke macros #9814

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by mstrong64 Tuesday Jun 09, 2015 at 23:17 GMT Originally opened as https://github.com/adobe/brackets/issues/11239


Very handy when editing multiple lines of repetitive code e.g. from the Delphi IDE http://www.haydenr.com/delphi/codingtips/codingtip23.html

core-ai-bot commented 3 years ago

Comment by TomMalbran Wednesday Jun 10, 2015 at 00:49 GMT


Have you tried the multiple cursor? You can get lots of cursor and make all the changes you need on multiple places at the same time.

core-ai-bot commented 3 years ago

Comment by mstrong64 Wednesday Jun 10, 2015 at 01:14 GMT


Nice, but not the same thing. Another example is TextMate (Edit -> Macros).

A recent example. I had a long list of objects:

{ "desc1", "val1" } ... { "descN", "valN" }

I needed to swap the order of the members in each object in the list, to:

{ "val1", "desc1" } ... { "valN", "descN" }

When there's lots of items in the list then recording a macro to do that editing is SO much faster.

Cheers, Michael

On 10 June 2015 at 10:50, Tomás Malbrán notifications@github.com wrote:

Have you tried the multiple cursor? You can get lots of cursor and make all the changes you need on multiple places at the same time.

— Reply to this email directly or view it on GitHub https://github.com/adobe/brackets/issues/11239#issuecomment-110548142.

core-ai-bot commented 3 years ago

Comment by TomMalbran Wednesday Jun 10, 2015 at 01:22 GMT


I know is not really the same. But this feature might be hard to do, and it might not be added into core anytime soon since I don't that it was requested by many users. So you might need to create an extension or get someone to do it, since I don't think that there is one. So for now multiple cursor can do most of that.

One way of doing that is selecting all of the items in one right side using multiple selections, cuting all of them, and then moving\placing the cursor to right after the { and doing a paste.

core-ai-bot commented 3 years ago

Comment by mstrong64 Wednesday Jun 10, 2015 at 01:37 GMT


Thanks Tomás, but that wouldn't have worked for me in this case. I ended up using TextMate to do this, but I much prefer using Brackets hence the feature request. This is more of a nice to have than an urgent request because I can use other tools to get the job done.

On 10 June 2015 at 11:23, Tomás Malbrán notifications@github.com wrote:

I know is not really the same. But this feature might be hard to do, and it might not be added into core anytime soon since I don't that it was requested by many users. So you might need to create an extension or get someone to do it, since I don't think that there is one. So for now multiple cursor can do most of that.

One way of doing that is selecting all of the items in one right side using multiple selections, cuting all of them, and then moving\placing the cursor to right after the { and doing a paste.

— Reply to this email directly or view it on GitHub https://github.com/adobe/brackets/issues/11239#issuecomment-110551369.

core-ai-bot commented 3 years ago

Comment by TomMalbran Wednesday Jun 10, 2015 at 01:47 GMT


This might make a really nice extension. Maybe someone would like to do one.

core-ai-bot commented 3 years ago

Comment by redmunds Wednesday Jun 10, 2015 at 04:00 GMT


Someone on the forum was working on a Macro extension. See this thread.

Marking this as an Extension Idea.