Announce: alited editor

131 views
Skip to first unread message

Alex P

unread,
Sep 5, 2022, 6:33:06 AMSep 5
to
I'd like to try and present "alited" - an editor for Tcl/Tk development, written and used with Tcl/Tk v8.6.10+.

Its main features picking it out from its counterparts are mostly about
- code units
- projects
- tools
- fossil & git

As an editor for Tcl/Tk development, alited is better than Geany, TKE, Kate, Notepad++ etc. and is even better than VS Code. It can be only compared with Komodo Edit, both having their pluses and minuses, being of equal value in total. That's of course "my humble opinion", still practices as well.

For a quick acquaintance with alited, there are 6 consequent videos (dark themed):

https://github.com/aplsimple/alited/releases/download/1.Start_alited-1.3/1.Start_alited-1.3-dark.mp4

https://github.com/aplsimple/alited/releases/download/2.Units_alited-1.3/2.Units_alited-1.3-dark.mp4

https://github.com/aplsimple/alited/releases/download/3.Projects_alited-1.3/3.Projects_alited-1.3-dark.mp4

https://github.com/aplsimple/alited/releases/download/4.Find_alited-1.3/4.Find_alited-1.3-dark.mp4

https://github.com/aplsimple/alited/releases/download/5.Tools_alited-1.3/5.Tools_alited-1.3-dark.mp4

https://github.com/aplsimple/alited/releases/download/6.Themes_alited-1.3/6.Themes_alited-1.3-dark.mp4

Light themed videos are also available.

---

Description:
https://aplsimple.github.io/en/tcl/alited/

Reference:
https://aplsimple.github.io/en/tcl/alited/alited.html

Downloads:
https://chiselapp.com/user/aplsimple/repository/alited/download
https://github.com/aplsimple/alited

---

P.S. I do the very first subject post in the forum and would be sorry if not successfully.

Alexandru

unread,
Sep 6, 2022, 5:38:45 AMSep 6
to
Nice work. How does it perform with very large file, e.g. 100k lines of code?

Alex P

unread,
Sep 6, 2022, 7:18:05 AMSep 6
to
> Nice work. How does it perform with very large file, e.g. 100k lines of code?

Obviously, you mean 100k of Tcl file size, not 100000 of LOCs. Otherwise, of course, Tcl isn't relevant.

Well, alited is quite nice with 100-200k and even more sized Tcl scripts.

For example, somewhere in demos, alited opens *apave.tcl* of size ~130k.

The alited doesn't experience problems with its own code that is large for other taste.

Still, alited is very urgent about *mild* restricting the sizes of units and files.
Seems to be one of its multiple profits ;)

Alexandru

unread,
Sep 6, 2022, 7:27:04 AMSep 6
to
apls...@gmail.com schrieb am Dienstag, 6. September 2022 um 13:18:05 UTC+2:
> > Nice work. How does it perform with very large file, e.g. 100k lines of code?
> Obviously, you mean 100k of Tcl file size, not 100000 of LOCs. Otherwise, of course, Tcl isn't relevant.
No, I meant what I wrote. The file size is 5MB in my case.
I'm using SublimeText which is great with large files.
If I was in your place, I would study SublimeText and try to copy part of it's very modern features.
E.g. elastic search for function names in file. This way you can jump to the needed function inside a large file much quicker than when working with multiple files.

Alex P

unread,
Sep 6, 2022, 8:04:34 AMSep 6
to
> elastic search for function names in file

Wow, alited provides probably its own "search for function names" options, very elastic :)

It might be seen in
https://github.com/aplsimple/alited/releases/download/2.Units_alited-1.3/2.Units_alited-1.3-dark.mp4
and in
https://github.com/aplsimple/alited/releases/download/4.Find_alited-1.3/4.Find_alited-1.3-dark.mp4

---

But 5MB of Tcl/Tk source file... Uff. Then no alited of course ;)

---

Thank you, Alex, that's all right and how it must be.

Tau

unread,
Sep 6, 2022, 8:30:24 AMSep 6
to
On 9/5/22 12:33, Alex P wrote:
> I'd like to try and present "alited" - an editor for Tcl/Tk development, written and used with Tcl/Tk v8.6.10+.
>
> ...

Ah, that looks interesting! Any plans to add a debugger to this? Like in
TclProDebug or Komodo?

Alex P

unread,
Sep 7, 2022, 3:01:29 AMSep 7
to
> Ah, that looks interesting! Any plans to add a debugger to this? Like in
> TclProDebug or Komodo?

Yes, there are plans to continue with debugging features of alited. Still, classic debugging tools (stop, step into/over, go to cursor etc.) are not in the plans.

FWIK, ActiveState abandoned supporting Tcl totally, so no support of their tools as well.

I'm sure that the classic tools only mess it all up and don't help it, when you come into a really hard bug. While developing alited, there were two cases when I had to use file loggings to catch a stubborn bug (no other methods could help it).

Tcl has its own incredible introspection facilities that have to be used in debugging options of alited.

Already available options are:

- using shells to run Tcl scripts (e.g. powershell.exe in Windows or lxterminal in Linux), with variable arguments passed to scripts

- using Tkcon to run Tcl scripts (both Linux and Windows), with Tkcon's giant introspection

- templates to set stops, puts (incl. [info ...]) and inputs

One of the forum discussion has contributed also to debugging features of alited, namely - how to proper comment out Tcl code at testing/debugging:
https://groups.google.com/g/comp.lang.tcl/c/F0K3HdZ2stw
Reply all
Reply to author
Forward
0 new messages