Skip to content

Creating an extension for Visual Studio#482

Merged
rajbos merged 15 commits intomainfrom
visual-studio-extension
Mar 26, 2026
Merged

Creating an extension for Visual Studio#482
rajbos merged 15 commits intomainfrom
visual-studio-extension

Conversation

@rajbos
Copy link
Copy Markdown
Owner

@rajbos rajbos commented Mar 25, 2026

  • Moving files and folders to get space for a new extension
  • More file updates
  • Add initial implementation of Copilot Token Tracker extension
  • Update .gitignore and add CopilotTokenTrackerRunner project to solution
  • Add CopilotTokenTrackerRunner project with initial Program.cs
  • First working draft of the exteion
  • Add timestamp decoding for MessagePack extension in SessionParser
  • Toolbar works
  • Use writable user-data folder for WebView2 in experimental instance

rajbos and others added 10 commits March 26, 2026 02:57
- Created project files including project.nuget.cache and source.extension.vsixmanifest.
- Defined extension metadata, installation targets, and dependencies for Visual Studio.
- Added description and tags for the extension to enhance discoverability.
- Created a new project file for CopilotTokenTrackerRunner targeting .NET Framework 4.7.2.
- Added Program.cs to provide a simple entry point and instructions for running the CopilotTokenTracker extension in a Visual Studio experimental instance.
…ension (#483)

* Initial plan

* Implement environmental and maturity views for Visual Studio extension

Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rajbos/github-copilot-token-usage/sessions/07d7e46e-e18f-417b-9794-3e80d4083899

* Add Environmental Impact and Fluency Score views to Visual Studio extension

Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rajbos/github-copilot-token-usage/sessions/07d7e46e-e18f-417b-9794-3e80d4083899

* update gitignore to fix merge conflicts

* Add maturity.js to CopilotTokenTracker webview for enhanced functionality

* Enhance error handling in CLI bridge and stats retrieval for improved robustness

* Implement structure for code changes tracking

* Refactor GetUsageStatsAsync to prevent duplicate CLI calls by reusing in-flight tasks

* Add dashboard view fallback in TokenTrackerControl and update postMessage handling in vscode-shim

* Bump cache version and enhance SessionData structure; add loading and error HTML builders for improved user feedback

* feat: Enhance Copilot Token Tracker with new CLI commands and UI improvements

- Added `chart` command to output daily token usage data in JSON format.
- Introduced `usage-analysis` command for detailed usage analysis stats.
- Updated ToolbarInfoCommand to reset the view to details instead of refreshing.
- Modified CopilotTokenTrackerPackage.vsct to reflect changes in tooltip text.
- Implemented caching mechanism in TokenTrackerControl to improve loading times.
- Added methods to fetch chart and usage analysis data from the CLI.
- Enhanced error handling and logging in TokenTrackerControl.
- Improved HTML rendering in ThemedHtmlBuilder to hide unsupported views in Visual Studio.
- Created GitHub Actions workflow for building and packaging the Visual Studio extension.

* feat: Add npm build and compile commands to auto-approve settings

* feat: Enhance usage analysis with model tier classification and unified tool display across periods

* Docs updates

* Fix initial load

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Co-authored-by: Rob Bos <raj.bos@gmail.com>
@rajbos rajbos force-pushed the visual-studio-extension branch from f6467d9 to a98a04d Compare March 26, 2026 02:06
@rajbos rajbos enabled auto-merge (squash) March 26, 2026 02:20
@rajbos rajbos disabled auto-merge March 26, 2026 02:43
@rajbos rajbos merged commit c4a142c into main Mar 26, 2026
18 checks passed
@rajbos rajbos deleted the visual-studio-extension branch March 26, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants