dbcli / dbcli/mssql-cli

Using as a REPL, don't auto-indent

Ouverte
#514 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1.4k
Forks
191
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I'm using this project in a pane in tmux, with Vim in another using https://github.com/jpalardy/vim-slime.

With all my other interactive shells (python, r, node, psql) there is a way to turn off the auto-indenting as the full indents are in my source files already, e.g. `set paste` in vim.

Here's what I'm dealing with. The top pane being an example from a source code file that I want to send down to the cli.
![image](https://user-images.githubusercontent.com/2208700/114477031-1c41cd80-9bc1-11eb-8966-6fbfc5d156a5.png)

1. I don't see an option to turn off the auto-indent. Am I missing it?
2. If no to the above question, can you point me in the right direction to change it and I'll prep a PR to have this be a config option

Guide de contribution

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

Piste de recherche

Commencez par localiser le code Python CLI qui applique l'indentation automatique et examinez comment les options de configuration existantes sont définies. Reproduisez le workflow avec tmux et Vim-slime décrit dans l'issue, puis vérifiez qu'une option de configuration peut empêcher l'ajout d'une indentation au code source collé ou envoyé.

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

Évaluation

Stack technique
python, sql
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

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