code-sync icon indicating copy to clipboard operation
code-sync copied to clipboard

Complete VSCodium suport

Open armarti opened this issue 3 years ago • 0 comments

If you are reporting an issue/bug please fill in your VSCode version, OS information, CodeSync version, and if you are on version 2.4.0 and above the CodeSync log from the CodeSync output channel. Thanks!

If you are requesting a feature feel free to clear this template.

VSCodium version: 1.57.1

OS information: macOS 12

CodeSync version: 2.7.3

CodeSync log

settings.ts
	2021-07-14T16:55:25.816Z - Creating settings with internal settings.json path and external extensions.json path: /Users/user/.vscode-oss/extensions/golf1052.code-sync-2.7.3/settings.json, extensions.json.
cs.ts
	2021-07-14T16:55:25.816Z - Checking settings
	2021-07-14T16:55:25.818Z - Setting external extensions path as /Users/user/Dropbox/Apps/VSCode-CodeSync-Extension/extensions.json.
	2021-07-14T16:55:25.818Z - Done checking settings.
	2021-07-14T16:55:25.818Z - External sync directory: /Users/user/Dropbox/Apps/VSCode-CodeSync-Extension
helpers.ts
	2021-07-14T16:55:26.227Z - Error while executing isCodeOnPath()
	2021-07-14T16:55:26.227Z - Command: code --version
	2021-07-14T16:55:26.227Z - Exception:
	2021-07-14T16:55:26.227Z - 	Name: Error
	2021-07-14T16:55:26.227Z - 	Message: Command failed: code --version
/bin/sh: code: command not found

	2021-07-14T16:55:26.227Z - 	Stacktrace: Error: Command failed: code --version
/bin/sh: code: command not found

	at checkExecSyncError (child_process.js:625:11)
	at Object.execSync (child_process.js:661:15)
	at Object.execSync (electron/js2c/asar_bundle.js:5:12059)
	at Object.isCodeOnPath (/Users/user/.vscode-oss/extensions/golf1052.code-sync-2.7.3/out/src/helpers.js:145:33)
	at /Users/user/.vscode-oss/extensions/golf1052.code-sync-2.7.3/out/src/extension.js:26:48
	at Generator.next (<anonymous>)
	at fulfilled (/Users/user/.vscode-oss/extensions/golf1052.code-sync-2.7.3/out/src/extension.js:5:58)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	2021-07-14T16:55:26.227Z - Defaulting to false

Issue:

Using this extension with VSCodium I get this error:

Code was not found on your path, CodeSync will be unable to import or export your extensions.

It looks like part of the VSCodium compat work was done in #44 and the last bit would be to apply similar changes as was done in #26, which is mostly this I believe.

armarti avatar Jul 14 '21 17:07 armarti