Skip to content
logo-mike
Menu
  • Home
  • ASP NET Core
  • ASP NET 5
  • ASP NET 7
  • Javascript
  • C#
  • Other
Menu
Browser to Task Runner

How to Add a Browser to Task Runner in Visual Studio Code

Posted on August 10, 2022

Once you start using Visual Workshop Code, you’ll love it because it’s fast and really customizable. It’s not advertised as an IDE, but I don’t think it will be long before people think about it.

I copy websites and try a lot too. I want to create a simple website and press F5 to run it. This is an overview to get it done.

If you are going to run any kind of task launcher, you need to open the code in a folder as there is data that the code needs to run. If you don’t see the option to create or run tasks after that, be sure to open the folder.

  • Open the code of the visual workshop
  • Open the folder
    If you are going to start your adventure with Code Rock Celebrity, do it from the command line. 
  • Press Ctrl + Shift + P to view the command diagram.
  • Type ctr– This will give you the command “Configure Task Launcher“.
  • You will get the default task.json file located in ‘. Settings folder.
    Thanks to the code, it keeps the folder structure clean there.
  • Remove it and replace it with;.
{  
    "version": "0.1.0",  
    "command": "chrome",  
    "windows": {  
        "command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"  
    },  
    "args": ["index.html"]  
}  

Or an IE version;

{  
    "version": "0.1.0",  
    "command": "IE",  
    "windows": {  
        "command": "explorer.exe"  
    },  
    "args": ["index.html"]  
}  
  • Now just create your index.html page.
  • Press Ctrl + Change + B to create the option and go to your website.

Go ahead and code as well.

READ  5 million Indian programmers get work done with artificial intelligence

Recent Posts

  • Visual Studio vs. Visual Studio Code: How to Choose
  • JetBrains Developer Report: TypeScript is the fastest growing programming language
  • Bitcoin requires a little change to unlock its programmability
  • The popularity of online dating platforms for naked girls has been on the rise across various industries and sectors
  • Amazon AI Wake-Up – Free Code Wizard
  • 5 million Indian programmers get work done with artificial intelligence
  • School health program has a positive impact on students
  • How to Build a Cryptocurrency Trading Platform: Your Detailed Guide
  • Privacy Policy
  • Terms and Conditions
  • Cookies Policy
  • Contact Us