-
Notifications
You must be signed in to change notification settings - Fork 37
Add R and XML language support #91
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
Open
kkilchrist
wants to merge
9
commits into
CodeEditApp:main
Choose a base branch
from
kkilchrist:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add tree-sitter R language support including: - TreeSitterLanguage enum case - CodeLanguage definition with .r/.R extensions - TreeSitterModel query support - Syntax highlighting queries from tree-sitter-r - Container header declaration - Unit tests for language detection and query loading 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add TreeSitterR SPM dependency to CodeLanguages-Container - Rebuild xcframework with R parser included - Add additional R query files (locals, tags, describe, test_that) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add R to supported languages table - Add troubleshooting section for xcode-select build error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add tree-sitter XML language support including: - TreeSitterLanguage enum case - CodeLanguage definition with extensions (.xml, .xsl, .xslt, .xsd, .svg, .plist) - TreeSitterModel query support - Syntax highlighting queries - Container header declaration - Unit tests for language detection and query loading - README update 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update build_framework.sh to build for macOS, iOS device, and iOS Simulator - Add IPHONEOS_DEPLOYMENT_TARGET = 15.0 to project settings - Configure SUPPORTED_PLATFORMS for all three platform slices - Use separate DerivedData directories to avoid framework naming conflicts - Regenerate language query resources from upstream The xcframework now includes: - macos-arm64_x86_64 - ios-arm64 - ios-arm64_x86_64-simulator Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add iOS 15.0 minimum deployment target to support iOS builds. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
iOS codesign fails on bundles with a nested "Resources" folder since that conflicts with iOS bundle conventions. Renamed to "Queries" which better describes the content anyway (Tree-sitter query files). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The code uses Swift Regex (RegexBuilder) which requires iOS 16.0+. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The tree-sitter-properties Package.swift uses a dynamic file existence check that fails during SPM resolution due to working directory issues. This caused the scanner.c to be excluded from iOS builds, resulting in undefined symbols at link time. Changes: - Add patching step in build_framework.sh to fix Package.swift before build - Update query output path from Resources to Queries (to match Package.swift) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add R and XML language support with full syntax highlighting.
R language enables R code editing with proper highlighting for:
<-,<<-,|>, etc.)#')RscriptXML language enables XML/XSLT/SVG/plist editing with proper highlighting for:
Both tested and verified working for extracting symbols by name.
Also adds a "Building the Framework" section to README with troubleshooting for the
xcode-selectbuild error that can occur when runningbuild_framework.sh.Related Issues
Checklist
Screenshots
N/A - not UI related