Are these NotePad ++ features available in TextMate?

I am a NotePad ++ user new to TextMate.

There are some features that I really like in NP ++, but couldn't figure out if TextMate supports them.

Double-click on the variable and select all instances. alt text

View 2 text boxes side by side alt text

Drag the file to another open window

For this, I do not know how to create a screenshot; -p. Basically, you can drag a file from Windows Explorer and transfer it to NP ++ so that it is open.

+4
source share
2 answers

Many TextMate users have long left TextMate, in fact. So, I'm not sure if it is time to move to TextMate.

Emacs and Vim do what they want, and more. If you can afford a learning curve, it's definitely worth it.

Regarding your question:

View 2 text boxes side by side

You can have two or more windows for the same document. Assuming you are in a "project", right-click your file in the box and select "foo.ext" in the window that opens. The two “views” of content are more or less synchronized, but cool things like editing columns tend to disrupt synchronization.

Due to the way Mac OS X manages windows, a new window is likely to be too large / too small and / or placed in a less useful place. I use ShiftIt to control my windows, in which case they are the same size side by side.

Double-click on the variable and select all instances.

What are you using this for? Is this a visual highlight or non-contiguous choice?

Type ctrl w to select a word, then e to make the word a search term, then f or Change> Find> Find in project ... This will show all instances of the search query in another window. Then you can “jump” to any place and do whatever you want.

If you only want to move from appearance to the place of occurrence, select the word, then enter e , then g to go to the next introduction.

Another way is to type ctrl s , a small text box will appear at the bottom of the window where you can enter a word and see its first appearance, selected in real time. Re-typing ctrl s will cycle through the entries.

Drag the file to another open window

You can drag the file onto the TextMate icon in the Dock. You can also right-click the file and select "Open with TextMate *" or "Open with ...". If you are in a "project", you can right-click and select "Add existing files ...". Opening multiple files in TextMate will automatically create a “project” for you.

+5
source

View 2 text boxes side by side

I just tried this and did not seem to recognize this functionality. the only time a “add” icon appeared, I dragged the file into an open document and then released it, but this led to adding the contents of the file to the document.

I just quickly did a google search in the form of a “textmate split view” and is still not supported according to some of the answers found (one of the macros wiki ).

Double-click on the variable and select all instances.

It is also not supported. This post suggests using command + f (find), put the word in find, then command + g go to the next instance of this word.

There are certain things you can add to textmate to make it more reliable. If you are looking for something like this and are on a Windows machine, you should check out the text editor . I liked this editor when I was working on a Windows machine - a relaxed view is supported, but not sure about the highlight. One thing that e is also superior to textmate is the regex highlighting in real time.

+1
source

Source: https://habr.com/ru/post/1336085/


All Articles