Skip to content

001 File structure tasks: Add File Structure popup showing nadle tasks#27

Merged
nam-hle merged 1 commit intomainfrom
001-file-structure-tasks
Feb 21, 2026
Merged

001 File structure tasks: Add File Structure popup showing nadle tasks#27
nam-hle merged 1 commit intomainfrom
001-file-structure-tasks

Conversation

@nam-hle
Copy link
Copy Markdown
Member

@nam-hle nam-hle commented Feb 21, 2026

Summary

  • Add custom Structure View for nadle config files (Cmd+F12) listing all tasks.register() calls with Nadle icons
  • Click-to-navigate to task definitions, alpha sort toggle, type-to-filter
  • Fix TASK_REGISTER_PATTERN to handle multiline tasks\n.register() calls
  • Registered for both JavaScript and TypeScript languages

Test plan

  • Open a nadle.config.ts file, press Cmd+F12, verify all tasks appear with Nadle icons
  • Click a task entry, verify editor navigates to the correct line
  • Type partial name in the popup, verify filtering works
  • Toggle A-Z sort button, verify alphabetical ordering
  • Open a regular .js file, press Cmd+F12, verify default structure view appears

🤖 Generated with Claude Code

Implement custom Structure View for nadle config files so Cmd+F12
lists all tasks.register() calls with Nadle icons and click-to-navigate.

- Add NadleStructureViewFactory (PsiStructureViewFactory, order=first)
- Add NadleStructureViewModel with alpha sorter support
- Add NadleTaskStructureViewElement with Navigatable-based navigation
- Fix TASK_REGISTER_PATTERN to handle multiline tasks.register() calls
- Register for both JavaScript and TypeScript languages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nam-hle nam-hle merged commit 013643c into main Feb 21, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.2.3
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@nam-hle nam-hle deleted the 001-file-structure-tasks branch February 24, 2026 01:40
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.

1 participant