• Announce: alited v1.4.2

    From Alex P@21:1/5 to All on Wed Mar 15 21:46:26 2023
    It's an editor to develop Tcl/Tk projects. Has a lot a tasty things for this. Written in Tcl/Tk 8.6.10.

    Links:

    Installers in MS Windows' style: https://github.com/aplsimple/alited/releases/tag/install-alited-v1.4

    Source 1: https://chiselapp.com/user/aplsimple/repository/alited/download Source 2: https://github.com/aplsimple/alited

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

    Demos: https://github.com/aplsimple/alited/releases/tag/Demos_of_alited-1.4

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ali M@21:1/5 to All on Wed Mar 15 22:09:14 2023
    Few questions

    1. does it have code completion/intellisense
    2. can you add hash keys (checksums) for the downloads

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex P@21:1/5 to All on Wed Mar 15 22:19:25 2023
    четверг, 16 марта 2023 г. в 08:09:17 UTC+3, Ali M:
    Few questions

    1. does it have code completion/intellisense
    2. can you add hash keys (checksums) for the downloads

    1. Very basic.
    2. Probably, I can (still, never come into problems with downloads from cheaselapp and github).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex P@21:1/5 to All on Fri Mar 17 21:31:50 2023
    Well, I'll try to improve this completion thing a bit. However it'll never be among distinctive and best features of alited.

    With some size of Tcl projects on, the completion may mess it up and even annoy, when every time you are servilely offered things you need not.

    When developing a weekend or little project, you would nice do it with Geany or Kate or something else. Or when the completion is the only thing you require of editors.

    But it's with middle and large projects that alited reveals all its best (while by itself it has 0 Kb of dependencies for developing Tcl/Tk 8.6.10+, in no way a half gigabyte monster).

    The cause is obvious: those other editors aren't Tclish, while alited is. It is intended specifically for developing Tcl/Tk projects, not for being a universal plug to every hole. Going its own way, of course. Don't forget that it has been coded in Tcl/
    Tk.

    After all, is Tcl spoiled by an abundance of its IDEs? What is a programming language if you haven't tools made with it for it? That's it. "MyTcl" would be the best Tcl IDE at least in Windows, but it had been abandoned in 2012 alas, and its source isn't
    available to enrich it with new Tcl/Tk features.

    You'll just become more productive with alited at developing Tcl code. Just so simple.

    In 2021 I felt it nearly immediately after moving to it from Geany which is considered the best for Tcl, see e.g. https://wiki.tcl-lang.org/page/Choosing+an+IDE+for+Tcl+in+2022
    Perhaps it's time to reconsider this delusion.

    Of course, you need also some external tools like SCM, compilers etc. For example, I use poApps, fossil, git etc., in tight bind with alited and customized to use from it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luc@21:1/5 to Alex P on Sat Mar 18 14:32:00 2023
    On Wed, 15 Mar 2023 21:46:26 -0700 (PDT), Alex P wrote:

    It's an editor to develop Tcl/Tk projects. Has a lot a tasty things for
    this. Written in Tcl/Tk 8.6.10.


    I don't usually criticize, but this is terrible:

    --------------------
    alited needs Tcl/Tk v8.6.10+
    while the current is v8.6.6
    --------------------

    The application refuses to run and tells me that message.

    Is that really necessary?

    I think one of the greatest strengths about Tcl/Tk is how I can
    still run code I wrote 15 years ago unchanged. Some of it was
    written for Windows too, and it works fine on Linux!

    Would my newer code run on Tcl 8.4 though? Yes, I think it would.
    I probably just need 8.5 because of the nipple {*}, nothing else.

    So I remove the showstopper paragraph from alited and it seems to
    run as expected.

    Should any application ever refuse to run over such a small version
    difference? I think it shouldn't. I think it mustn't.


    --
    Luc


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex P@21:1/5 to All on Sat Mar 18 23:31:14 2023
    Thanks for your feedback. I'll try and answer your questions.

    alited needs Tcl/Tk v8.6.10+
    while the current is v8.6.6
    --------------------

    The application refuses to run and tells me that message.

    Is that really necessary?

    Yes, it is, because alited uses some of Tcl/Tk features that are absent in Tcl/Tk versions older than 8.6.10.

    However, especially for your use case, there are installers of alited: https://github.com/aplsimple/alited/releases/tag/install-alited-v1.4

    Just run an installer to install alited and use its desktop shortcut to run it.

    The installers deploy alited along with attached tclkit v8.6.10 to run it. With this, you may even run alited without any footsteps of Tcl on the machine. Or run it on a platform with old deployed Tcl/Tk. I tested it okay with 8.6.9.

    Also, at need, you can customize to run/test/debug your scripts so that they would be run by Tcl/Tk of old versions.

    Use "Tools/Run..." - it allows to set a list of commands and to select any of them to run/test/debug scripts:

    tclkit8.6.9 myscript.tcl arg1 arg2
    tclkit8.6.11 myscript.tcl arg1 arg2
    ...

    To have a row of tclkits (along with a deployed version of Tcl) will be good for testing scripts in old Tcl versions.

    To be honest, at deployed Tcl/Tk older than 8.6, there will be issues - not with alited by itself, but with running Tcl scripts from it, as you may edit scripts but not run/test/debug them, if e.g. Tcl/Tk 8.4 is deployed on the machine. I'll try and fix
    this in the nearest version of alited. Also, I'll make the "Run.." dialogue non-modal to allow pressing its "Test" button (omitting "OK") on any selected command, so that a related script can be corrected and tested without reopening "Run..".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)