Skip to main content
Participant
January 30, 2020
Question

Run the code in the browser

  • January 30, 2020
  • 2 replies
  • 357 views

Hi again,I installed some extensions for ColdFusion in Visual Studio Code, but how can I run the code from a file in the Browser? I can't find that command or it doesn't seem to work...

This topic has been closed for replies.

2 replies

WolfShade
Legend
January 30, 2020

I hate to say this, and I really don't mean to sound arrogant, but.. your query is vague.

 

What extensions for VSC did you install?  Are they CF support extensions that will offer suggestions?  Like you type "CFO" and one of the options to appear in a list is CFOUTPUT.  What type of extensions are they?

 

And what do you mean by "run the code from a file in the browser"?

 

V/r,

 

^ _ ^

Community Expert
January 30, 2020

I don't know enough about VSCode to know if it gives you a way to automatically do this. But in general, you place files in your web server's directory, then you open them within a browser window. So, for example, if your web server's root directory is c:\inetpub\wwwroot, you'd open the browser to http://localhost/ or whatever the correct URL is to run those files.

 

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC