🐞 Default tab size is incorrect (set to 4 but is only 3), changing it does not work

オープン
#357 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
swift
領域
tooling

調査の方向性

Text Editing 設定から始めて、tab-size の値がエディタービューにどのように到達するかを追跡します。issue では特定のファイルやテストは指定されていません。デフォルトの場合とサイズを変更した場合を、再起動後も含めて再現し、エディターが設定された数のスペースを一貫して使用すれば issue 完了とします。

索引モデルが issue の本文から書いたものです。

説明

bug
Description

The default tab size is set to 4 in settings, but it is actually 3 in the editor window when counted against spaces. Changing the tab size in settings does not change the editor. A restart is also not honouring the changed tab size setting.

To Reproduce
  1. Go to settings->Text Editing
  2. Default tab size is set to 4 spaces and Prefer Indent is set to Tabs
  3. Close Settings.
  4. Type 4 spaces in the editor
  5. Type newline and a tab
  6. Notice that the tab only equals 3 spaces, not 4.
Expected Behavior

Tab size should be equal to the number of spaces set in settings, by default: 4 spaces not 3.

Version Information

CodeEdit: 0.3.6 (47)
macOS: 15.7.1
Xcode: Version 26.1.1 (17B100)

Additional Context

No response

Screenshots
Image Image

Changing tab size to some other value (here: 8) does not change the editor (also not after restart of CodeEdit):

Image
主要言語
Swift
スター
720
フォーク
162
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeEditApp/CodeEditSourceEditor のほかの issue

CodeEditApp/CodeEditSourceEditor の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。