Repository navigation
Description
Need to document how to get an OSS build into working condition as a daily driver.
Having this process documented in a central location would also be useful for package maintainers. (For example, if Ubuntu were to decide to start shipping vscode.)
Compared to the 0.10.8 (January) release of vscode, the oss build also includes vscode-api-tests, but it's removed in the release version, which makes sense.
The release version also includes jrieken.vscode-omnisharp, but the oss build doesn't. (Not really sure why. Probably an oversight?).
Aside from that, the only other difference I can find with the extensions is that the node-debug and mono-debug "extensions" in the oss build are just stub packages (node-debug-placeholder and mono-debug-placeholder).
As noted in issue #60, comment 6, the release ships with a different product.json. Some of the differences are cosmetic, others fill in service endpoints. Here are the most notable differences:
- The extensionsGallery property is set in the release build. Notable because it controls whether the "Install Extensions" item shows up in the command palette, and downstream packagers should set this to something appropriate if they want to enable extension downloads from within the product.
- The dataFolderName is changed. Notable because it controls where (some of) the user configuration and extensions are stored. If the VSCODE_DEV environment variable is set, it will use the directory name obtained by appending "-dev" to the dataFolderName value. (The vscode launch scripts for the oss build set VSCODE_DEV by default.)
- crash reporting and telemetry are enabled in the release build.
This isn't an exhaustive listing, but it's not meant to be. However, some document that includes this information needs to exist, and going ahead and mentioning it in this comment is a starting point.
Activity
Tyriar commentedon May 13, 2016
Andre Weinand (@weinand) any comment on why the debuggers don't work in oss?
weinand commentedon May 13, 2016
Daniel Imms (@Tyriar) the 'debuggers' just work fine in oss for 'normal' programs. This is not a debugger issue.
Deleted user (@ghost) The issue with the use case from above is that electron needs to be launched in a way that it behaves like VS Code and not like a generic Electron app. For this it is necessary to pass the VS Code workspace path as a first argument to the runtime. Here is a modified launch config for that case:
Additional remarks:
~/.vscode-oss-dev/extensionsor git clone the vscode-node-debug project into that location and build it there. Those extension will override VS Code's internal extensions.Benjamin Pasero (@bpasero) would it be possible to detect the use case from above and automatically pass the VS Code workspace path as the first argument? This would simplify the setup for extension developers who wants to selfhost on VS Code because they would not have to tweak their launch configs.
Clarifying README
Tyriar commentedon Aug 27, 2017
Closing this off, the requesters are all 👻