It might be hard to relate to but VSCode (a code editor) saves all the installed extensions locally in Users folder with the name of .vscode/extensions. Any one can copy the folder and paste it on other system with VSCode installed to have the same extensions (on Windows).
Is there such a folder for Firefox browser add-ons?
I have found the path on windows. [User]\AppData\Roaming\Mozilla\Firefox. There should be three folders each having two extensions related folders where all the extensions are saved.
Related
I'm on a company laptop and appdata has restricted storage space. An initial google showed there isn't really any settings to move directories. I was thinking of simply copying relevant directories i.e. \AppData\Roaming\Code to somewhere else, then creating a hard symbolic link (junction) with the same name and then point it to the same location
i.e. in command line:
mklink /J C:\Users\me\AppData\Roaming\Code C:\myFolder\Code
I played around with moving the whole appdata folder (right click on roaming/local/locallow then click on properties then location tab then change directory). I managed to only move half the files over. it seemed to work until i restarted and it caused chaos.
I don't want the same thing to happen again with vscode. (that said I haven't tried using a symbolic link for appdata
what is everyone's advice? can i create a symbolic link and have everything work fine? or will i cause more chaos again? if it works for vscode, i'd like to do the same for appdata too
Portable Mode in Visual Studio Code
You can use Portable Mode: After unzipping the VS Code download, simply create a data folder within Code's folder
After first launch 2 folders will be generated inside:
..data\extensions
..data\user-data
Then you can copy your company folders with files from
%APPDATA%\Code\User\
Then copy the extensions directory to data:
%USERPROFILE%\.vscode\extensions
Portable mode is not supported if you install VS Code. It is only supported if you get the ZIP download.
Symbolic links should work, but you can also tell VS Code to use a custom extension and user setting location with the --extensions-dir and --user-data-dir flags respectively
$ code --extensions-dir "/User/me/vscodeExtensions" --user-data-dir "/User/me/vscodeData"
There are some key limitations to this approach, such as extension updates not working. We are tracking support for a truly portable VS Code here: https://github.com/Microsoft/vscode/issues/329
I am developing a Chrome extension and sharing it with colleagues to test/use. It turns out that if I share my extension as a zipped file and send it to them for testing, those using Windows OS and who uncompress the file there where they got it (Downloads folder) can't see it listed in the file explorer dialog after clicking the "Load unpacked extension..." under chrome//extensions. If they move the extracted folder elsewhere (i.e. Desktop) they can see it without problem.
Is this normal? I haven't been found any reference to such problem anywhere.
Thanks!
How can I permanently install my (toy) WebExtension without having to publish it via Mozilla Addons (AMO), when my extension is just a small group of CSS hacks not meant to be published.
The other option, installing it only permanently would be cumbersome to do everytime I need the extension.
EDIT:
To add further input, the page I've linked to says
Zip up your extension's files Edit
At this point your extension will consist of a directory containing a
manifest.json and any other files it needs - scripts, icons, HTML
documents, and so on. You'll need to zip these into a single file for
uploading to AMO.
One trick is that the ZIP file must be a ZIP of the extension's files
themselves, not of the containing directory.
and also
Packaged extensions in Firefox are called "XPI files", which are just
ZIP files with a different extension.
You don't have to use the XPI extension when uploading to AMO.
In about:addons you can install from file, but whatever way I try to package my extension I get:
even after observing and trying the quoted passage above.
The temporary installation works fine.
You can get your extension signed by AMO but leave it unlisted or you can use one of the Firefox builds that allow signing to be disabled (Nightly or unbranded builds)
You can sign your extension by AMO without publish it.
Then just put an xpi file into
%appdata%\Mozilla\Extensions{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
the browser will accept it.
I use Sublime Text 3 in my company and I want to export all the settings, including packages and whatever, to use the same configurations in Sublime Text 3 I have at home. How can I do this?
PS.: I use Windows 8
The best way is to sync the User directory, there are multiple available ways to do this - dropbox, git and manual ways.
Installed packages are registered in Package Control.sublime-settings, which is located in the user folder as well, thus, it does not require you to sync anything besides that. A pretty good guide to syncing can be found here.
You also may wish to check out this package.
For me (Windows installation) transferring all the content from old installation - AppData\Roaming\Subime Text 3, to new installation - AppData\Roaming\Subime Text 3, does the job. All the packages and UI settings are transferred and are working correctly.
None of the manual efforts are needed now (I think). Both sublime text (ver 3) and visual studio code (if anyone cares) have extensions that do this for us.
For VS Code -
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
For ST3 -
https://packagecontrol.io/packages/Sync%20Settings
With a few clicks like generating token and configuration, one should be able to easily port the settings from any machine (Win, OSX, Linux) to any machine.
You can try this plugin PackageSync. It can package your settings and packages into a zip or 7z file, then, you can import them on another machine.
As an aside an easy way to locate the 'User' or 'Sublime text {2/3/etc}' folder regardless of OS is to:
Open go-to-anything and just type: 'us'
From the available options select 'Preferences: Package Control Settings - User’ to open that file.
Right click on the file and make the selection to open the containing folder (Mac: reveal in finder)
Navigate back up to the parent folder Sublime Text 3 (or whatever version number you are on)
Copying this folder and replacing the Sublime Text 3 folder in a fresh Sublime install with this one should install all packages and replicate any other settings you have.
source
"If you want to sync settings across machines, the best way to do so is to just sync the Packages\User\ folder. This contains all customized settings, and if you are using Package Control, it includes a list of all installed packages. If Package Control sees that an installed package is not present on the machine, it will automatically install it the next time Sublime Text starts."
PS: if I am not mistaken the author of this post is the key developer of sublime.
I'm trying to develop a Firefox extension. I've created a new profile, and I copy the folder of my extension to the extensions folder, with Firefox not running. When I run Firefox, I see how the folder of my extension disappears from the extensions folder, and Firefox opens without the extension. I've also tried to make a link, a text file called exactly same than the extension's em:id, with the path of the folder inside. However, the same thing happens every time - the file disappears when starting Firefox. I'm working on Firefox 14, Mac OS X 10.8 Mountain Lion.
You need to first install the extension into firefox. For that, make xpi file of your source, install it to firefox and restart it. Once the extension is installed, you can start editing source files inside the extension folder. Before making the xpi, make sure that your install.rdf have <em:unpack>true</em:unpack> to force firefox to unpack your xpi. Unpacking is not recommended and may cause performance issues.
My preferred method is to use Firefox extension proxy file where you can keep your source code anywhere and still enjoy the same benefit.