microsoft / microsoft/vscode-java-debug

Define custom "toString()" in variables view

未關閉
#236 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

ai-triaged feature request variables voting
主要語言
TypeScript
星號
591
分支
429
平均合併
1 天 9 小時
30 天內合併 PR
19

描述

Eclipse has a functioality to setup a custom "toString" method (called "Detail Formatter") on each type in the variables view. This is handy when you have objects that don't come with a nice toSring method. It allows you to directly show the useful information.
Example details formatter: getName() + ": " + getBirthDate()

Environment
  • Operating System: macOS 10.12.6 (16G1212)
  • JDK version: 1.8.0_144-b01
  • Visual Studio Code version: 1.20.0 (1.20.0)
  • Java extension version: 0.18.1
  • Java Debugger extension version:0.6.0

detailformatter

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從變數檢視開始,追蹤偵錯器如何呈現 Java 物件值。確定應如何設定和評估使用者定義的 Detail Formatter,例如 getName() + ": " + getBirthDate()。完成標準是,已設定的格式化器能在變數檢視中顯示實用的物件詳細資訊,並涵蓋相關的偵錯器行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, typescript
領域
devtools
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。