CFML IntelliSense Pro
Next-generation VS Code extension for ColdFusion (CFML) with intelligent tag completion, ColdBox framework intelligence, SQL injection security diagnostics, and .env autocomplete.
🚀 Features
⚡ Advanced Autocomplete & IntelliSense
- CFML Tags: Real-time suggestions for all major tags (
<cfquery>, <cfoutput>, <cfloop>, <cfif>, <cfset>, <cffunction>, <cfcomponent>, etc.).
- Tag Attributes: Context-aware attribute completions inside open tags (
<cfquery name="..." datasource="...">).
- Closing Tags: Automatic suggestions for matching closing tags (
</cf...).
- ColdBox Framework Intelligence: Context-aware completion for
event. methods (getValue(), setValue(), getPrivateValue(), buildLink(), setView(), etc.) and global objects (rc, prc, event, controller, handler, view, layout).
🔒 SQL Security Analysis
- Static security analysis for raw
#url.*# and #form.*# inputs inside <cfquery> blocks.
- Highlights exact vulnerability locations and recommends safe parameterization via
<cfqueryparam>.
- Intelligently ignores safe
<cfqueryparam> blocks, SQL comments (--, /* */), and CFML comments (<!--- --->).
- Supports the
cfml.maxNumberOfProblems configuration setting.
📄 .env Variable Autocomplete
- Automatically detects
.env files in your workspace folders.
- Provides real-time autocompletion when typing
getSystemSetting(" or getSystemSetting('.
- Zero Leakage: Strictly protects sensitive values by indexing only variable keys.
✨ High-Productivity Snippets
- Built-in snippets for
cfquery, cfoutput, cfloop, cfif, cfelse, cfelseif, cfset, cffunction, cfargument, cfcomponent, cftry, cftransaction, cfqueryparam, and cfscript.
📖 Usage
- Open any
.cfm or .cfc file.
- Start typing
<cf to see tag suggestions.
- Inside a tag, type a space to view available attributes.
- In ColdBox files, type
event. to see RequestContext helper methods.
- In SQL queries, type
getSystemSetting(" to auto-complete environment variables.
⚙️ Extension Settings
This extension contributes the following setting:
cfml.maxNumberOfProblems: Controls the maximum number of problem diagnostics produced by the language server (default: 100).
👨💻 Developer & Author
Avinash Shinde
📄 License
This extension is licensed under the MIT License.
| |