Open austincondiff opened 2 years ago
This is do able just not sure where to do it or where to add it in the codebase
Actually I'd prefer the minimap like Xcode rather than VScode. The minimap of Xcode contains more useful features and looks cleaner and much more beautiful. It will definitely take more work to make one like that, but I believe you'll love it too.
@Yellow-GGG I agree the Xcode minimap is far more useful; however at the same time I think it may be wiser to ship a minimap with minimal functionality and then add complexity in future releases.
@tjkohli I completely agree. We need to get something in place first, then we can iterate and improve.
Hey @austincondiff, could you assign this to me? I already got some of the CodeEditorView code working:
This is the current state of the minimap. Still a lot of bugs to fix, but I am getting there slowly...
@thecoolwinter I need to set the bounds of the visibleRange in STTextview+VisibleRange
to the visibleBounds of the MinimapView conditionally. How should I rewrite the code, so that I can pass props to visibleTextRange
variable?
Looks great! Where are we with this?
Unfortunately, I have had little time recently, since I am currently working on my degree.
I have decided that I am going re-implement the minimap in textkit2, instead of textkit1, since the resizing was very laggy. I have also encountered multiple issues like #184, which need to be resolved first, so that the minimap can work properly.
Overview
This view represents your code in a smaller form. The VSCode documentation says in best...
Resources