Excellent! Thank you, Aparajita. On Fri, Jul 14, 2017 at 6:44 PM, Aparajita <[email protected]> wrote:
> Hi all, > > I'm happy to announce that full syntax support for Sublime Text 3 has > landed. Among the features: > > Active4D-ST3 is a Sublime Text 3 package which provides syntax > highlighting, snippets and convenience commands for use with Active4D. > > Syntax Highlighting > -------------------------- > Full syntax highlighting is provided for the following file types: > > • Embedded scripts (.a4d, .a4p) – Any Active4D code within <% %> > tags receives context-aware syntax highlighting. Anything not within <% %> > tags uses the standard highlighting for HTML files, including <script> and > <style> blocks. Active4D methods and constants declared with 'define' are > accessible through the 'Goto Symbol' palette. > > • Libraries (.a4l) – Context-aware syntax highlighting. Methods > and constants declared with 'define' are accessible through the 'Goto > Symbol' palette. > > • Active4D.ini – Syntax highlighting. Options are accessible > through the 'Goto Symbol' palette. > > > Snippets > ------------ > Numerous snippets are provided for control structures, commands, and > fusedocs. The best way to explore the snippets is by showing the snippet > list in ST3 (Tools > Snippets) from within Active4D code. > > > Commands > --------------- > Several commands are available via keyboard equivalents: > > • Insert = block [super+shift+=] – Inserts the snippet <%= %>. > > • Build query [super+alt+b] – If the beginning of the current > selection is on a query/query selection command, a * is added if necessary > to the query command and a snippet is inserted on the next line, with the > table used in the previous line filled in as the default. > > • Open include [super+ctrl+alt+i] – If the cursor is within a > string, the string is joined to the path of the current file's directory, > and if the resulting path is a file, the file is opened. Typically this is > used to open the target of an include statement. > > > Installing > ------------- > The package is still in beta, so you'll have to install it manually: > > - Quit Sublime Text 3. > > - Download the package: http://www.aparajitaworld.com/ > files/Active4D/Active4D-ST3.zip <http://www.aparajitaworld. > com/files/Active4D/Active4D-ST3.zip> > > - Unzip and move to <Sublime Text Packages>. This location varies by > platform, it can most easily be found by selecting "Browse Packages…" from > the "Preferences" menu in Sublime Text. > > - Launch Sublime Text 3. > > **IMPORTANT** > This syntax only works with Sublime Text 3 build 3100 or later, which is > in the Sublime Text dev channel. You must have a Sublime Text license to > use the dev channel versions. > > I hope this helps, please let me know if you come across any problems. > > Regards, > > - Aparajita > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://list.aparajitaworld.com/listinfo/active4d-dev > Archives: http://active4d-nabble.aparajitaworld.com/ _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
