How to permanently enable Sublime Text 3 LiveReload plugin - plugins

I recently installed the LiveReload plugin for Sublime Text 3. I also installed the LiveReload Chrome extension. Everything works great, however there's one remaining headache. I need to go into package control in Sublime and enable the LiveReload Simple Reload plugin every time I open Sublime.
Is there a way to permanently enable Sublime Text 3 LiveReload plugins?

I installed: https://github.com/Grafikart/ST3-LiveReload
Next: preferences -> Packge Settings -> LiveReload -> Settings - User
Add:
{
"enabled_plugins": [
"SimpleRefresh"
]
}

{
"enabled_plugins": [
"SimpleReloadPlugin", "SimpleRefresh"
]
}

Related

How to make firefox developer edition as default browser for development [duplicate]

I am setting up my VS Code environment for the first time, but I can't figure out how to set Chrome as the default browser for the workspace.
Go to file-> preferences -> user settings -> search "By Default it will open your default favorite browser" set your browser.
The other StackOverflow questions regarding the browser, had to do with opening a specific file. Here are the steps to creating a tasks.json file in a brand new environment.
From the Tasks menu, Select 'Configure Tasks'
The entry field prompts you for 'Select a task to configure'
Choose 'Create tasks.json file from template'
Edit the file to include the following block:
{
"version": "0.1.0",
"command": "Chrome",
"windows": {
"command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
},
"args": ["${file}"]
}
Chrome can be launched by way of debugging your application. Within launch.json, the configurations[].serverReadyAction.action configuration was given a possible value of debugWithChrome in the VS Code February 2019 release. Note that this will also require you have the Debugger for Chrome extension installed. You will not receive a warning if the extension is not installed and you've configured launch.json to use debugWithChrome.
Note: Configuring launch.json with debugWithChrome will work even if you launch using CTRL+F5 to run the app without debugging.
Go to Settings -> Extensions -> Live Server Config -> Update Default Browser:
This Alternate Way helped me:)
GoTo-->Google Chrome-->Settings-->Default browser-->Set Google Chrome as default browser
The method of modifying tasks.json no longer works in newer versions of Visual Studio Code. The easiest way to be able to launch your code in a browser is to install the Open in Browser extension from the marketplace.
After it is installed and VS Code is reloaded, you can go to your code and press ALT + B to launch your application in your default browser or ALT + SHIFT + B to select the browser you want to use.
You can also right click and select these option from a drop down menu, but I mention this last because this currently does not work in some versions of VS Code.
Just a helper for the windows users, I just installed windows 10 again and I was wondering how do I set my vscode to open the server (web) using chrome instead of edge, so to do that you just have to configure your windows to use google chrome as default, you don't need to change anything in vscode, I hope this helps someone.
ps: normally you can go open browser you want to be default and setup the configuration. so in chrome you have to go to configurations and scroll down to default browser.
When you want to use your own browser using "Open with Live Server" without change OS globally configuration.
In Windows, Visual Studio Code (ver. 1.70.1 (July 2022)). Go to "File" > "Preferences" > "Settings"
Then select a tab, "User" tab if you want your desired browser for all your projects, or select "Workspace" tab or "ProjectName" tab for especified projects.
Then go to "Extensions" > "Live Server Config" > "Settings: Custom Browser" finally change the 'null' value selecting the browser of your preference from the list (apparently this list depends on installed browsers but i'm not sure).
search for local.testsettings on vscode on the search and for web tests, change the browser to chrome and apply.
The Live Server extension was not appearing for me on settings. However, I installed Open in Browser and typed "liveServer.settings.CustomBrowser" in settings and the extension appeared with a dropdown box in which I was able to change the default browser.
Hope this helps!
This may be old but I found something that could help.
First go to Settings/Apps/Default Apps. Set your browser as default.
Next go to VSCODE and go to File/Preferences/Settings/Extensions/LiveServerConfig
Then scroll to settings: CustomBrowser
Change it to your custom browser
Note- If the browsers don't show up on VSCODE then you need to set it to default in the settings.
You can adjust settings in your computer to open.HTML file extensions in chrome as a default browser:
for Example in PC windows:
go to Control Panel > Default programs > Associate a file type or protocol with a specific programs >HTML extension and choose Chrome.
In my case changing the default browser in the system settings of my pc did it.
None of the above works in my case(my version is August 2022 1.71) to make it work I went straight to **
File-->Preferences-->Settings-->Extensions-->Plugin open-in browser
** from there was a option which says Default set browser so I choose Brave as there is no ads in it while playing the video as chrome plays ads so for getting a proper feeling of using my self made Jarvis I used Brave.
Thanks
Click settings -> enter: default browser -> find: Open-in-browser:Default -> enter: Google Chrome
Google Chrome > Settings (left sidebar) > Default browser = Google Chrome
Just change your default web browser in your OS.
In Windows 10, you can search "default browser" then the wizard for changing it, will be appear.

Open in browser not working for visual studio code

I'm trying to use the open in browser extension (alt + b) for my visual studio code html, however it is not working even after attempting to uninstall and reinstall vsc again.
Extension id: techer.open-in-browser
Error code:
Open browser failed!! Please check if you have installed the browser chrome correctly!
Go to settings --> Extensions --> Open in Browser and set a default browser.(Chrome, for example)

How to permanently disable pylance toast

VSCode 1.51.1
MacOS 10.15.7
I'm using the MS python extension. When I open python source code I get this toast:
Pylance extension is not installed. Click Yes to open Pylance installation page.
The project I'm working on uses python 2, which pylance does not support. I clicked on No in the toast. When I open another python file I still get notified to installed pylance.
Is there a way to disable this toast?
The Python Language Server used is determined by the setting python.languageServer
The 2 possible values are:
"python.languageServer": "Pylance"
"python.languageServer": "Microsoft"
If you change the setting to "Microsoft" it stops messaging about Pylance.
The setting can be in the global settings.json or the Workspace .vscode/settings.json
Edit
Recently 2 more options have been added
"python.languageServer": "Jedi"
"python.languageServer": "JediLSP"

Uninstall FTP Sync from Visual Studio Code

Is there an easy way to uninstall the FTP-Sync package I have installed in VSC? There doesn't seem to be a remove feature
You can see all installed extensions and uninstall them using these steps:
Ctrl+P(Quick Open).
Enter >Extensions: Show Installed Extensions.
Click the "x" icon next to the extension you want to uninstall.
Here is how is looks:

Show active plugins in Sublime Text and disable them

I just installed sublime text 2 and was overwhelmed by the php plugins that I installed ALL of them. Now auto-complete is crazy, a million unnecessary suggestions and I dont remember which plugin does what or which ones I installed. Is there a way to see all active plugins for a particular file so I can disable some?
I'm not sure about the active plugin on a file part, but you can quickly go in and remove plugins that are installed by opening the Command Pallete (Cmd-Shift-P on Mac) and typing remove if you have Package Control installed.
You will see Package Control: Remove Package**
Once the list of installed plugins shows up you can click these and remove them and then test out your code.
You can do the reverse and quickly re-install the packages if something you needed was missing.
You probably already knew this so I am not sure that this will be helpful or not.
BTW: Sublime Text 3 Beta just came out and is available to licensed users. I have not done much with it yet, but it loads almost instantly.
There's no need to remove packages as packages can be simply disabled by using Package Control: Disable Package option in the Command Palette.
Click on Preferences > Package Settings > Package Control > Settings - User to see a list of the installed packages. It will looks something like this:
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Package Control",
"PyCover",
"Python 3",
"SublimeLinter",
"SublimeLinter-csslint",
"SublimeLinter-html-tidy",
"SublimeLinter-jshint",
"SublimeLinter-json",
"SublimeLinter-lua",
"SublimeLinter-pyflakes",
"SublimeLinter-pyyaml",
"SublimeREPL"
]
}
You can't disable packages, but you can remove them. Click on Preferences > Package Control and enter Package Control: Remove Package, then select the package.