dbcli / dbcli/mssql-cli

Using as a REPL, don't auto-indent

オープン
#514 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
1.4k
フォーク
191
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、自動インデントを適用する Python CLI コードを見つけ、既存の設定オプションがどのように定義されているかを確認します。issue に記載されている tmux と Vim-slime のワークフローを再現し、その後、貼り付けまたは送信されたソースコードにインデントが追加されるのを設定オプションで防止できることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, sql
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。