forcedotcom / forcedotcom/code-builder-feedback

Add zsh & PowerShell options for Code Builder terminal window

Ouverte
#133 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
area:preloaded tools
Langage dominant
Aucune donnée de langage
Étoiles
35
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Utilisez l’issue #133 comme point de départ des exigences : comparez les options de terminal existantes de Code Builder avec VS Code Desktop, puis vérifiez comment sont gérés la disponibilité de zsh et de PowerShell, ainsi que les profils tels que .zshrc. Le travail est considéré comme terminé lorsque Code Builder propose les deux options de shell demandées et prend en charge les cas d’utilisation de profils et de scripts indiqués ; aucun fichier ni test n’est nommé dans l’issue.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
powershell, zsh
Domaine
cli, developer-experience
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.