microsoft / microsoft/vscode-java-pack
Feature request: Improve output console color scheme
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 352
- フォーク
- 166
- 平均マージ
- 17時間 47分
- マージ済み PR(30日)
- 32
説明
For Spring Boot projects, the debug output console should have a nice coloring theme by default, which is not the case currently.
With default settings, all text is a single color which is not very readable.
There is a related StackOverflow question regarding this: https://stackoverflow.com/questions/62280290/provide-color-theme-to-the-java-process-console-in-the-terminal-of-vscode-whil
Currently, there are two (easy, but not scalable) ways how to achieve the desired coloring:
- Add
spring.output.ansi.enabled=ALWAYStoapplication.propertiesfile -> The issue with this approach is that it has to be set up for each project and it just adds unnecessary complexity to application.properties. - Add
"args": "--spring.output.ansi.enabled=ALWAYS"in launch.json -> This issue with this approach is that it also needs to be set up per-project basis and it is not so easy to share configuration as .vscode directory is not within version control scope.
Proposed Solution
I suggest a solution that VS Code pass "args": "--spring.output.ansi.enabled=ALWAYS" by default for Spring Boot projects. There should be an option to control it (on/off) maybe within settings.json
Before

After

@nickzhums Please review.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Java extension が Spring Boot launch configurations をどのように処理し、launch.json の引数をどのように組み立てるかを追跡します。ここで説明されている application.properties と launch.json のアプローチを比較します。settings.json のオン/オフ動作を定義し、その後、Spring Boot project がデフォルトで ANSI output を受け取り、このオプションで無効化できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, spring-boot, typescript, vscode
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100