CodeEditSourceEditor
CodeEditSourceEditor copied to clipboard
A code editor view written in Swift powered by tree-sitter.
If i type a new function (e.g.) `function x(` it appends `)` which is great. What is less great, I'm also typing `)`, this will end in `function x ())`,...
As seen in the following code, currently the capture names are provided as string literals. https://github.com/CodeEditApp/CodeEditTextView/blob/d5f5521a642c22895ecd561da94ff6319dbfe423/Sources/CodeEditTextView/STTextViewController%2BTreeSitter.swift#L79-L97 This should be changed to be an `enum` with a raw value of type...
Current line needs to be highlighted and current line number is primary text color.
## Overview This view represents your code in a smaller form. The [VSCode documentation](https://code.visualstudio.com/docs/getstarted/userinterface#_minimap) says in best... > A Minimap (code outline) gives you a high-level overview of your source...
# Overview A completionProvider interface is needed to allow extensions to add code completion suggestions. ## Related API Documentation - [CompletionProvider]( https://github.com/CodeEditApp/documentation/blob/main/api-reference/completion-provider.md) ## Resources - https://code.visualstudio.com/api/references/vscode-api#CompletionItemProvider%3CT%3E - https://github.com/microsoft/vscode-extension-samples/tree/main/completions-sample
The line number font does not align with Xcode. Left: Xcode | Right: CodeEdit The font needs to be sans-serif, narrower, with the color less prominent.
https://github.com/CodeEditApp/CodeEditTextView/blob/9b300d8a37589f4e16719f98d1bf8763940ef0b2/Sources/CodeEditTextView/STTextViewController.swift#L182 Here, this line will be always executed whenever 'Tab' key is pressed, e.g. if the focus is on a other tab or command palette, all open tabs will insert...
Set a minimum height on the textview so that: - Clicking outside of a line with text causes the cursor to appear - Clicking on a line in an empty...
### Description When using a custom font, the editor appears to only apply that font to select areas when the file has syntax highlighting. ### To Reproduce 1. Open CodeEdit...
## Current Situation Currently all `tree-sitter` parsers are fetched from source every time Swift Package Manager resolves dependencies. This can easily take a couple of minutes even with a good...