tabnine-vscode icon indicating copy to clipboard operation
tabnine-vscode copied to clipboard

fix: use process.env.VSCODE_PROXY_URI

Open jsjoeio opened this issue 3 years ago • 3 comments
trafficstars

Warning This requires changes to the Tabnine server before it will work correctly.

This adds a new util function called getExternalUri which checks for process.env.VSCODE_PROXY_URI and uses that with the external uri so that Tabnine can work in environments like code-server, Codespaces, Gitpod.

co-written with @code-asher

jsjoeio avatar Jun 29 '22 17:06 jsjoeio

Seems like this could fix the issue with TabNine and similar extensions that need to talk to the code-server host on specific ports. Looking forward to seeing this completed.

ksylvan avatar Sep 15 '22 06:09 ksylvan

Waiting on feedback from the TabNine team to see if this is the direction they want to go in.

jsjoeio avatar Sep 15 '22 15:09 jsjoeio

Waiting on feedback from the TabNine team to see if this is the direction they want to go in.

Any updates? Still happening with the latest code-server and tabnine

ksylvan avatar Sep 26 '22 18:09 ksylvan

What needs to happen to fix this now? The latest code-server is now using the /proxy port forwarding, as you can see here:

image

@jsjoeio ?

ksylvan avatar Nov 16 '22 21:11 ksylvan

Waiting to hear back from the Tabnine team!

jsjoeio avatar Nov 30 '22 16:11 jsjoeio

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 29 '23 17:01 stale[bot]

Go

Jsirya avatar Jan 31 '23 19:01 Jsirya

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 01 '23 20:04 stale[bot]

@jsjoeio Any updates on this? I'm still seeing the same behavior in the latest code-server and TabNine.

ksylvan avatar Apr 03 '23 16:04 ksylvan

@ksylvan sorry i'm no longer working on the code-server project - you'll have to ask the team

jsjoeio avatar Apr 03 '23 16:04 jsjoeio

@jsjoeio Good luck on your new adventures. Look me up on Linkedin. 🙏🏼

ksylvan avatar Apr 13 '23 03:04 ksylvan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 12 '23 04:06 stale[bot]