softgouni.blogg.se

Termial isnt working for visual studio for mac
Termial isnt working for visual studio for mac








termial isnt working for visual studio for mac

įor example, if your file is called index.html, just go to. Just open your preferred browser and go to.

termial isnt working for visual studio for mac

You can always open the browser of your choice and view the page directly. If for some reason Live Server still isn’t opening the page in your browser automatically, no worries. Here’s what the settings page looks like in Windows:

#TERMIAL ISNT WORKING FOR VISUAL STUDIO FOR MAC HOW TO#

The exact method for doing this can vary based on your operating system, so it’s best to search for how to do this if you aren’t sure. The next thing to try is to set the default browser for your operating system itself.

termial isnt working for visual studio for mac

Set the default browser for your operating systemĮven after telling Live Server which browser you want to use, it’s possible that it’s still not opening your page in that browser correctly. Note that you can also use "firefox", "safari", or any other browser as the value for the "" setting.įinally, save the settings.json file and try to run Live Server again. Scroll all the way to the bottom of the file, add a comma after the last setting, then paste in "": "chrome": Scroll all the way to the bottom of the file and paste in "": "chrome". This will open your VSCode settings.json file. 'Command Palette', the provided link, and the mention of Mac and Linux (Visual Studio only runs on Windows) all indicate this answer is for Visual Studio Code. It’s possible that the extension is working, but your system doesn’t have a default browser.Įven if you did set the default browser for your system, it wouldn’t hurt to let Live Server know which browser you’d like to use explicitly.įirst, open the Command Pallete with F1, then type in Preferences: Open Settings (JSON) and select that option. The question is about Visual Studio, not Visual Studio Code. Then, reopen VSCode and try again – go to the HTML file you want to view, right click, and select “Open with Live Server”. Then close VSCode, which will also stop all of the extensions you’ve installed. Sometimes the best you can do is start VSCode from scratch.įirst, save all of your work. But what if Live Server doesn’t open your browser and show your page like you expect? If this is happening to you, here are a few things you can try.










Termial isnt working for visual studio for mac