Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sql-format extension #14144

Merged
merged 25 commits into from
Aug 28, 2024
Merged

Add sql-format extension #14144

merged 25 commits into from
Aug 28, 2024

Conversation

tonngw
Copy link
Contributor

@tonngw tonngw commented Aug 23, 2024

Description

This extension is used to format SQL clause in Raycast. Support format a SQL cluase string stored in clipboard and selected in the foremost editor, then copies or pasted it back.

This tool is simple and easy to use. I believe it will become a must-have tool for many developers every day.

Screencast

Raycast 2024-08-24 at 22 23 04

Checklist

@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Aug 23, 2024
- feat: initial format sql extension
- feat: initial format sql extension
- feat: initial format sql extension
- feat: initial format sql extension
- feat: initial format sql extension
- feat: initial format sql extension
Copy link
Contributor

@jfkisafk jfkisafk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just some minor comments for better UX.

extensions/sql-format/CHANGELOG.md Outdated Show resolved Hide resolved
extensions/sql-format/.prettierrc Outdated Show resolved Hide resolved
extensions/sql-format/package.json Outdated Show resolved Hide resolved
extensions/sql-format/assets/extension-icon.png Outdated Show resolved Hide resolved
extensions/sql-format/src/index.tsx Outdated Show resolved Hide resolved
extensions/sql-format/src/index.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@jfkisafk jfkisafk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I missed package.json file changes and suggested a few refactors that you can apply straightaway from GitHub. But otherwise this command looks complete.

extensions/sql-format/package.json Outdated Show resolved Hide resolved
extensions/sql-format/package.json Outdated Show resolved Hide resolved
extensions/sql-format/package.json Outdated Show resolved Hide resolved
extensions/sql-format/package.json Outdated Show resolved Hide resolved
extensions/sql-format/package.json Outdated Show resolved Hide resolved
extensions/sql-format/src/index.tsx Outdated Show resolved Hide resolved
extensions/sql-format/CHANGELOG.md Outdated Show resolved Hide resolved
extensions/sql-format/assets/extension-icon.png Outdated Show resolved Hide resolved
extensions/sql-format/src/index.tsx Outdated Show resolved Hide resolved
extensions/sql-format/src/index.tsx Outdated Show resolved Hide resolved
tonngw and others added 8 commits August 24, 2024 21:17
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
@tonngw
Copy link
Contributor Author

tonngw commented Aug 24, 2024

Sorry I missed package.json file changes and suggested a few refactors that you can apply straightaway from GitHub. But otherwise this command looks complete.

It doesn't matter, I looked for newly your comments, refactored the project, and added a new command 「formatSelection」as you make suggesions. In addition, I updated the extension icon, what you provide is better than what I have used. I feel that this extension is getting better and better, thank you for your efforts. I cited your github profile at README.md. :)

extensions/sql-format/CHANGELOG.md Outdated Show resolved Hide resolved
extensions/sql-format/package.json Show resolved Hide resolved
tonngw and others added 2 commits August 25, 2024 08:16
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Co-authored-by: stelo <42366677+jfkisafk@users.noreply.github.com>
Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Looks good to me, approved 🔥

@pernielsentikaer pernielsentikaer self-assigned this Aug 28, 2024
@raycastbot raycastbot merged commit 1ecf77e into raycast:main Aug 28, 2024
2 checks passed
Copy link
Contributor

Published to the Raycast Store:
https://raycast.com/tonngw/sql-format

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

astrit added a commit to astrit/extensions that referenced this pull request Aug 28, 2024
- Update Detail view
- Add detail and public holidays
- Update title and month to show no gap
- Docs: Update the utils docs
- Update CODEOWNERs
- Update CODEOWNERs
- Add Cursor.sh Doc extension (raycast#14187)
- [Format GraphQL] new action to only format instead of format AND copy (raycast#14217)
- Update CODEOWNERs
- Add metaphorpsum extension (raycast#14124)
- Docs: Update the utils docs
- Update CODEOWNERs
- Add sql-format extension (raycast#14144)
- Update CODEOWNERs
- Add say-no-to-notch extension (raycast#14143)
- Update manifest.md (raycast#14141)
- Add mood track (raycast#14134)
- [NBA-Game-Viewer] Added scores to the viewer (raycast#14188)
- Reduce calls to \`GET:/api/smart-habits\` (raycast#14222)
- Update cron extension (raycast#14199)
- Update CSS*GG (raycast#14202)
- Update CODEOWNERs
- [SnippetSurfer] Make tags optional (raycast#14197)
- Update CODEOWNERs
- [Wikipedia] Move \`igor9silva\` to past contributors (raycast#14214)
- Update CODEOWNERs
- Update CODEOWNERs
- [NBA Game Viewer] Fixes for drop-down default values (raycast#14205)
- [Envato] new logo + TS typing tweaks (minimize use of \`any\`) (raycast#14034)
- [Luna Search] Add menu-bar command for quick access, move to hooks for retrieving data, fix pagination issue, add min-search size (raycast#14174)
- Update CODEOWNERs
- Update Focus extension (raycast#14204)
- Add forgejo extension (raycast#14133)
- Update CODEOWNERs
- Add tidal-controller extension (raycast#14130)
- Update CODEOWNERs
- [Google Maps Search] Travel mode fixes and improvements (raycast#14128)
- Update CODEOWNERs
- Add readeck extension (raycast#14109)
- Update CODEOWNERs
- [diskutil] Upgrades Raycast dependencies for failureToast fix (raycast#14106)
- Update changelog
- raycast#14189 - Fix date starting monday and update default colors
raycastbot pushed a commit that referenced this pull request Aug 29, 2024
* Update cron extension

- #14189 - Fix date starting monday and update default colors
- fix cache calue when no services present (#14192)
- Update scrapbook extension (#14080)
- Update CODEOWNERs
- Update iconpark extension (#14064)
- Update CODEOWNERs
- Update CODEOWNERs
- Update chatgpt extension (#14178)
- Update svgl extension (#14149)
- Update cron extension (#14086)
- [Easydict v2.9.2] 💎 feat: support http API endpoint for OpenAI (#14179)
- Update arc extension (#14185)
- Fix error when reading name from undefined (#14135)
- Update custom-folder extension (#14184)
- Update CODEOWNERs
- [beeminder] Fix data synchronization after a datapoint submission (#14158)
- feat(spotify-player): preference to show only music (#14160)
- Update CODEOWNERs
- Reclaim - Make Smart Habit actions respect override setting / fail API errors silently / only strip planner emojis (#14094)
- Add my new Raycast extension: Dropstab Crypto Toolbox (#14047)
- Update work-time-countdown extension (#14142)
- Update CODEOWNERs
- Add oxford-collocation-dictionary extension (#13959)
- Update \`cPanel\` extension (view dbs + limited add dns record + move url check out of hook) (#14138)
- Update LaunchAgents extension (#14157)
- Update CODEOWNERs
- Add toggle-fn extension (#13942)
- Update remember-the-date extension (#14151)
- [Wikipedia] Add languages (#14167)
- Update CODEOWNERs
- Add thingiverse extension (#13967)
- don\'t show detail if list is empty (#14137)
- Update fantastical extension (#14054)
- Update CODEOWNERs
- Initial commit for @ Profile extension. (#14002)
- Update CODEOWNERs
- Fix LaunchAgents folder creation for inexistent folder (#14053)
- Add Luna Search extension (#14006)
- Update CODEOWNERs
- chore (grafana): use service token instead of api keys (#14087)
- Add \`Remove All Searches\` action for \`spotify-player\` Search command (#14084)
- Update CODEOWNERs
- Added support to select either the NBA or the WNBA - default remains NBA (#13970)
- Update CODEOWNERs
- Update google-search extension (#13887)
- [beeminder] Several updates to the Beeminder extension (#13976)
- Add Bonjour extension (#14046)
- Update claude extension (#14121)
- Update pdf-tools extension (#14118)
- Update cobalt extension (#14052)
- Update CODEOWNERs
- [TablePlus] close #4231 + add dropdown filter (#14116)
- Update app-icon-generator extension (#13847)
- Update CODEOWNERs
- [Everhour] fix #13548 + modernize + add metadata/images,README (#13999)
- Update CODEOWNERs
- [Migadu] cache most results + minor api refactor (#13990)
- Initial version of Threads extension. (#13989)
- Update viacep extension (#14108)
- Deleting my extension ig (#14029)
- [toggl-track] Remove seconds from menubar timer (#13964)
- Update CODEOWNERs
- Add octoprint extension (#13975)
- Update hud.md
- Update CODEOWNERs
- Update text-shortcuts extension (#14033)
- Update vade-mecum extension (#14104)
- Docs: Update the utils docs
- Update CODEOWNERs
- [Notion] Add LaunchContext support for Quick Capture (#13953)
- Update CODEOWNERs
- [Tailwind CSS] Add \`size\` utility classes (#14102)
- [GitHub] Brought back fast browsing to cloned repos. (#13992)
- Update CODEOWNERs
- Add git-buddy extension (#13116)
- Update CODEOWNERs
- [Raycast Notification] Added success and failure notification types (#13958)
- Update CODEOWNERs
- [Linkwarden] fix #13613 (API uses Bearer Auth) (#14070)
- Update olympic-games extension (#14090)
- Update CODEOWNERs
- Update folder search extension (#14077)
- Fix weekdays and change display method

* Update changelog

* Update cron extension

- Update Detail view
- Add detail and public holidays
- Update title and month to show no gap
- Docs: Update the utils docs
- Update CODEOWNERs
- Update CODEOWNERs
- Add Cursor.sh Doc extension (#14187)
- [Format GraphQL] new action to only format instead of format AND copy (#14217)
- Update CODEOWNERs
- Add metaphorpsum extension (#14124)
- Docs: Update the utils docs
- Update CODEOWNERs
- Add sql-format extension (#14144)
- Update CODEOWNERs
- Add say-no-to-notch extension (#14143)
- Update manifest.md (#14141)
- Add mood track (#14134)
- [NBA-Game-Viewer] Added scores to the viewer (#14188)
- Reduce calls to \`GET:/api/smart-habits\` (#14222)
- Update cron extension (#14199)
- Update CSS*GG (#14202)
- Update CODEOWNERs
- [SnippetSurfer] Make tags optional (#14197)
- Update CODEOWNERs
- [Wikipedia] Move \`igor9silva\` to past contributors (#14214)
- Update CODEOWNERs
- Update CODEOWNERs
- [NBA Game Viewer] Fixes for drop-down default values (#14205)
- [Envato] new logo + TS typing tweaks (minimize use of \`any\`) (#14034)
- [Luna Search] Add menu-bar command for quick access, move to hooks for retrieving data, fix pagination issue, add min-search size (#14174)
- Update CODEOWNERs
- Update Focus extension (#14204)
- Add forgejo extension (#14133)
- Update CODEOWNERs
- Add tidal-controller extension (#14130)
- Update CODEOWNERs
- [Google Maps Search] Travel mode fixes and improvements (#14128)
- Update CODEOWNERs
- Add readeck extension (#14109)
- Update CODEOWNERs
- [diskutil] Upgrades Raycast dependencies for failureToast fix (#14106)
- Update changelog
- #14189 - Fix date starting monday and update default colors

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants