Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aparokshaui/codeeditor
Text editors for GNOME apps written in Swift
https://github.com/aparokshaui/codeeditor
adwaita gnome gtk libadwaita linux swift swiftui
Last synced: 3 months ago
JSON representation
Text editors for GNOME apps written in Swift
- Host: GitHub
- URL: https://github.com/aparokshaui/codeeditor
- Owner: AparokshaUI
- License: mit
- Created: 2023-11-28T20:01:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T14:42:20.000Z (12 months ago)
- Last Synced: 2024-04-29T11:04:19.487Z (9 months ago)
- Topics: adwaita, gnome, gtk, libadwaita, linux, swift, swiftui
- Language: Swift
- Homepage:
- Size: 2.13 MB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
CodeEditor
GitHub
·
CodeEditor Docs
·
CodeEditorFoundation Docs
_CodeEditor_ adds support for text and code editors to GNOME apps built using [Adwaita for Swift](https://github.com/AparokshaUI/Adwaita).
## Table of Contents
- [Installation](#Installation)
- [Usage](#Usage)
- [Thanks](#Thanks)## Installation
### Dependencies
Install `gtksourceview-devel` or similar (based on the package manager) as well as `gtk4-devel` and `libadwaita-devel` (or similar).### Swift Package
1. Open your Swift package in GNOME Builder, or any other IDE.
2. Open the `Package.swift` file.
3. Into the `Package` initializer, under `dependencies`, paste:
```swift
.package(url: "https://github.com/AparokshaUI/CodeEditor", from: "0.1.0")
```## Usage
Take a look at the simple [sample app](Tests/main.swift).
Check out the [Adwaita](https://github.com/AparokshaUI/Adwaita) packages.## Thanks
### Dependencies
- [Adwaita](https://github.com/AparokshaUI/Adwaita) licensed under the [GPL-3.0 license](https://github.com/AparokshaUI/Adwaita/blob/main/LICENSE.md)### Other Thanks
- The [contributors](Contributors.md)
- [SwiftLint](https://github.com/realm/SwiftLint) for checking whether code style conventions are violated
- The programming language [Swift](https://github.com/apple/swift)
- [SourceDocs](https://github.com/SourceDocs/SourceDocs) used for generating the [docs](Documentation/Reference/README.md)
- [GtkSourceView](https://gitlab.gnome.org/GNOME/gtksourceview/) for the widgets