Sublime Text 3 support for Active4D
- Total 2K
- Win 1K
- OS X 420
- Linux 181
|Dec 14||Dec 13||Dec 12||Dec 11||Dec 10||Dec 9||Dec 8||Dec 7||Dec 6||Dec 5||Dec 4||Dec 3||Dec 2||Dec 1||Nov 30||Nov 29||Nov 28||Nov 27||Nov 26||Nov 25||Nov 24||Nov 23||Nov 22||Nov 21||Nov 20||Nov 19||Nov 18||Nov 17||Nov 16||Nov 15||Nov 14||Nov 13||Nov 12||Nov 11||Nov 10||Nov 9||Nov 8||Nov 7||Nov 6||Nov 5||Nov 4||Nov 3||Nov 2||Nov 1||Oct 31||Oct 30|
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.