Skip to main content
Community Manager
August 25, 2022
固定質問

Announcing ColdFusion Builder Extension for VS Code

  • August 25, 2022
  • 返信数 4.
  • 2530 ビュー

We are pleased to announce the availability of ColdFusion Builder Extension for Visual Studio Code. Needless to say, we are as excited as you are to release this plugin. Now you'll be able to edit and validate code, manage files, projects, and servers, debug, and scan for security vulnerabilities, directly on Visual Studio Code.

What's in it for me

A lot, actually. The all-new Adobe ColdFusion Builder extension for VS Code helps developers to edit and validate code, manage files and projects, and debug and scan for security vulnerabilities. 

Why do I need this extension?

Integrate the Adobe ColdFusion Builder Extension on your VS Code to: 

  • Automate repetitive tasks and navigate code for a smoother and faster process.
  • Enjoy built-in support for IntelliSense code completion, better semantic code understanding, and code refactoring.
  • Identify security vulnerabilities and maintain the integrity of your code.
  • Manage your work with extensions, remote project support, integrated server management, a log viewer, and more.
  • Customize every feature to your liking by creating shortcuts, easily formatting and reusing code, and using powerful extensions to better your best.

What do I get

Code assist

Accelerate your application development with intelligent code assist for CFML, CFScript, HTML, JavaScript, and CSS. 

Security code analyzer

Use the security code analyzer to scan existing application code to automatically detect vulnerabilities and potential security breaches. Identify the exact vulnerable code, type of vulnerability and severity level and mitigate the vulnerability with the suggestion provided.

Debugger

Reduce testing time and hard-to-fix bugs with integrated debugging to control the execution of the code and observe the proceedings. Launch and step through applications directly within Visual Studio for analysis of the code.

Workspace viewer- Project Manager

Projects contain resources such as ColdFusion components, interfaces, and CFML pages that you can use to develop ColdFusion applications. 

You must create a workspace before creating a project if there is no workspace opened. If the workspace is already created and opened, the project will be tagged under that.

The workspace stores your projects and other metadata. The preferred workspace location is the ColdFusion document root.

RDS support and file viewer

Manage access to files and databases on a server hosting ColdFusion. The RDS File View displays the files and directories on both remote and local servers. The RDS Data View displays the data sources configured in a remote server. 

When you add a ColdFusion server instance in ColdFusion Builder, it automatically becomes available in RDS File View and RDS Data View.

Code Profiler

Identify performance bottlenecks, memory issues, and so on, with the help of Performance Monitoring Toolset, and import the data in Visual Studio.

Service browser

Quickly access web services exposed by the ColdFusion server from Visual Studio.

Code refactoring

Code refactoring is the process of improving the source code of a program without changing the overall result. Generally, code refactoring improves code readability and maintainability. 

The extension supports various refactoring techniques like renaming, searching, and previewing of CFCs, CFMs, and UDFs at the project and workspace levels.

 

For more information, see:

このトピックへの返信は締め切られました。

返信数 4

EddieLotter
Inspiring
December 2, 2022

This VS Code extension works for debugging in a local development environment, which I use. I have colleagues that use a remote CF server for development and I noticed that the "Remote Server Settings" fields were not documented.

I opened bug report CF-4215640 and some of the fields have now been briefly documented, but not all, and the report has been closed as fixed.

 

The remote server port setting appears to get ignored and fails when trying to initiate a debugging session. I added a note to this effect on the bug report but it may get ingored because it is a closed issue.

 

Before I open a new bug report I would be interested to know if anyone has managed to get debugging working when CF is running on a different machine than VS Code.

Participant
November 17, 2022

It's unclear how to setup this extention if you use a docker container to run Cf locally.

Community Expert
November 17, 2022

RDS is required for CF Builder's functionality. You'll need to enable this in your Docker environment variable configuration. You should be able to change how Docker launches the image so that RDS will be enabled. The specific environment variable, I think, is:

 

SILENT_ENABLE_RDS=false

 

which you'll need to change to

 

SILENT_ENABLE_RDS=true

 

You can probably do this by running this from your command prompt:

 

docker container run -dt -e acceptEULA=YES -e SILENT_ENABLE_RDS=true -e password={password} adobecoldfusion/coldfusion:latest

 

You might find this link useful, although it doesn't talk about RDS directly. It does talk about how to view Docker environment variables.

 

https://hub.docker.com/r/adobecoldfusion/coldfusion

 

Note: I don't know much about CF Docker containers really. I hope this helps!

 

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC
Charlie Arehart
Community Expert
Community Expert
November 18, 2022

Dave, I can confirm that sadly the properties for the cf silent installer feature DON'T get picked up by the cf images if used as env vars. That would be cool, but I tested and they do not.

 

That said, there are 3 built-in ways (with the images) to configure any admin setting, from auto-importing a CAR file, to auto-executing a setup script cfm file (calling the admin api, for instance), to the new cf2021 image's ability to import settings from a json file created with cf2021's cfsetup tool. (Commandbox images for cf and Lucee offer instead a means to import json files created via its cfconfig module.)

 

All that said, enabling rds would be just the first step of a long road to leverage a docker image from within the vscode cf builder extension. I'll offer more thoughts to James' question in a different reply, so it's not buried here. 

/Charlie (troubleshooter, carehart. org)
Community Expert
August 27, 2022

I'm looking forward to using this! I was just not a big Eclipse fan. VS Code is much more responsive and still has the functionality I need. So, thanks!

 

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC
Saurav_GhoshCommunity Manager作成者
Community Manager
August 28, 2022

Thank you Dave. Let us know about your experience with the extension. Lokking forward to hearing from you.

Jim Priest
Known Participant
August 26, 2022

If you'd like to see Adobe ColdFusion Builder Extension on your VS Code  supported on Linux please vote here: https://tracker.adobe.com/#/view/CF-4214667