Sublime update

32 views
Skip to first unread message

Doug Hall

unread,
Nov 14, 2022, 4:04:10 PM11/14/22
to Active4D
I updated my Sublime editor this morning only to find that my Active4D library (.a4l) files are no longer syntax highlighted. All the .a4d files are fine. Sublime complains when I start it up with my Active4D Project folder, saying there's an apparent recursion within a "with_prototype" action (see enclosed screenshot). That may or may not be related though, because that's been happening for a while. The syntax highlighting of library files only started with the recent update. I made sure my '~/Library/Application Support/Sublime Text 3/Packages/active4D-st3' repository was up-to-date. Do you think you might have time to confirm and run down this bug? I really enjoy the syntax highlighting in Sublime.

Thanks,
Doug
Screen Shot 2022-11-14 at 2.52.15 PM.png

Aparajita

unread,
Nov 14, 2022, 10:53:22 PM11/14/22
to Active4D
Yeah, same here.

I pushed a fix to the repo, I assume Package Control will eventually notice it. I honestly can't remember how that works.

In the meantime:
  1. Uninstall the Active4D package within Sublime and quit.
  2. Go to https://github.com/aparajita/active4d-st3/tree/1.0.4, download the code as a zip.
  3. Unzip and rename the folder "Active4D".
  4. Move the folder to <data>/Packages  (<data> is ~/Library/Application Support/Sublime Text 3/ on macOS).
That should do it. Note that previously entering "%>" within a control statement in a library would be marked as an error. Now it will turn everything after it into unhighlighted text.

Doug Hall

unread,
Nov 15, 2022, 12:05:00 AM11/15/22
to Aparajita, Active4D
Perfect. Thanks, Aparajita. Is there some reason why I should use the zip file rather than simply cloning the repository into my <data>/Packages folder (and maybe renaming the folder to Active4D)?

Doug

--
You received this message because you are subscribed to the Google Groups "Active4D" group.
To unsubscribe from this group and stop receiving emails from it, send an email to active4d+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/active4d/ab908eda-d51b-44e1-9cb3-0c3df46dfcb2n%40googlegroups.com.

Aparajita

unread,
Nov 15, 2022, 1:49:06 AM11/15/22
to Active4D
That would also work.

Doug Hall

unread,
Jan 28, 2025, 6:57:53 PM1/28/25
to Active4D
Aparajita, this recursion error is happening again in the recent versions of Sublime. Any chance you'll have time or the motivation to fix it? I understand, if not.

Aparajita

unread,
May 16, 2025, 2:06:18 PM5/16/25
to Active4D
Unfortunately I have neither the time nor motivation to fix it. I suggest uploading the theme file to claude.ai or ChatGPT and asking it if it can fix it.
Reply all
Reply to author
Forward
0 new messages