coder / coder/code-server

Expand `~` from config

Đang mở
#7,051 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
79.3k
Fork
6.8k
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
41

Mô tả

### Is there an existing issue for this?

- [x] I have searched the existing issues

### OS/Web Information

- Web Browser: Vivaldi
- Local OS: Ubuntu 24.10
- Remote OS: Ubuntu 24.10
- Remote Architecture: amd64
- `code-server --version`: 4.93.1 69df01185ce2f80e99c9e4f8c8de1907cc7a9bc5 with Code 1.93.1

### Steps to Reproduce

1. add this `user-data-dir: ~/.config/code-server-data` to config.yaml
2. run command `code-server`

### Expected

```
~/.config/code-server-data
```

### Actual
But in the web browser, it will be:
```
~/~/.config/code-server-data
```
### Note
I get it now, depends on where the current directory in the terminal is, code-server will use the current directory plus user-data-dir

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.