Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The Editor Text View for CodeEdit

License

NotificationsYou must be signed in to change notification settings

thecoolwinter/CodeEditSourceEditor

 
 

Repository files navigation

CodeEditSourceEditor

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.

social-cover-textview

GitHub releaseGithub TestsDocumentationGitHub Repo starsGitHub forksDiscord Badge

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!

Documentation

This package is fully documentedhere.

Usage

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)}}

Currently Supported Languages

See this issueCodeEditApp/CodeEditLanguages#10 onCodeEditLanguages for more information on supported languages.

Dependencies

Special thanks toMatt Massicotte for the great work he's done!

PackageSourceAuthor
SwiftTreeSitterGitHubMatt Massicotte

License

Licensed under theMIT license.

Related Repositories

        CodeEdit        

CodeEditTextView

CodeEditLanguages

CodeEditCLI

     CodeEditKit     

About

The Editor Text View for CodeEdit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift100.0%

[8]ページ先頭

©2009-2025 Movatter.jp