CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
511 stars 78 forks source link

✨ Indentation Guides #65

Open austincondiff opened 1 year ago

austincondiff commented 1 year ago

We need verticals lines in the editor indicating indentation level along with the option to turn them on or off. By default it will be off.

4FEE4D5E-BFFE-42F1-8579-EBEB374A7005

A6A5861D-C255-4F76-839D-5889D542B02C

BF70E4F2-0A75-40F2-A155-29D9A3C4B2B8

8BBA4512-2E75-477E-8B64-9AC8C1BE85EE

austincondiff commented 1 year ago

Do we want the ability to configure style as seen above? Ie.

So just as an example...

4FEE4D5E-BFFE-42F1-8579-EBEB374A7005 Indicator type: Line Line thickness: 1 Line style: Dotted Highlight current position: Off Color: Monotone

A6A5861D-C255-4F76-839D-5889D542B02C Indicator type: Line Line thickness: 1 Line style: Solid Highlight current position: On Nested Highlighting: Off Color: Monotone

BF70E4F2-0A75-40F2-A155-29D9A3C4B2B8 Indicator type: Line Line thickness: 8 Line style: Solid Highlight current position: Off Color: Monotone Zebra Striping

8BBA4512-2E75-477E-8B64-9AC8C1BE85EE Indicator type: Background Line thickness: 8 Line style: Solid Highlight current position: On Color: Monotone Zebra Striping

austincondiff commented 1 year ago

We will also have the following related settings: Indent level flashing: Off, On (#67) Colorize brackets: Off, On (#39)

We would again default with how Xcode looks but allow for these changes per the users preference.