Skip to content

Ignore local project settings in the Kate template - #4951

Open
SSuva4 wants to merge 1 commit into
github:mainfrom
SSuva4:kate-local-project-settings
Open

SSuva4 wants to merge 1 commit into
github:mainfrom
SSuva4:kate-local-project-settings

Conversation

@SSuva4

@SSuva4 SSuva4 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Link to the application or project's homepage

Kate

Reasons for making this change

Kate reads .kateproject.local alongside the shared project file and applies its settings as overrides. Ignoring the local file lets contributors customize their editor settings without accidentally committing them.

Verified with git check-ignore in a fresh repository. The original Kate template left the local override visible. With the updated template, Git ignores the override at the root and in a nested project, leaves both corresponding .kateproject files visible, and still ignores Kate swap files.

Links to documentation supporting these rule changes

Kate project plugin implementation defines the filename in projectLocalConfigFileName() and merges its settings when loading the project.

Merge and Approval Steps

@SSuva4
SSuva4 requested a review from a team as a code owner November 30, 2026 18:40
Copilot AI adaptive review requested due to automatic review settings November 30, 2026 18:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The narrowly scoped ignore-pattern update addresses local Kate project settings at any directory depth while preserving shared project files and existing swap-file rules, with no active review issues identified.

No open issues 🎉

What changed in this PR

Updates the global Kate gitignore template to exclude per-project local settings while preserving shared project files and existing swap-file rules.

Changes:

  • Adds .kateproject.local to the Kate ignore template.
  • Ignores local overrides at the repository root and in nested project directories.
File Description
Global/​Kate.gitignore Adds an unanchored .kateproject.local pattern to ignore Kate local project settings at any directory depth.

Review effort: Lite (adaptive)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants