Bug 409170 - Kate does not have an option for creating a new project
Summary: Kate does not have an option for creating a new project
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 19.04.2
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-25 10:35 UTC by Baltasar
Modified: 2022-01-09 20:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baltasar 2019-06-25 10:35:55 UTC
SUMMARY
Kate does not have an option called "create project" under the projects options menu.

STEPS TO REPRODUCE
1. Activate the projects plugin
2. Browse the projects plugin' options menu.
3. 

OBSERVED RESULT
The projects plugin menu options do only offer to navigate among projects.

EXPECTED RESULT
There should be an option to create a new project.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.59.0
Qt Version:  5.12.3

ADDITIONAL INFORMATION
The plugins project has a very special behaviour when compared to other project managers present in other IDE's or advanced editors.

Most of times, in order to create a project you don't actually need to do anything, provided the files are in a repository (Git, etc.) directory. If the directory is not a repo, then you have to... manually create a .kateproject file.

You cannot, however, configure many aspects from the project (no matter its origin, manual or from repo):
- The files inside that project that are relevant (for example, *.cpp).
- How to build the project.
- etc.

The whole list of possibilities can only be inferred from the plugins documentation page:
https://docs.kde.org/trunk5/en/applications/kate/kate-application-plugin-projects.html

A "new project" dialog could first check if the directory is a git repository and then load the inferred options, so it is possible to fine-tune its behaviour.

If the project is manual, that dialog would be of great help instead of creating a project file manually.
Comment 1 Waqar Ahmed 2021-03-12 20:42:30 UTC
As one of the devs working on Kate, this will never happen from my side at least. Reason is simple, if you want a project with fine tuning, editing a json file is no big deal.

That said, we lack options for fine tuning with git and co so things need to be added. 

Also, https://invent.kde.org/utilities/kate/-/merge_requests/336

Just landed, so you can at least open any directory as project for now.
Comment 2 Waqar Ahmed 2022-01-09 20:25:54 UTC
Since Kate is not an ide and you can create a project by just

Kaye /path/to/folder

I think we can mark this as resolved.