-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add Next Lens extension #24194
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
base: main
Are you sure you want to change the base?
Add Next Lens extension #24194
Conversation
- docs: add screenshots - docs: update readme - chore: remove file path subtitle - feat: add configurable next-lens port with validation - chore: improve not connect to next-lens message - refactor: rename next-lens client file name - feat: init next-lens extension
|
Congratulations on your new Raycast extension! 🚀 Due to our current reduced availability, the initial review may take up to 10-15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Greptile SummaryAdds a new Raycast extension for next-lens, a Next.js App Router tool that scans projects to list API and page routes. The extension provides two commands: one for listing API routes with HTTP method filtering, and another for listing page routes with loading/error status indicators. Both commands support opening files in the user's preferred IDE and include proper error handling when the next-lens CLI integration is not running.
Confidence Score: 5/5
Important Files Changed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional Comments (5)
-
extensions/next-lens/src/next-lens-client.ts, line 9-10 (link)syntax: Remove manual
Preferencesinterface definition. Raycast auto-generates type definitions inraycast-env.d.tswhen the extension runs based on yourpackage.jsonpreferences configuration.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Context Used: Rule from
dashboard- What: Don't manually definePreferencesforgetPreferenceValues()or commendsArgumentinterfa... (source) -
extensions/next-lens/src/list-api-routes.tsx, line 18-19 (link)syntax: Remove manual
Preferencesinterface definition. Raycast auto-generates type definitions inraycast-env.d.tsbased on yourpackage.jsonpreferences.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Context Used: Rule from
dashboard- What: Don't manually definePreferencesforgetPreferenceValues()or commendsArgumentinterfa... (source) -
extensions/next-lens/src/list-page-routes.tsx, line 17-18 (link)syntax: Remove manual
Preferencesinterface definition. Raycast auto-generates type definitions inraycast-env.d.tsbased on yourpackage.jsonpreferences.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Context Used: Rule from
dashboard- What: Don't manually definePreferencesforgetPreferenceValues()or commendsArgumentinterfa... (source) -
extensions/next-lens/package.json, line 4 (link)style: Use title case for the extension title.
Why: Title case improves readability and maintai... (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Context Used: Rule from
dashboard- What: Use title case for titles inpackage.json. -
extensions/next-lens/package.json, line 5 (link)style: Grammar issue: "the extension" should be removed or changed to "in the extension" for clarity.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
11 files reviewed, 5 comments
- fix: description grammar - fix: don\'t manually define Preferences for getPreferenceValues()
|
@greptile-apps please review again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional Comments (4)
-
extensions/next-lens/package.json, line 4 (link)style: title should use Title Case per style guide
Why: Title case improves readability and maintai... (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Context Used: Rule from
dashboard- What: Use title case for titles inpackage.json. -
extensions/next-lens/src/list-api-routes.tsx, line 116-121 (link)style: add Windows keyboard shortcuts since extension supports Windows platform
Context Used: Rule from
dashboard- What: Ensureplatformsonly contains macOS and/or Windows, with macOS as the default when undefine... (source) -
extensions/next-lens/src/list-page-routes.tsx, line 88-102 (link)style: add Windows keyboard shortcuts since extension supports Windows platform
Context Used: Rule from
dashboard- What: Ensureplatformsonly contains macOS and/or Windows, with macOS as the default when undefine... (source) -
extensions/next-lens/src/list-page-routes.tsx, line 105-114 (link)style: add Windows keyboard shortcuts since extension supports Windows platform
Context Used: Rule from
dashboard- What: Ensureplatformsonly contains macOS and/or Windows, with macOS as the default when undefine... (source)
11 files reviewed, 4 comments
- chore: support windows shortcut - fix: title should use Title Case per style guide
|
@greptile-apps please review again |
Description
It's a Raycast extension for next-lens — a Next.js App Router tool that scans your project and instantly lists API routes and page routes in the terminal, web UI, and MCP.
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder