- Notifications
You must be signed in to change notification settings - Fork0
The Editor Text View for CodeEdit
License
thecoolwinter/CodeEditSourceEditor
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
An Xcode-inspired code editor view written in Swift powered by tree-sitter forCodeEdit. Features include syntax highlighting (based on the provided theme), code completion, find and replace, text diff, validation, current line highlighting, minimap, inline messages (warnings and errors), bracket matching, and more.
Important
CodeEditSourceEditor is currently in development and it is not ready for production use.
Please check back later for updates on this project. Contributors are welcome as we build out the features mentioned above!
This package is fully documentedhere.
import CodeEditSourceEditorstructContentView:View{@Statevartext="let x = 1.0"@Statevartheme=EditorTheme(...)@Statevarfont=NSFont.monospacedSystemFont(ofSize:11, weight:.regular)@StatevartabWidth=4@StatevarlineHeight=1.2@StatevareditorOverscroll=0.3varbody:someView{CodeEditSourceEditor( $text, language:.swift, theme: $theme, font: $font, tabWidth: $tabWidth, lineHeight: $lineHeight, editorOverscroll: $editorOverscroll)}}
See this issueCodeEditApp/CodeEditLanguages#10 onCodeEditLanguages for more information on supported languages.
Special thanks toMatt Massicotte for the great work he's done!
| Package | Source | Author |
|---|---|---|
SwiftTreeSitter | GitHub | Matt Massicotte |
Licensed under theMIT license.
CodeEdit | CodeEditTextView | CodeEditLanguages | CodeEditCLI | CodeEditKit |
About
The Editor Text View for CodeEdit
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- Swift100.0%
