Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marc2332/valin
Cross-platform code editor made with Freya 🦀 and Rust
https://github.com/marc2332/valin
cross-platform dioxus editor freya gui parser rust
Last synced: 1 day ago
JSON representation
Cross-platform code editor made with Freya 🦀 and Rust
- Host: GitHub
- URL: https://github.com/marc2332/valin
- Owner: marc2332
- License: mit
- Created: 2022-12-07T12:19:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T09:32:23.000Z (4 months ago)
- Last Synced: 2024-10-19T13:17:45.781Z (4 months ago)
- Topics: cross-platform, dioxus, editor, freya, gui, parser, rust
- Language: Rust
- Homepage:
- Size: 3.36 MB
- Stars: 156
- Watchers: 3
- Forks: 4
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Discord Server](https://img.shields.io/discord/1015005816094478347.svg?logo=discord&style=flat-square)](https://discord.gg/SNcFbYmzbq)
# Valin ⚒️
**Valin** ⚒️ is a **Work-In-Progress** cross-platform code editor, made with [Freya 🦀](https://github.com/marc2332/freya) and Rust.
> **Valin** name is derived from [Dvalinn](https://en.wikipedia.org/wiki/Dvalinn) and it was previously known as `freya-editor`.
![Demo](./demo.png)
You can download it from the [Releases](https://github.com/marc2332/valin/releases) page or run it from source code, with `--release` mode if you want max performance.
## Notes
- It currently uses Jetbrains Mono for the text editor, you must have it installed.
- The syntax highlighter is still very generic and is targeted to Rust code at the moment.## Features
- [x] Open folders
- [x] Open files
- [x] Save files
- [x] Generic Syntax highlighting
- [x] Text editing
- [x] Text selection
- [x] Copy
- [x] Paste
- [x] Undo
- [x] Redo
- [x] Files explorer
- [x] Settings
- [ ] Intellisense (Enable with `--lsp`)
- [x] Hover (exprimental, only rust-analyzer atm)
- [ ] Autocomplete
- [ ] Code actions# Shortcuts
- `Alt E`: Toggle focus between the files explorer and the code editors
- `Alt .`: Increase font size
- `Alt ,`: Decrease font size
- `Alt +`: Split Panel
- `Alt -`: Close Panel
- `Alt ArrowsLeft/Right`: Focus the previous/next panels
- `Ctrl W`: Close Tab
- `Esc`: Open Commander
- `Arrows`: Navigate the files explorer when focused
- `Alt ArrowsUp/Down`: Scroll the editor and the cursor with increased speed
- `Ctrl ArrowsUp/Down`: Scroll the cursor with increased speed
- `Ctrl/Meta Z`: Undo
- `Ctrl/Meta Y`: Redo
- `Ctrl/Meta X`: Cut
- `Ctrl/Meta C`: Copy
- `Ctrl/Meta V`: paste
- `Ctrl/Meta S`: Save[MIT License](./LICENSE.md)