Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange Plugin Loading and SDL Initialization #1881

Open
wants to merge 48 commits into
base: master
Choose a base branch
from

Conversation

adamharrison
Copy link
Member

Should only be merged after #1455, as this is rebased off of that.

This demotes project and user modules to be the same as every other type of plugin, just inserted slightly differently. It also allows plugins to modify the plugin load order, and insert additional plugins to be loaded; allowing much easier versions of stuff like https://github.com/adamharrison/lite-xl-foreign where custom loaders can load additional plugins in other languages.

I've also taken the liberty of adding a plugin to force a restart on change of project; as project modules stomping on each other is basically a bug currently. Ditto the user module. This now allows you to easily customize this behavior, and removes the weird kinda stomping from the core.

We could theoretically re-add the stomping as a config option for the plugin, but given how problematic it's been, it's probably not the best idea.

…ugin, removed project limit, removed the concept of a project maintaining an ordered list of files, and allowed treeview to see things like hidden files and files not actually in the project.

Normalizing things, fixed typo.

Abstracted root project, and made things more in line with current master behaviour.

Removed unused legacy code, as well as ensured that we use absolute paths.

Fixed issue with backslahes on linux, will look at windows at some point.

Removed stray print.

Removed orphaned function.

Removed extraneous command.

Fixed the ability to close project folders.

Removed superceded function.

Applied jgm's suggestions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant