# VS Code - can't get Pinegrow Live Sync extension to work \[Fixed\]

**URL:** <https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905>\
**Category:** General\
**Created:** [April 9, 2023, 5:14pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905 "2023-04-09T17:14:35Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![dculp](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dculp](https://forum.pinegrow.com/u/dculp)\
**Post date:** [April 9, 2023, 5:14pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/1 "2023-04-09T17:14:35Z")

</div>

In VS Code 1.77.1 (2023-04-04) I have installed the Pinegrow extension per [https://pinegrow.com/docs/master-pinegrow/using-external-code-editors/visual-studio-code/](https://pinegrow.com/docs/master-pinegrow/using-external-code-editors/visual-studio-code/). However, I can’t get any live sync. Pinegrow only syncs from VS Code if I save the VS file. This operates the same way even without the extension.

Also, if I click my cursor somewhere in the VS Code file, Pinegrow doesn’t follow suit (also vice versa).

In the Pinegrow extension settings in VS Code, I have set the url to [http://127.0.0.1:40000](http://127.0.0.1:40000) (the same as Pinegrow). (The original VS Code extension setting was [http://localhost:40000](http://localhost:40000)). I have restarted both VS Code and Pinegrow but no luck.

Pinegrow 7.2, Windows 10

Thanks,  
Don C.

---

<div class="post-metadata">

**Author:** ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Post date:** [April 10, 2023, 2:53am UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/2 "2023-04-10T02:53:48Z")

</div>

Hey Don, I can confirm the same issue on Windows 11 even though it works as expected in macOS. Apparently Windows does some silly stuff (surprise!) that is making this difficult for live sync to work properly. Matjaz is aware of the issue and I sent him a video of it happening to me a day or two ago.

---

<div class="post-metadata">

**Author:** ![tytusie](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/tytusie/32/6914_2.png) [@tytusie](https://forum.pinegrow.com/u/tytusie)\
**Post date:** [April 10, 2023, 1:36pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/3 "2023-04-10T13:36:12Z")

</div>

i got the same issue, just out of curiosity ill try the old PG release on a win8 machine

---

<div class="post-metadata">

**Author:** ![kalsson1](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kalsson1](https://forum.pinegrow.com/u/kalsson1)\
**Post date:** [April 13, 2023, 5:01pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/4 "2023-04-13T17:01:21Z")

</div>

I had the same problem a little more than a month ago and I solved it by backing up a version in VS Code and that helped.

So I’m running the latest Pinegrow release and one version back of the Pinegrow extension in VS Code on my Windows 11 with no problems.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![kalsson1](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kalsson1](https://forum.pinegrow.com/u/kalsson1)\
**Post date:** [April 13, 2023, 5:08pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/5 "2023-04-13T17:08:08Z")

</div>

Just to be very clear, I didn’t changed my VS Code version, I changed the Pinegrow add-on version in VS Code.

---

<div class="post-metadata">

**Author:** ![dculp](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dculp](https://forum.pinegrow.com/u/dculp)\
**Post date:** [April 13, 2023, 6:09pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/6 "2023-04-13T18:09:14Z")

</div>

Yes, backtracking the Pinegrow Live Sync extension in VS Code from version 0.0.8 to 0.0.7 worked for me.

---

<div class="post-metadata">

**Author:** ![kalsson1](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kalsson1](https://forum.pinegrow.com/u/kalsson1)\
**Post date:** [April 14, 2023, 3:31pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/7 "2023-04-14T15:31:36Z")

</div>

I’m glad to hear that mate. 👍

---

<div class="post-metadata">

**Author:** ![tytusie](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/tytusie/32/6914_2.png) [@tytusie](https://forum.pinegrow.com/u/tytusie)\
**Post date:** [April 17, 2023, 3:32pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/8 "2023-04-17T15:32:56Z")

</div>

can i download the older version from somewhere or it’s something you have to have downloaded back then? of so, I don’t be gla dto have a copy of the older plugin if you could share it with me.

---

<div class="post-metadata">

**Author:** ![dculp](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dculp](https://forum.pinegrow.com/u/dculp)\
**Post date:** [April 17, 2023, 3:55pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/9 "2023-04-17T15:55:33Z")

</div>

tytusie –

Assuming that you have already installed Pinegrow Live Sync –

1. In VS Code access extensions
2. Under “Update” select “Ignore updates”.
3. Right click on the adjacent tool icon; then “Install another version …”; then 0.0.7

---

<div class="post-metadata">

**Author:** ![tytusie](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/tytusie/32/6914_2.png) [@tytusie](https://forum.pinegrow.com/u/tytusie)\
**Post date:** [April 17, 2023, 5:40pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/10 "2023-04-17T17:40:34Z")

</div>

great, i’ll do that tonight

Thank you, hope it ll work

---

<div class="post-metadata">

**Author:** ![vanheber](https://avatars.discourse-cdn.com/v4/letter/v/da6949/32.png) [@vanheber](https://forum.pinegrow.com/u/vanheber)\
**Post date:** [April 28, 2023, 8:39pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/11 "2023-04-28T20:39:30Z")

</div>

I have the same issue with latest vs code extension. Downgrade solve for now!

---

<div class="post-metadata">

**Author:** ![tytusie](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/tytusie/32/6914_2.png) [@tytusie](https://forum.pinegrow.com/u/tytusie)\
**Post date:** [April 29, 2023, 3:32am UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/12 "2023-04-29T03:32:03Z")

</div>

True story - i confirm, finally it works and it does sync live any changes you do in the code are reflected in the software.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [May 1, 2023, 3:10am UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/13 "2023-05-01T03:10:33Z")

</div>

The issues with the VS Code extension come from url mapping between Pinegrow and VS Code on Windows. There, URLs are represented slightly differently and then the extension doesn’t recognize that the document is open in Pinegrow.

I just updated the VS Code extension to 0.0.9 with improved fuzzy logic for mapping urls, that should ignore slight differences in URL formatting.

Also, Settings now have the Enable debug checkbox that when enabled, outputs information to the debug console. We can use this for troubleshooting any issues. There was also a bug that caused endless “File was saved in the external editor” messages in Pinegrow when the document was saved in VS Code.

Please try to update the extension to 0.0.9 and let me know if it works better now. If it doesn’t work, enable the Debug mode:

 ![vsc_pg_debug](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/54c96ae1cec1a6790ed04dd5dbb917b00d85521e.jpeg)

And then send me the output from the **Developer Debug console** :

 ![vsc_pg_debug_console](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/1/1433e07657a2aa8054e5b0515dca6c455544a4e3.jpeg)

Thanks! I hope we’ll finally get the extension to work correctly in all situations.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [May 5, 2023, 1:59am UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/14 "2023-05-05T01:59:06Z")

</div>

@dculp @tytusie @kalsson1 @vanheber I fixed some other issues in the last few days (thanks @adamslowe for testing it) and it appears to be working much better now. Please give the latest version 1.0.11 a try and let me know if it works.

---

<div class="post-metadata">

**Author:** ![kalsson1](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kalsson1](https://forum.pinegrow.com/u/kalsson1)\
**Post date:** [May 15, 2023, 8:29am UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/15 "2023-05-15T08:29:31Z")

</div>

Hey @matjaz !

I’ve had the opportunity to test the latest update now and it’s working great so far. Thank you for your work.

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [May 20, 2023, 11:28am UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/16 "2023-05-20T11:28:45Z")

</div>

@matjaz I’m still only able to use v0.07, the newer versions don’t sync (Windows 10). I’ve sent several emails over the last 3 months but nobody is responding. I’ll send another email today as well.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [May 20, 2023, 12:02pm UTC](https://forum.pinegrow.com/t/vs-code-cant-get-pinegrow-live-sync-extension-to-work-fixed/7905/17 "2023-05-20T12:02:48Z")

</div>

@jonroc please provide debug information from v0.0.11, as described above in this topic.

> [@jonroc](#):
>
> I’ve sent several emails over the last 5 months but nobody is responding.

Sorry about that. VS Code integration is an open issue that we are trying to improve, as evident from the many extension updates. The last update fixed the issue for many users. The debug info should help in troubleshooting your situation.
