Open SalvorinFex opened 6 years ago
Did you get this error right after you installed the extension? Does restarting VSCode help at all?
This extension has been running for a while and restarting VS Code doesn't affect the error mentioned.
Did this work in the past for you?
Do any other commands work right now?
I have not tried any codesync commands before and of the ones I just tried they all say, 'not found'
EDIT; the dropdown list shows them when I first start typing: codesync
they just don't work.
Is T: a different drive?
Could you try setting up CodeSync on the same drive that VSCode is installed?
If VSCode is installed on T: as well try setting up CodeSync on the same drive as your OS install.
T: is a network share, on my domain. I could try one of my cloud drives though since that's available on my different computers as well.
Is there an easier way to change that location other than to uninstall and reinstall to get that prompt?
Open the command prompt and look for CodeSync: Set external sync path
then reload the window.
That says command not found too
and on at least 2 of my systems.
Ok, my thinking is that remote drives don't work for some reason. I'll set one up and take a look at what's going on.
Ok try reinstalling the extension and setting the path. The commands don't activate until CodeSync loads and I'm guessing an exception is being thrown while it's loading which is preventing you from using any commands.
Alright, will do.
It appears the same thing is happening, with this local disk path: D:\Cloud Storage\OneDrive\CodeSync on both systems.
Ok could you try installing this version of CodeSync: https://1drv.ms/u/s!AnkZumdCoH3t0fw9F44SriLJtaUtRw I've wrapped the startup code in a try catch and any exception should be logged.
Here are the instructions on installing an extension from a VSIX
Post the log here when you've tried this version.
Okay, this is strange...I am able to use those commands now. I changed the codesync directory and exported settings.
"What did you do Willis?"
Nothing that should have caused this issue changed between 2.4.0 and this version, I guess a reinstall helped.
Try your original location again. If that works I guess the issue is solved.
yeah, I just tried my T: and that still doesn't work. I forgot how to get the output errors again.
ALright, more strangeness, It keeps not working on my T: drive then I close Code and reopen and things work, but it has changed my codesync path to a directory on C: drive
C:\Users\USER\OneDrive\Apps\code-sync
The log is under the Output tab I believe. Ctrl+Shift+U opens it.
OKay, got that but nothing is showing up in there when that command not found
shows up.
Is CodeSync selected in the output window?
settings.ts 2017-10-14T19:38:16.613Z - Creating settings with internal settings.json path and external extensions.json path: C:\Users\kroesener.vscode\extensions\golf1052.code-sync-2.5.1\settings.json, extensions.json. helpers.ts 2017-10-14T19:38:17.075Z - Found code version: 1.17.1 1e9d36539b0ae51ac09b9d4673ebea4e447e5353 . cs.ts 2017-10-14T19:38:17.077Z - Checking settings 2017-10-14T19:38:17.110Z - Setting external extensions path as T:\CodeSync\extensions.json. 2017-10-14T19:38:17.114Z - Done checking settings. 2017-10-14T19:38:17.114Z - External sync directory: T:\CodeSync 2017-10-14T19:38:17.123Z - Importing settings local-settings.ts 2017-10-14T19:38:17.143Z - Modifying settings with local settings. 2017-10-14T19:38:17.143Z - Saving imported settings. cs.ts 2017-10-14T19:38:17.166Z - Finished importing settings. 2017-10-14T19:38:17.168Z - Importing keybindings 2017-10-14T19:38:17.171Z - Failed to import keybindings. Could not find keybindings.json at T:\CodeSync\keybindings.json. Giving up. 2017-10-14T19:38:17.172Z - Importing snippets 2017-10-14T19:38:17.175Z - Failed to import snippets. Could not find snippets directory at T:\CodeSync\snippets. Giving up. 2017-10-14T19:38:17.175Z - Importing extensions helpers.ts 2017-10-14T19:38:17.185Z - Installing extension: DavidAnson.vscode-markdownlint... 2017-10-14T19:38:18.082Z - Extension was already installed. 2017-10-14T19:38:18.082Z - Installing extension: HookyQR.beautify... 2017-10-14T19:38:18.945Z - Extension was already installed. 2017-10-14T19:38:18.945Z - Installing extension: KnisterPeter.vscode-github... 2017-10-14T19:38:19.759Z - Extension was already installed. 2017-10-14T19:38:19.759Z - Installing extension: McCarter.start-git-bash... 2017-10-14T19:38:20.489Z - Extension was already installed. 2017-10-14T19:38:20.489Z - Installing extension: Shan.code-settings-sync... 2017-10-14T19:38:21.128Z - Extension was already installed. 2017-10-14T19:38:21.128Z - Installing extension: TwentyChung.elixir... 2017-10-14T19:38:21.671Z - Extension was already installed. 2017-10-14T19:38:21.671Z - Installing extension: Wosi.omnipascal... 2017-10-14T19:38:22.354Z - Extension was already installed. 2017-10-14T19:38:22.354Z - Installing extension: abusaidm.html-snippets... 2017-10-14T19:38:22.939Z - Extension was already installed. 2017-10-14T19:38:22.939Z - Installing extension: alefragnani.Bookmarks... 2017-10-14T19:38:23.639Z - Extension was already installed. 2017-10-14T19:38:23.639Z - Installing extension: alefragnani.delphi-pack... 2017-10-14T19:38:24.234Z - Extension was already installed. 2017-10-14T19:38:24.234Z - Installing extension: alefragnani.delphi-themes... 2017-10-14T19:38:24.957Z - Extension was already installed. 2017-10-14T19:38:24.957Z - Installing extension: alefragnani.numbered-bookmarks... 2017-10-14T19:38:25.674Z - Extension was already installed. 2017-10-14T19:38:25.674Z - Installing extension: alefragnani.pascal... 2017-10-14T19:38:26.422Z - Extension was already installed. 2017-10-14T19:38:26.422Z - Installing extension: austin.code-gnu-global... 2017-10-14T19:38:27.112Z - Extension was already installed. 2017-10-14T19:38:27.112Z - Installing extension: bibhasdn.git-easy... 2017-10-14T19:38:27.633Z - Extension was already installed. 2017-10-14T19:38:27.633Z - Installing extension: bokuweb.vscode-git-grep... 2017-10-14T19:38:28.207Z - Extension was already installed. 2017-10-14T19:38:28.207Z - Installing extension: codezombiech.gitignore... 2017-10-14T19:38:28.707Z - Extension was already installed. 2017-10-14T19:38:28.707Z - Installing extension: dbankier.vscode-instant-markdown... 2017-10-14T19:38:29.271Z - Extension was already installed. 2017-10-14T19:38:29.271Z - Installing extension: donjayamanne.githistory... 2017-10-14T19:38:29.792Z - Extension was already installed. 2017-10-14T19:38:29.792Z - Installing extension: donjayamanne.python... 2017-10-14T19:38:30.340Z - Extension was already installed. 2017-10-14T19:38:30.340Z - Installing extension: eg2.vscode-npm-script... 2017-10-14T19:38:30.876Z - Extension was already installed. 2017-10-14T19:38:30.876Z - Installing extension: emmanuelbeziat.vscode-great-icons... 2017-10-14T19:38:31.424Z - Extension was already installed. 2017-10-14T19:38:31.424Z - Installing extension: felipecaputo.git-project-manager... 2017-10-14T19:38:31.921Z - Extension was already installed. 2017-10-14T19:38:31.921Z - Installing extension: golf1052.code-sync... 2017-10-14T19:38:32.485Z - Extension was already installed. 2017-10-14T19:38:32.485Z - Installing extension: hnw.vscode-auto-open-markdown-preview... 2017-10-14T19:38:33.020Z - Extension was already installed. 2017-10-14T19:38:33.020Z - Installing extension: jasonn-porch.gitlab-mr... 2017-10-14T19:38:33.567Z - Extension was already installed. 2017-10-14T19:38:33.567Z - Installing extension: magicstack.MagicPython... 2017-10-14T19:38:34.140Z - Extension was already installed. 2017-10-14T19:38:34.140Z - Installing extension: mattlott.copy-github-url... 2017-10-14T19:38:34.656Z - Extension was already installed. 2017-10-14T19:38:34.656Z - Installing extension: mitaki28.vscode-clang... 2017-10-14T19:38:35.209Z - Extension was already installed. 2017-10-14T19:38:35.209Z - Installing extension: mjmcloug.vscode-elixir... 2017-10-14T19:38:35.738Z - Extension was already installed. 2017-10-14T19:38:35.738Z - Installing extension: moozzyk.Arduino... 2017-10-14T19:38:36.307Z - Extension was already installed. 2017-10-14T19:38:36.307Z - Installing extension: ms-vscode.cpptools... 2017-10-14T19:38:36.851Z - Extension was already installed. 2017-10-14T19:38:36.851Z - Installing extension: ms-vscode.csharp... 2017-10-14T19:38:37.412Z - Extension was already installed. 2017-10-14T19:38:37.412Z - Installing extension: ms-vscode.mono-debug... 2017-10-14T19:38:37.938Z - Extension was already installed. 2017-10-14T19:38:37.938Z - Installing extension: ms-vscode.sublime-keybindings... 2017-10-14T19:38:38.530Z - Extension was already installed. 2017-10-14T19:38:38.530Z - Installing extension: ms-vscode.Theme-MarkdownKit... 2017-10-14T19:38:39.105Z - Extension was already installed. 2017-10-14T19:38:39.105Z - Installing extension: polunzh.start-git... 2017-10-14T19:38:39.614Z - Extension was already installed. 2017-10-14T19:38:39.614Z - Installing extension: robertohuertasm.vscode-icons... 2017-10-14T19:38:40.165Z - Extension was already installed. 2017-10-14T19:38:40.165Z - Installing extension: spywhere.mark-jump... 2017-10-14T19:38:40.689Z - Extension was already installed. 2017-10-14T19:38:40.689Z - Installing extension: steveyin.arduino-vscode... 2017-10-14T19:38:41.241Z - Extension was already installed. 2017-10-14T19:38:41.242Z - Installing extension: streetsidesoftware.code-spell-checker... 2017-10-14T19:38:41.748Z - Extension was already installed. 2017-10-14T19:38:41.748Z - Installing extension: sysoev.vscode-open-in-github... 2017-10-14T19:38:42.335Z - Extension was already installed. 2017-10-14T19:38:42.335Z - Installing extension: thonymg.Darkplusix... 2017-10-14T19:38:42.849Z - Extension was already installed. 2017-10-14T19:38:42.849Z - Installing extension: tht13.python... 2017-10-14T19:38:43.458Z - Extension was already installed. 2017-10-14T19:38:43.458Z - Installing extension: wesbos.theme-cobalt2... 2017-10-14T19:38:43.991Z - Extension was already installed. 2017-10-14T19:38:43.991Z - Installing extension: yanz.markdown-authoring... 2017-10-14T19:38:44.555Z - Extension was already installed. 2017-10-14T19:38:44.555Z - Installing extension: ziyasal.vscode-open-in-github... 2017-10-14T19:38:45.128Z - Extension was already installed. cs.ts 2017-10-14T19:38:45.128Z - Finished importing extensions. 2017-10-14T20:00:37.552Z - External sync path is now T:\CodeSync.
So, I just set the directory to the D: drive, then tried export settings
and got this, nothing else in the Output box
Some good news, I was able to load a blank, ie no extensions, Code install and install the 2.5.1VISX file and import the list from the T: drive.
This might mean that a fresh install is what I needed, but most people won't want to do that. The command palette also seems to be working fine, so I going to try the same process on my laptop next.
I tried setting up a network share and everything worked fine for me.
I was able to set up my laptop and another desktop and just tried a hunch after Code loaded I tried the codesync set external sync path
and it failed, I then waited about a minute and tried again and it worked fine. Could there be a timing thing where I am not giving Code enough time to load everything, before trying the import
& export
and various other items?
If you are reporting an issue/bug please fill in your VSCode version, 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.
VSCode version: 1.17.0 CodeSync version: 2.4 CodeSync log:
Issue: I tried
codesync: export settings
but it said no command was found, in the upper bar of VSCode. Mylocal-settings.json
is empty and I wanted to check the extensions being exported on my systems.Not sure if this is a new VSCode version issue or not, as I never tried it before.