coder / coder/code-server

Add "Integrated browser" support for code-server

未关闭
#7,962 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
79.3k
派生
6.8k
平均合并
2 天 6 小时
30 天内合并 PR
41

描述

## What is your suggestion?

I would love to see the "integrated browser" from vscode inside code-server (not to be confused with the "simple browser" that is already integrated).

## Why do you want this feature?

The simple browser has limitations regarding localhost servers. E.g. reaching a local vite.dev webserver is not possible.

## Are there any workarounds to get this functionality today?

You could open a port and expose it via the ports suburl. But that prevents to use automation features that the new "integrated browser" has.

## Are you interested in submitting a PR for this?

Yes. I would like the team to estimate whether an integration is technically possible and to know which main knobs need to be turned.

See my issue in the official vscode repo for current technical limitations (vscode.dev)
https://github.com/microsoft/vscode/issues/331784#issuecomment-5359696592

贡献指南

打开贡献指南

调研方向

Start by reading the linked VS Code issue and reviewing how code-server's existing simple browser and ports suburl work. Compare their localhost and automation limitations with the requested integrated browser, then document the main integration knobs and the technical feasibility; done means the scope and blockers are clear enough for a PR plan.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript, vscode
领域
frontend, web-dev
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。