ColdFusion Sublime Text Package
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Please use jcberquist's excellent package: https://github.com/jcberquist/sublimetext-cfml
The development branch contains a rewrite of the ColdFusion plugin. The only installation method is via Git.
cd Packages/ git clone https://github.com/SublimeText/ColdFusion.git cd ColdFusion git checkout development* CFLIB Command is not currently working. * Tag Operator Completions is not yet implemented * CFScript component method completions is not yet implemented * Only CF10 Dictionary is imported.
ColdFusion: Insert CFlib UDF(6/2/12)
The recommended method of installation is via Package Control.
Go to your Sublime Text 2
Packagesdirectory and clone the repository using the command below:
git clone https://github.com/SublimeText/ColdFusion
Some packages will override key bindings. If you have problems with a specific key shortcut, you can add it to your User - Key Bindings file
Preferences > Key Bindings - User
You can also use
sublime.log_commands(True)in the console (
ctrl+~) to output key presses and their corresponding command to the console pane.
Many more key bindings are available via Sublime
Preferences > Key Bindings - Default
Although, this package includes CFScript completions (
.sublime-completions) and ColdFusion tag completions (API-injected), it's recommended that you create your own custom snippets using code that fits your particular coding style. To create a new snippet select
Tools > New Snippet...from the Sublime Text menu. Use
text.html.cfm - stringfor ColdFusion markup snippets and
source.cfscript - stringfor CFScript snippets.
Completions in order of priority are: * Snippets * API-injected completions *
.sublime-completionsfiles * words in the current buffer
The following list contains snippets repositories made available by ColdFusion community members:
To install snippets just put the
.sublime-snippetfiles in your Packages/User folder or sub-folder (to get to your Packages/User folder select
Preferences > Browse Packages...from the Sublime Text 2 menu).
The following themes optimized for ColdFusion are made available by ColdFusion community members and can be installed with Package Control (http://wbond.net/sublime_packages/community)
If you'd like to customize your favorite theme for ColdFusion support, you can use the
entity.name.tag.cfscope in your tmTheme file. For example the following definition will use the color
#C87551for all ColdFusion tags:
name Meta scope meta.tag.block.cf, meta.tag.inline.cf settings fontStyle foreground #C87551 name Entity scope entity.name.tag.cf settings fontStyle foreground #C87551You can use Ctrl+Alt+⇧+P to get the scope name at the cursor position for more theme customizing .
To help test the development branch you can install it by dowloading the zip and copying the contents to the Packages/ColdFusion folder.
Alternatively, you can use git to install the ColdFusion package as mentioned above and switch to the development tracking branch using:
git checkout development
Some additional packages you might want to check out - they are all available through Package Control http://wbond.net/sublime_packages/community
These packages require manual installation
Copyright (c) 2012
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.