lapce / lapce

Lightning-fast and Powerful Code Editor written in Rust
http://lapce.dev
Apache License 2.0
34.37k stars 1.03k forks source link

Introduce a better way to define the UI #1909

Closed x70b1 closed 9 months ago

x70b1 commented 1 year ago

Is your feature request related to a problem? Please describe.

A common question is how to customize the UI to your own needs. Sometimes some options already exist such as show-bread-crumbs.

Describe the solution you'd like

I have thought of templating for the UI. Each element can be placed in a desired position or hidden. Additionally, a set of options can be defined for each element:

Maybe it's not the best idea. But I think offering config options for everything is also rather not a good idea as it fragments the configuration and there is little consistency.

Additional context

What is the background of my idea?

vscode does not have a very comfortable interface. Happily, there is a plugin that allows extensive customization customize-ui. Microsoft broke it. And it seems like they dont want to rollback the change. There are many PRs for the customizations to support them natively but they have not been worked on for several years now. The extension was installed over 140.000 times. The disappointment is huge: https://github.com/iocave/customize-ui/issues/156

Don't be like Microsoft. Give the user the possibilities from the beginning.

panekj commented 1 year ago

What is currently not possible what you listed?

I looked at the customize-ui issue and I don't see anything we don't provide (tabs are not wasteful, fonts are configurable)

Give the user the possibilities from the beginning.

That's not possible. We don't use a browser engine to render GUI so you can't inject custom CSS. UI configuration will remain at our discretion as it still evolves and depends on many factors.

x70b1 commented 1 year ago

Line height works for editor, but not for UI. I would also like to hide the titlebar. I also dont need a blue SSH button.

But to be honest: That is not my point here.

I followed the discussion at vscode and customize-ui and I have seen the big interesst in personal customization and the fact that its to much to define it in a traditional config file.

As lapce is very young with a great community I just wanted to share this observation.

We don't use a browser engine to render GUI

Very valid point.

panekj commented 9 months ago

Most of the list issues are already opened for tracking or fixed