为什么我写代码时 Sublime Text 3 不跳行?

Why Sublime Text 3 doesn't jump a line when I write codes?

当我在Sublime Text 3代码界面写代码的时候,一直向右滑动,如图。我能为此做什么?

请注意第 10 行。

设置word_wrap控制这个:

// Disables horizontal scrolling if enabled.
// May be set to true, false, or "auto", where it will be disabled for
// source code, and otherwise enabled.
"word_wrap": "auto",

默认值为 auto,如此处所示。如果您将此添加到您自己的设置中并将其设置为 true,它将为您换行,

如果您只想为当前视图(您正在编辑的当前文件)激活自动换行,只需转到view -> word wrap

以防万一您不知道必须在何处添加设置,它在您的设置文件中,您可以转到 Preferences -> Settings - User 打开它,然后将其添加到括号之间 (这是 json)

马特