Sublime Tex

Started by blackbonez, April 05, 2010, 10:14:15 PM

Previous topic - Next topic

blackbonez

Sublime Text is also very good editor.

I like some features like Mini Map, full customisation, themes from TextMate... http://www.sublimetext.com/features

I'm now testing HippoEDIT and I really like it  ::)

alex

Hi blackbonez,

welcome on forum and thanks for information about Sublime Text.

Generally, I have tested it before. Yes, it has nice interface, something which is different from most.
For me looks very similar to E-TextEditor, but feature set is more limited (no otlining, but maybe there are something else which I have not noticed, I have not spent too much time in digging into the functions). Most strongest feature is supporting of Text Mate bundles. But in HippoEDIT I do not plan currently to go in this direction. But who knows :)
Another windows text editor supporting text mate bundles is intype. Also very nice and simple, but some how slow in development.

About Mini Map feature - very impressive, but I, personally do not know how useful it is (it also do not show complete document for huge ones). Here we have already discussed this feature, but from another tool. In HE functionality of such Mini map implemented in Overview Var (right of the editor screen). It shows selections, current line positions, changed areas, bookmarks, errors etc, for complete document, but without mini preview.
Implementing of real bird view is not too complex, but performance critical, if you want to display long documents with complex syntax highlighting. So there should be real reason for me to implement this :).

QuoteI'm now testing HippoEDIT and I really like it
Thanks ;) if you will see that something is missing or done worser as in Sublime Text Editor for example, share this here, and I will try to correct or implement the feature next version.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Szameks

SublimeText is very nice editor. It looks very cool, minimal and has a lot of features but the thing i left this app is missing some core features for me like drag'n'drop text with mouse, search'n'replace block of text in opened tabs (tho you can search'n'replace text in files in pointed folder), problems with encoding detection: i had to  use "open file with encoding" option  instead of draging files onto app which was quite time consuming. Some minor things like: application config via xml files - i had to use external font browser to check fonts on my system and some others.

IMO fun app to play with but not recommended as default editor for daily use.

zhouzh2

#3
I just tested Sublime Text.  8)
It's a pretty cool editor, and fun to play with.
QuoteMost strongest feature is supporting of Text Mate bundles
It's supporting of TextMate bundle is nice but not as powerful as in E (snippets supported, shell command not). For me the most impressive feature of ST is the multiple-selections. (might be the best in all platform IMHO). Check it out here: multiple selections concepts. Although I'm still not clear about how to do multiple selections only by keyboard by it's implementation. :)
QuoteBut in HippoEDIT I do not plan currently to go in this direction.
TextMate's snippets is really interesting, can be a worth improvement to our existing code-template. such as this one:

If I may, I will push Alex to go in this direction as hard as I can ;D  ;) joking  ;)

alex

Hi Angus,

thanks for good features highlighting!

QuoteIt's supporting of TextMate bundle is nice but not as powerful as in E (snippets supported, shell command not).
I think the reason is that Sublime does not install/use cygwin for this...

QuoteIt's supporting of TextMate bundle is nice but not as powerful as in E (snippets supported, shell command not). For me the most impressive feature of ST is the multiple-selections. (might be the best in all platform IMHO). Check it out here: multiple selections concepts. Although I'm still not clear about how to do multiple selections only by keyboard by it's implementation.
I have checked the blog post, and you are right - It is s a best from which I have seen. At least most powerful. Boxer text editor is also good in the area of multi selection, but it is not so good.
I have noted a link, and will use it as a guideline when implementing multi selection in HE. I like this feature very much, and it opens a lot of usage scenarios, so Would like to add it soon. But because of load by other planned features I do not know if I will be able to add this to 1.50.

QuoteTextMate's snippets is really interesting, can be a worth improvement to our existing code-template. such as this one:
Yes they are really interesting and really powerful. When I wrote that do not plan to go in this direction I mean I do not plan to integrate text mate bundles. But I will try to enhance HE templates to be as powerful as TextMate and will check TextMate bundle for ideas for HE engine.
The example you shown is cool :) Can you paste here also text of snippet used to describe this (I have not noticed first that top and bottom === lines are also grow!)?
I have seen some when another idea, called wrapping comments. When comments wrap automatically when you edit them (leaving commenting signs). But this was not a snippet functionality.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

zhouzh2

QuoteCan you paste here also text of snippet used to describe this
Of course. :)
I don't own a Mac nor TextMate. However I believe the following code should do able to do this little trick.
// ==${1/./=/g}==
// = ${1:Banner} =
// ==${1/./=/g}==
$0

$1 means the where the cursor should appear a when the snippet is called. ${1:Banner} makes the word "Banner" appear as selected.
${1/./=/g} means this place should be same as the word Banner, plus doing a regex replace: replace any single character to "=". 'g' is an option in this replace. here it means "global". without the g, the code would appear as:
// ===anner==
// = Banner =
// ===anner==

$0 is where the cursor should be after pressing a shortcut in $1, and ends the snippet.
More information can be found in TextMates documents.

alex

Thanks for explanation and link. Very powerful!
I think it will be useful to have something like this in HE also. Some when ;) I planned to extend HE template engine also and probably will go such direction.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]