AppFlowy-IO / AppFlowy-IO/AppFlowy

[FR] Add more functionality to code blocks in addition to a shortcut key

オープン
#5,881 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る
code-block editor-plugin flutter-only
主要言語
Dart
スター
76.6k
フォーク
6k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

Currently, code blocks in most applications are pretty standard with a copy button and the ability to change the coding language with the use of a drop-down button as in Appflowy. Adding the line numbers to the left of the code block is a great feature. My suggestion here is to please enhance and add further functionality to the code blocks themselves to make this app stand out over the rest. I am sure a vast majority of users store code as YML files or other ENV's and because of this I believe it would be great to add the ability to toggle viewing spacing in the code blocks like in VS Code. Other great options would be to further enhance code blocks by adding toggle options in settings for this and perhaps allow resizing of the code boxes and appearance. The option to lock the blocks themselves from editing would also be a welcome update. Thank you for your time and I hope you take my input into consideration.

### Impact

Code Blocks revamp. More options for code blocks is better.

### Additional Context

_No response_

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

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

評価

この issue はまだ評価されていません。

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

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