com/ide/textmate/sugar_hx_textmate
Differences between version #8569 and #8877
23c23 < If a code completion request occurs, then the current build file specified will be built with a --display compiler directive at the current cursor location. If the current build file contains multiple target directives (using the --next compiler command), the build file will be split into several sections based on the --next locations. By default, only the first section is used for autocompletion. However, it is possible to specify an alternate build section by using a pseudo compiler switch "-D tm-autocomplete". Using this switch will not affect normal compilation. --- > If a code completion request occurs, then the current build file specified will be built with a --display compiler directive at the current cursor location. If the current build file contains multiple target directives (using the --next compiler command), the build file will be split into several sections based on the --next locations. By default, only the first section is used for autocompletion. However, it is possible to specify an alternate build section by using a special hxml comment switch "# @tm-autocomplete". Using this switch will not affect normal compilation. 114a115,116 > ===== JS, SWF, and HTML output embedding ===== > Since JS and SWF cannot output to STDOUT, it is commonly necessary to open or embed them with additional commands. The TextMate bundle will embed JS and SWF output into the build results if the hxml comment switch "# @tm-preview" is included somewhere in the hxml. 115a118 > In addition, it is possible to include arbitrary html in the output with the "# @tm-html" switch. Any additional text added on the same line after this switch will automatically get inserted into the build results. For instance, this: 117,118c120,131 < ===== JS and SWF output embedding ===== < Since JS and SWF cannot output to STDOUT, it is commonly necessary to open or embed them with additional commands. Currently, the TextMate bundle will automatically embed JS and SWF output into the build results. \ No newline at end of file --- > # @tm-html <img src=http://haxe.org/img/haxe/logo_haxe.gif> > > will add a haxe logo to the build result. This technique can be useful to add additional divs and script locations for javascript specific externs. Such an addition can be done via the "script" tab completion command, which will produce: > # @tm-html <script type="text/javascript" src="|"></script> > > likewise, the "div" tab completion command will produce: > # @tm-html <div id="|"></div> > > > > >
| Ver | Date | Lg | User | Action |
|---|---|---|---|---|
| #8957 | 2010-08-12 01:15:46 | en | jjdonald | View | Diff |
| #8938 | 2010-08-03 22:22:46 | en | jjdonald | View | Diff |
| #8937 | 2010-08-03 22:22:06 | en | jjdonald | View | Diff |
| #8936 | 2010-08-03 22:20:37 | en | jjdonald | View | Diff |
| #8935 | 2010-08-03 22:20:07 | en | jjdonald | View | Diff |
| #8921 | 2010-07-29 21:22:23 | en | jjdonald | View | Diff |
| #8880 | 2010-07-12 20:48:34 | en | jjdonald | View | Diff |
| #8879 | 2010-07-12 20:46:23 | en | jjdonald | View | Diff |
| #8878 | 2010-07-12 20:45:26 | en | jjdonald | View | Diff |
| #8877 | 2010-07-12 20:44:38 | en | jjdonald | View | Diff |
| #8569 | 2010-06-09 12:07:30 | en | baurel | View | Diff |
| #8568 | 2010-06-09 12:07:30 | en | baurel | Set title to Sugar hx Textmate |