forcedotcom / forcedotcom/code-builder-feedback
Add zsh & PowerShell options for Code Builder terminal window
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 35
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Is your feature request related to a problem? Please describe.**
A clear and concise description of the problem. For example: I'm always frustrated when [...]
## Goal
I want parity between desktop VS Code and Code Builder terminal options so that I can easily move between them without having to setup/install or worse, re-write code.
- **MacOS**: Starting in 2019 (Catalina) MacOS switched from Bash as the default shell to `zsh`. I tried `apt-get install zsh` but it needs admin and `sudo` command isn't found
- **Windows**: Windows includes PowerShell by default and is an option in the terminal window. [Install PowerShell via apt-get](https://docs.microsoft.com/en-us/powershell/scripting/install/install-ubuntu?view=powershell-7.2#installation-via-package-repository)
**Describe what you are ultimately trying to do**
What is your use case, how might you do this today?
I have custom zsh scripts (I imagine Windows customers have custom PowerShell scripts) for common automation tasks that I want to use, including my profile `.zshrc` profile with command aliases.
Ex:
```
alias screenshot="chrome --headless --disable-gpu --screenshot"
alias html="chrome --headless --disable-gpu --dump-dom"
alias glog="git log --pretty=format:'%h - %an: %s' --graph"
```
```screenshot https://developer.salesforce.com``` - Auto-saves a screenshot of the web page
```html https://developer.salesforce.com``` - Writes html for headless chrome to standard output (or pipe/filter as needed)
```glog``` Shows a pretty view of git commits/branches to standard output
**Describe how you think Code Builder can help solve your problem or improve your work**
A clear and concise description of what you want to happen.
Seamless move from desktop to web
**Additional context**
Add any other context or screenshots about the feature request here.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Sử dụng issue #133 làm điểm bắt đầu cho các yêu cầu: so sánh các tùy chọn terminal hiện có của Code Builder với VS Code trên desktop, sau đó xác minh cách xử lý khả dụng của zsh và PowerShell cũng như các profile như .zshrc. Được xem là hoàn tất khi Code Builder cung cấp cả hai tùy chọn shell được yêu cầu và hỗ trợ các trường hợp sử dụng profile và script đã nêu; issue không nêu tên file hoặc test nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- powershell, zsh
- Lĩnh vực
- cli, developer-experience
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100