Skip to content

Conversation

GangGreenTemperTatum
Copy link
Owner

@GangGreenTemperTatum GangGreenTemperTatum commented Dec 28, 2024

Adds feature to "Switch" to the StickyBurp tab with a hotkey/shortcut and turns out in #4 i was incorrect! :) (TY Tibs 🙏)
Also fixes consistency in formatting and linting..

  1. Run ./gradlew ktlintFormat to apply the formatting
  2. Verify with ./gradlew ktlintCheck

The key change is placing the && operators at the start of each line instead of the end, which helps avoid indentation ambiguity in KtLint's rules.

➜  stickyburp git:(feat/hotkey-switch-to-stickyburp) ✗ ./gradlew ktlintFormat

BUILD SUCCESSFUL in 1s
5 actionable tasks: 4 executed, 1 up-to-date
➜  stickyburp git:(feat/hotkey-switch-to-stickyburp) ✗ ./gradlew ktlintCheck

BUILD SUCCESSFUL in 1s
5 actionable tasks: 2 executed, 3 up-to-date
➜  stickyburp git:(feat/hotkey-switch-to-stickyburp) ✗ ./gradlew build shadowJar

BUILD SUCCESSFUL in 550ms
9 actionable tasks: 2 executed, 7 up-to-date

fixes #4


AI-Generated Summary

PR Summary

Overview of Changes

Ahoy! This hearty PR brings aboard changes spannin' from the .editorconfig, .gitignore, all the way to the README.md, with a special focus on improvin' Kotlin code style configurations and introducin' a new feature via the KeyboardShortcutHandler.kt. Methinks this update be settin' sails for smoother codin' seas and plunderin' the depths of efficiency with its hotkey functionality.

Key Modifications

  1. Enhanced Kotlin Code Style Configurations: Added configurations for continuation indent size and alignment of multiline parameters in .editorconfig, promotin' a neater codebase, with ktlint settings adjustin' indentations and chain-wrappin' discipline.
  2. Introducing Keyboard Shortcut Handler: A new file, KeyboardShortcutHandler.kt, be introduced to handle global keyboard shortcuts. It be firin' up a special handler for the CTRL+SHIFT+S (or Command+Shift+S for the landlubbers usin' Mac) combo to swiftly navigate to the StickyBurp tab.
  3. README.md Update for Hotkeys: The README.md be updated to inform users about the new hotkey functionality, makin' it easier for sailors to switch tabs on the fly.
  4. Project Version Bump: Ye olde build.gradle.kts file has been updated to mark the version as "1.0.3", signallin' the release of new treasures within the StickyBurp extension.

Potential Impact

  • The changes in Kotlin code styling could lead to a more uniform development experience across the crew, preventin' any unnecessary code skirmishes.
  • The introduction of KeyboardShortcutHandler adds valuable functionality but also brings aboard complexity in terms of maintainin' the code and the potential fer conflicts with other global hotkeys.
  • By documentin' the hotkeys in the README.md, we ensure that all hands on deck be aware of the new tools at their disposal, promotin' efficient plunderin'.
  • Updatin' the version to "1.0.3" signals a fresh release, ready to be embarked upon by the community, yet it be vital to keep a weather eye on the horizon for any bugs that this new version might bring.

This summary was generated with ❤️ by ads @ rigging

@GangGreenTemperTatum
Copy link
Owner Author

GangGreenTemperTatum commented Dec 28, 2024

Adds feature to "Switch" to the StickyBurp tab with a hotkey/shortcut and turns out in #4 i was incorrect! :)
Also fixes consistency in formatting and linting..

  1. Run ./gradlew ktlintFormat to apply the formatting
  2. Verify with ./gradlew ktlintCheck

The key change is placing the && operators at the start of each line instead of the end, which helps avoid indentation ambiguity in KtLint's rules.

➜  stickyburp git:(feat/hotkey-switch-to-stickyburp) ✗ ./gradlew ktlintFormat

BUILD SUCCESSFUL in 1s
5 actionable tasks: 4 executed, 1 up-to-date
➜  stickyburp git:(feat/hotkey-switch-to-stickyburp) ✗ ./gradlew ktlintCheck

BUILD SUCCESSFUL in 1s
5 actionable tasks: 2 executed, 3 up-to-date
➜  stickyburp git:(feat/hotkey-switch-to-stickyburp) ✗ ./gradlew build shadowJar

BUILD SUCCESSFUL in 550ms
9 actionable tasks: 2 executed, 7 up-to-date

fixes #4

@GangGreenTemperTatum GangGreenTemperTatum merged commit 786ff77 into main Dec 29, 2024
1 check passed
@GangGreenTemperTatum GangGreenTemperTatum deleted the feat/hotkey-switch-to-stickyburp branch December 29, 2024 19:31
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.

[FEATURE] Hotkey to switch to the stickyburp tab

1 participant