Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the advantages and disadvantages of textmate2

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you what are the advantages and disadvantages of textmate2, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

TextMate is a famous text editor software under Mac, which together with BBedit is called emacs and vim on Macintosh. It is especially suitable for programmers, and many intimate features can be customized. TextMate's Bundles is a bright spot of TextMate, which can effectively improve the speed of development. Core Rails developers, including DHH, have been using TextMate for development because they mainly use MacOS systems, and TextMate has an excellent interface, powerful macro definitions, and downloadable and editable macro definition packs (bundles), which help developers maximize coding efficiency.

Advantages of textmate2

1. Create the function of automatic generation of Snippets code. I believe that many people use TextMate for this function, it is really very easy to use. At that time, almost all IDE let you fill in a lot of dialog boxes, and then automatically generate a file or code, tedious and inflexible. In TextMate, with only a series of Snippets, the preset acronyms can be extended to classes, functions, and branch loop structures, and custom parts can be modified one by one by tab.

two。 Pioneered the distribution and management mechanism of Pluginbundle, and formed a community of a certain size. The plug-in for TextMate is very easy to install and can be removed at any time. At that time, many software plug-ins had to copy so files to the directory, and vim needed to extract the plug-in package or copy vim manually in the .vim / directory.

3. Lexicalscope is defined so that the fields of all Snippets, commands, and macros are not specific to the entire file / project. This design allows different types of files, even different locations in the file, to share the same keyboard shortcuts, but the behavior is completely different. This design greatly reduces the number of shortcut key commands that need to be remembered, but the power remains undiminished.

4. Discoverbility does the best job in the automation editor. TextMate is often used compared with Vim and eMacs, with the same keyboard operation as the latter two, and has the same scalability. But her learning curve is surprisingly smooth. This is proud that all her keyboard shortcuts can find the corresponding menu actions. Beginners can remember regular shortcuts after flipping through the menu a few times, and because of point 3, users can use these shortcuts to try in different file types and get less unexpected results.

5. Use the script well. Probably because the author of TextMate was a former eMacs user, the support for calling scripts is perfect. In fact, most TextMate commands call external scripts to implement certain functions. And the script can be a script that can be run under any unix such as python, ruby, shell, perl, etc. In addition, TextMate does not force users to learn these scripting languages, you can as a bundle user, you can write scripts to develop bundle.

Shortcomings of textmate2

Of course, TextMate also has many shortcomings, coupled with the fact that the author is working on TM2 rather than iterating quickly, which leads to slow evolution and many features have been imitated by other editors. I think TM has the following disadvantages or no longer has advantages:

0. Wide character support is very low, everlasting pain!

1.Snippets has been absorbed by Vim, eMacs, NotePad++ and many other editors.

Even vim of 2.bundle can be imitated by pathogen.

3. The completion function is too weak.

4. Temporary pipeline input and output needs to go through a dialog box, which is far less convenient than vim.

5.tab label type multi-file, poor navigation of one file, does not support screen segmentation; in particular, file switching can not avoid mouse operation, which is not comparable to the pure keyboard operation of Vim/eMacs.

6. The text search dialog box is not even used by the browser, and it is not as convenient as / under vim. Multiple results found depend on mouse access, unlike vim with quickfix and shortcut keys

7. Remote editing of files is too weak.

These are all the contents of the article "what are the advantages and disadvantages of textmate2?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report