This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
Releases: rmcmk/forge-format-vsc
Releases · rmcmk/forge-format-vsc
1.1.2
1.1.0
- Format code ranges/snippets within a document using VSCode's built-in range formatter.
- Ability to pipe code into Forge from the editor's buffer, enabling formatting of dirty files with pending changes.
- Shifted from parsing diffs directly from Forge to generating custom diffs using the
jsdiff
library and raw formatted output from Forge. This change enhances integration with Visual Studio Code's TextEdit API, offering improved control over text edits within the editor. - New Settings:
- Implementation of
includeGlobs
andexcludeGlobs
. - Options for saving and closing files after formatting.
- Implementation of
1.0.1
- Improved parsing of Forge's diff output.
- Correct handling of unmodified lines.
- Enhanced tokenization of the diff for more reliable output across OS.
- Fail-fast mechanism for impossible formatting.
- Proper implementation of
editor.formatOnSave
. - Improved default settings for a consistent out-of-the-box experience.
- Settings UI implementation for user-friendly configuration.