Skip to content

Conversation

@vksvicky
Copy link
Contributor

@vksvicky vksvicky commented Feb 1, 2026

… status skip unknown types; lint fixes

  • Add wrappedLineIndent setting and UI in Text Editing preferences
  • Add TextEditingSettingsTests for wrapped line indent
  • GitClient+Status: skip unknown porcelain v2 entry types instead of throwing
  • Lint: shorten doc comment, strip trailing whitespace in WorkspaceView
  • CodeFileView: pass wrappedLineIndent when using local CodeEditSourceEditor

Description

Adds support for indent wrapped lines (CodeEditTextView #18) from the CodeEdit side: a new preference and UI so users can choose how many spaces to indent continuation lines when line wrapping is on (e.g. 4 or 12, like Xcode).
The actual wrapping/indent behaviour is implemented in CodeEditTextView/CodeEditSourceEditor; this PR adds the setting and wires it through when those packages expose the API.

Related Issues

Addresses CodeEditTextView #18 (Indent wrapped lines) from the CodeEdit app side (settings + UI). The underlying feature is implemented in CodeEditTextView and CodeEditSourceEditor; this PR adds the preference and passes it through.

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

01  Disabled wrapping 02  Enabled 2 spaces 03  Enabled 8 spaces 04  Enabled 20 spaces

… tests; git status skip unknown types; lint fixes

- Add wrappedLineIndent setting and UI in Text Editing preferences
- Add TextEditingSettingsTests for wrapped line indent
- GitClient+Status: skip unknown porcelain v2 entry types instead of throwing
- Lint: shorten doc comment, strip trailing whitespace in WorkspaceView
- CodeFileView: pass wrappedLineIndent when using local CodeEditSourceEditor
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.

1 participant