feat(web): add Basic language support in file viewer#1054
feat(web): add Basic language support in file viewer#1054brendan-kellam merged 3 commits intomainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
WalkthroughThis pull request adds support for BASIC language syntax highlighting in the file viewer. It introduces CodeMirror language definition mapping, file extension detection override for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@CHANGELOG.md`:
- Line 12: The CHANGELOG entry uses "Basic" but the codebase uses the all-caps
key "BASIC"; update the CHANGELOG line to use "BASIC" (matching
languageMetadataMap["BASIC"] and ambiguousExtensionOverrides) so the wording is
consistent with the repository's language identifiers and documentation.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 833f52d3-528c-4433-900c-2015524479b1
📒 Files selected for processing (4)
CHANGELOG.mdpackages/web/src/lib/codemirrorLanguage.tspackages/web/src/lib/languageDetection.tspackages/web/src/lib/languageMetadata.ts
Summary
.basextension toBASIClanguage in language detectionbasicCodeMirror language using the VB stream language parserTest plan
.basfile in the file viewer and verify syntax highlighting renders correctlySummary by CodeRabbit
New Features
.basfile extensions to ensure proper language identification and syntax highlighting.