Sublime Text 3 support for Active4D
- Total 3K
- Win 2K
- Mac 484
- Linux 245
|Apr 23||Apr 22||Apr 21||Apr 20||Apr 19||Apr 18||Apr 17||Apr 16||Apr 15||Apr 14||Apr 13||Apr 12||Apr 11||Apr 10||Apr 9||Apr 8||Apr 7||Apr 6||Apr 5||Apr 4||Apr 3||Apr 2||Apr 1||Mar 31||Mar 30||Mar 29||Mar 28||Mar 27||Mar 26||Mar 25||Mar 24||Mar 23||Mar 22||Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10|
IMPORTANT: This package only supports Sublime Text 3 build 3100 and later.
Active4D-ST3 is a Sublime Text 3 package which provides syntax highlighting, snippets and convenience commands for use with Active4D.
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
<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.
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.
Several commands are available via keyboard equivalents:
Insert = block [super+shift+=] – Inserts the snippet
Build query [ctrl+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.