aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/workspace.lua
AgeCommit message (Collapse)Author
2024-06-21Improvements to core.visited_files handling (#96)Jefferson González
* The maximum amount of visited files is configurable with config.max_visited_files to prevent indefinite addition of visited files * Visited files are cleared when opening a different project * We now use the absolute path instead of relative to prevent issues with multiple project directories * config.max_visited_files added to settings ui plugin * save and restore core.visited_files on the workspace plugin for each project
2023-10-22Save in the `workspace` unsaved named files and `crlf` status (#1597)Guldoman
* Save in the `workspace` unsaved named files * Save in the `workspace` the `crlf` status and restore it for "new" files
2023-07-30Merged Project Rework lite-xl/lite-xl#1455Adam Harrison
* Initial commit to clean up projects; spun off find-file to its own plugin, 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. * Adaptations for project rework. * Removed superceded function. * Applied jgm's suggestions.
2023-07-19plugin workspace: delay workspace loadingjgmdev
This change ensures that any user or project custom settings are first applied or loaded before trying to restore a workspace. Some examples of the issues this can fix: * init.lua - editor config settings inside a co-routine * user_settings.lua - editor config settings loaded after all plugins loaded * project module (.pragtical_project.lua) - applied on project change * etc...
2022-10-09Changed workspace to accommodate other views. (#1121)Adam
* Added in the ability to pull scrolls from views, as all views have the capability of scrolling now.
2022-05-31plugins: dropped --lite-xl version tagjgmdev
2022-04-03Bumping version numbers.Adam Harrison
2022-04-03Fix keeping scroll position when restoring a `DocView` (#910)Guldoman
Since 5526041da32a37a11c9f1400b5eaf6fb82a78254 we check a pair of line&column to decide if we should scroll to the cursor. Previously we only considered a single line&column.
2021-08-172.0 changelog and modversion updates.Adam Harrison
2021-06-08Fix error in workspace file error reportingFrancesco Abbate
2021-06-04Do not save log views in session fileFrancesco Abbate
2021-06-04Do not show empty documents when restoring sessionFrancesco Abbate
When a filename cannot be read when restoring a session do not create a document. Previous behavior was to create an empty "unsaved" document.
2021-05-05Introduce new plugin versioning tag mod-versionFrancesco Abbate
New plugins should use the version tag: -- mod-version: 1 The old version tag "-- lite-xl 1.16" will be considerer equivalent to mod-version 1.
2021-04-06Add plugin verification by version tagFrancesco Abbate
2021-03-06Ensure filename are store relative to project directoryFrancesco Abbate
2021-01-10Fix problem when project directory has a trailing slashFrancesco Abbate
2021-01-03Write workspace information in lite-xl config directoryFrancesco Abbate
2021-01-03Fix directories management to always keep the project's directoryFrancesco Abbate
2020-12-31Fix problem in workspace for relative directoryFrancesco Abbate
2020-12-30Fix problems with project files and project directoriesFrancesco Abbate
Now treat coherently the case when the project directory is removed from the project directories.
2020-12-30Fix project change and quit versus workspace pluginFrancesco Abbate
2020-12-30Create common.serialize functionFrancesco Abbate
2020-12-29Add support for project directories in workspace pluginFrancesco Abbate
2020-12-29Import workspace plugin from franko/lite-pluginsFrancesco Abbate