提交 5b09beb1 编写于 作者: K kieferrm

Change default settings. Fixes #26893.

上级 23c6f800
...@@ -2053,7 +2053,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = { ...@@ -2053,7 +2053,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = {
wordWrapBreakAfterCharacters: ' \t})]?|&,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー’”〉》」』】〕)]}」', wordWrapBreakAfterCharacters: ' \t})]?|&,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー’”〉》」』】〕)]}」',
wordWrapBreakObtrusiveCharacters: '.', wordWrapBreakObtrusiveCharacters: '.',
autoClosingBrackets: true, autoClosingBrackets: true,
dragAndDrop: false, dragAndDrop: true,
emptySelectionClipboard: true, emptySelectionClipboard: true,
useTabStops: true, useTabStops: true,
multicursorModifier: 'altKey', multicursorModifier: 'altKey',
...@@ -2081,7 +2081,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = { ...@@ -2081,7 +2081,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = {
renderWhitespace: 'none', renderWhitespace: 'none',
renderControlCharacters: false, renderControlCharacters: false,
fontLigatures: false, fontLigatures: false,
renderIndentGuides: false, renderIndentGuides: true,
renderLineHighlight: 'line', renderLineHighlight: 'line',
scrollbar: { scrollbar: {
vertical: ScrollbarVisibility.Auto, vertical: ScrollbarVisibility.Auto,
...@@ -2098,7 +2098,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = { ...@@ -2098,7 +2098,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = {
mouseWheelScrollSensitivity: 1, mouseWheelScrollSensitivity: 1,
}, },
minimap: { minimap: {
enabled: false, enabled: true,
renderCharacters: true, renderCharacters: true,
maxColumn: 120 maxColumn: 120
}, },
...@@ -2114,7 +2114,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = { ...@@ -2114,7 +2114,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = {
parameterHints: true, parameterHints: true,
iconsInSuggestions: true, iconsInSuggestions: true,
formatOnType: false, formatOnType: false,
formatOnPaste: false, formatOnPaste: true,
suggestOnTriggerCharacters: true, suggestOnTriggerCharacters: true,
acceptSuggestionOnEnter: 'on', acceptSuggestionOnEnter: 'on',
acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnCommitCharacter: true,
......
...@@ -182,7 +182,7 @@ let properties: { [path: string]: IJSONSchema; } = { ...@@ -182,7 +182,7 @@ let properties: { [path: string]: IJSONSchema; } = {
nls.localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'window.openFilesInNewWindow.off' }, "Files will open in the window with the files' folder open or the last active window"), nls.localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'window.openFilesInNewWindow.off' }, "Files will open in the window with the files' folder open or the last active window"),
nls.localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'window.openFilesInNewWindow.default' }, "Files will open in the window with the files' folder open or the last active window unless opened via the dock or from finder (macOS only)") nls.localize({ comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'window.openFilesInNewWindow.default' }, "Files will open in the window with the files' folder open or the last active window unless opened via the dock or from finder (macOS only)")
], ],
'default': 'default', 'default': 'off',
'description': 'description':
nls.localize('openFilesInNewWindow', nls.localize('openFilesInNewWindow',
`Controls if files should open in a new window. `Controls if files should open in a new window.
......
...@@ -171,7 +171,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration) ...@@ -171,7 +171,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
'extensions.autoUpdate': { 'extensions.autoUpdate': {
type: 'boolean', type: 'boolean',
description: localize('extensionsAutoUpdate', "Automatically update extensions"), description: localize('extensionsAutoUpdate', "Automatically update extensions"),
default: false default: true
}, },
'extensions.ignoreRecommendations': { 'extensions.ignoreRecommendations': {
type: 'boolean', type: 'boolean',
......
...@@ -51,6 +51,7 @@ const PERSISTED_THEME_STORAGE_KEY = 'colorThemeData'; ...@@ -51,6 +51,7 @@ const PERSISTED_THEME_STORAGE_KEY = 'colorThemeData';
const defaultThemeExtensionId = 'vscode-theme-defaults'; const defaultThemeExtensionId = 'vscode-theme-defaults';
const oldDefaultThemeExtensionId = 'vscode-theme-colorful-defaults'; const oldDefaultThemeExtensionId = 'vscode-theme-colorful-defaults';
const DEFAULT_ICON_THEME_SETTING_VALUE = 'vs-seti';
const fileIconsEnabledClass = 'file-icons-enabled'; const fileIconsEnabledClass = 'file-icons-enabled';
const themingRegistry = Registry.as<IThemingRegistry>(ThemingExtensions.ThemingContribution); const themingRegistry = Registry.as<IThemingRegistry>(ThemingExtensions.ThemingContribution);
...@@ -962,7 +963,7 @@ const colorThemeSettingSchema: IJSONSchema = { ...@@ -962,7 +963,7 @@ const colorThemeSettingSchema: IJSONSchema = {
}; };
const iconThemeSettingSchema: IJSONSchema = { const iconThemeSettingSchema: IJSONSchema = {
type: ['string', 'null'], type: ['string', 'null'],
default: null, default: DEFAULT_ICON_THEME_SETTING_VALUE,
description: nls.localize('iconTheme', "Specifies the icon theme used in the workbench."), description: nls.localize('iconTheme', "Specifies the icon theme used in the workbench."),
enum: [null], enum: [null],
enumDescriptions: [nls.localize('noIconThemeDesc', 'No file icons')], enumDescriptions: [nls.localize('noIconThemeDesc', 'No file icons')],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册