Some newbie questions (file compare/ highlight strings/ ...)

Hi,

I want to give Komodo IDE a chance to replace my Notepad+±editor :slight_smile:

So I’ve some questions:

  • Is there a german translation of Komodo IDE?

  • How can I realize the “CTRL+D”-feature of N++ in Komodo IDE?
    In N++ this keyboard combination copy the complete line under the cursor.
    And when I use SHIFT+CTRL+D so I can move a line or a marked codeblock by cursor keys completly.

  • When I mark/ highlight a string (word/ Perl-command/ …) in N++ all occurrences of this string will be highlighted automatically. Is there such a feature in Komodo IDE too?

  • When I mark/ highlight a variable in Komodo IDE all occurrences of this variable will be underlined.
    Can I change this appearence? So that all variables will be highlighted, not underlined? The underlining is not so remarkably for me.

  • Can I use another tool for comparing files?
    In N++ I see both files side by side. And so I see all differences line by line. The notation in Komodo it’s extremly confusing for me.

  • What means in Preferences -> Editor -> Smart Editing “Reposition ‘caret’ after tab”?
    I pressed the Tab-Key but nothing happens?!

Sincerly
Andy

No.

There’s Editor: Duplicate Line/Selection Down/Up in Preferences - Key Bindings.[quote=“akku, post:1, topic:3608”]
And when I use SHIFT+CTRL+D so I can move a line or a marked codeblock by cursor keys completly.
[/quote]

You can move lines with Alt+Up/Down but it’s not possible to move a selection this way - Komodo will move the whole line. I’m not sure there’s a feature request for that. @nathanr @careyh?

AFAIK, no.

Of course!

Tools - Color Scheme Editor, find the “Matching Tag” item in the list. There are different styles available.

You can open 2 files with split view. Is this what are you looking for?

The tooltip says “After pressing Tab, should an arrow key be based on the old location or the current one?” though I don’t see the difference in Tab behavior when the option is enabled/disabled. @nathanr @careyh?

2 Likes

Perfect! Thank you so much!

No. What I mean is when I use Tools -> Compare Files. The result in Komodo is

What I want is

Sincerly
Andy

Hmm, I’m not aware of such feature in Komodo. Though it looks very interesting.

If you just want to move a selection you can always drag it with your mouse.[quote=“Defman, post:2, topic:3608”]
When I mark/ highlight a string (word/ Perl-command/ …) in N++ all occurrences of this string will be highlighted automatically. Is there such a feature in Komodo IDE too?

AFAIK, no.
[/quote]

You can use ctrl+d to select them, but not just to highlight them. Variable highlighting will sort of do this, but you already found that. You can finetune it from Prefs > Editor > Smart Editing > Variable highlighting. You can also highlight a word and press ctrl+f to search, this should also highlight all occurances of that word.

@babobski made an addon that facilitates this:

There’s also this slightly more dated addon that facilitates the same thing:

2 Likes

Thank you!

“Oops! That page doesn’t exist or is private.”

Edit: Now it works!