Add vscode theme generation#31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#25
Copilot
This pull request adds support for generating and installing a VSCode theme as part of the application's theme export process. Users can now choose to include a VSCode-compatible theme, which will be copied to their local VSCode extensions directory. The implementation includes both UI changes to the settings sidebar and backend logic for template processing and file copying.
VSCode theme support:
includeVscode) to the settings sidebar UI, allowing users to enable or disable VSCode theme export. The setting is saved and loaded with other preferences. [1] [2] [3] [4] [5]ConfigWriterto process and copy a VSCode theme extension to the user's.vscode/extensions/theme-aetherdirectory when enabled. This includes handling template variables such astheme_typefor light/dark mode. [1] [2] [3] [4] [5]Template and export enhancements:
vscode.empty.jsontemplate, ensuring that an empty VSCode theme is written when the feature is disabled, preventing stale theme files. [1] [2] [3]templates/vscode-extension/package.json) that defines the structure and metadata for the generated theme extension, including dynamic theme type support.These changes provide users with seamless integration of their generated themes into VSCode, improving overall theme management across editors.