iann0036 / cloud9-sync

Live Sync for AWS Cloud9 - Synchronize your VS Code workspace with the AWS Cloud9 service.
https://marketplace.visualstudio.com/items?itemName=iann0036.live-share-for-aws-cloud9
77 stars 5 forks source link

Can you use "vscode intellisense"? #31

Open igorjunio2015 opened 4 years ago

igorjunio2015 commented 4 years ago

My idea of going to VSCODE was to use its many features, like Intellisense, for autocompletions and autosuggestions.

But it doesn't work natively, I understand that it's live mode, but would it be possible?

image

iann0036 commented 4 years ago

Hi Igor,

I think this would require the files to be locally available in order for VS Code to scan the other files for relationships (and this would be too bandwidth intensive / latent to do over the wire).

If you synchronise the files locally instead of performing the "Add to Workspace", this might work but I haven't tested.

igorjunio2015 commented 4 years ago

Sorry for my ignorance, but how could I sync locally?

iann0036 commented 4 years ago

When you first connect within a workspace, after connect you should receive an option to sync "None", "Download-Only" or "Bidirectional". Picking either of the last two should effectively download the remote files to your local workspace.

To amend this after the fact, hit F1 and type Preferences: Open Settings (UI) and navigate through Extensions > Live Sync for AWS Cloud9 and set the Sync Strategy.

igorjunio2015 commented 4 years ago

@iann0036 when I connect, the message to choose does not appear.

It also doesn't have the option mentioned "Sync Strategy"

image

!Edit: I informed in the configuration Json file, I will test and talk below.

image

igorjunio2015 commented 4 years ago

Lol @iann0036 bidirectional synchronization worked, however ... The download is very slow (slug)

image