@lvce-editor/settings-view 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/settingsViewWorkerMain.js +220 -204
- package/package.json +1 -1
|
@@ -2816,375 +2816,391 @@ const unknownSettingType = () => {
|
|
|
2816
2816
|
return i18nString(UnknownSettingType);
|
|
2817
2817
|
};
|
|
2818
2818
|
|
|
2819
|
-
const
|
|
2819
|
+
const getSettingItemsApplications = () => {
|
|
2820
2820
|
return [{
|
|
2821
|
-
id: '
|
|
2821
|
+
id: 'telemetry',
|
|
2822
|
+
heading: telemetry(),
|
|
2823
|
+
description: telemetryDescription(),
|
|
2824
|
+
type: Boolean$1,
|
|
2825
|
+
value: 'true',
|
|
2826
|
+
category: ApplicationsTab
|
|
2827
|
+
}, {
|
|
2828
|
+
id: 'updates',
|
|
2829
|
+
heading: autoUpdates(),
|
|
2830
|
+
description: autoUpdatesDescription(),
|
|
2831
|
+
type: Boolean$1,
|
|
2832
|
+
value: 'true',
|
|
2833
|
+
category: ApplicationsTab
|
|
2834
|
+
}];
|
|
2835
|
+
};
|
|
2836
|
+
|
|
2837
|
+
const getSettingItemsEditor = () => {
|
|
2838
|
+
return [{
|
|
2839
|
+
id: 'editor.fontSize',
|
|
2822
2840
|
heading: fontSize(),
|
|
2823
2841
|
description: fontSizeDescription(),
|
|
2824
2842
|
type: Number$1,
|
|
2825
2843
|
value: 15,
|
|
2826
2844
|
category: TextEditorTab
|
|
2827
2845
|
}, {
|
|
2828
|
-
id: '
|
|
2846
|
+
id: 'editor.fontFamily',
|
|
2829
2847
|
heading: fontFamily(),
|
|
2830
2848
|
description: fontFamilyDescription(),
|
|
2831
2849
|
type: String,
|
|
2832
2850
|
value: 'Fira Code',
|
|
2833
2851
|
category: TextEditorTab
|
|
2834
|
-
},
|
|
2835
|
-
|
|
2836
|
-
{
|
|
2837
|
-
id: 'Editor.wordWrap',
|
|
2852
|
+
}, {
|
|
2853
|
+
id: 'editor.wordWrap',
|
|
2838
2854
|
heading: wordWrap(),
|
|
2839
2855
|
description: wordWrapDescription(),
|
|
2840
2856
|
type: Enum,
|
|
2841
2857
|
value: 'off',
|
|
2842
2858
|
category: TextEditorTab,
|
|
2843
2859
|
options: [{
|
|
2844
|
-
id: 'on',
|
|
2860
|
+
id: 'editor.on',
|
|
2845
2861
|
label: 'On' // i18n
|
|
2846
2862
|
}, {
|
|
2847
|
-
id: 'off',
|
|
2863
|
+
id: 'editor.off',
|
|
2848
2864
|
label: 'off' // i18n
|
|
2849
2865
|
}]
|
|
2850
2866
|
}, {
|
|
2851
|
-
id: '
|
|
2867
|
+
id: 'editor.lineNumbers',
|
|
2852
2868
|
heading: lineNumbers(),
|
|
2853
2869
|
description: lineNumbersDescription(),
|
|
2854
2870
|
type: Enum,
|
|
2855
2871
|
value: 'on',
|
|
2856
2872
|
category: TextEditorTab,
|
|
2857
2873
|
options: [{
|
|
2858
|
-
id: 'on',
|
|
2874
|
+
id: 'editor.on',
|
|
2859
2875
|
label: 'On' // i18n
|
|
2860
2876
|
}, {
|
|
2861
|
-
id: 'off',
|
|
2877
|
+
id: 'editor.off',
|
|
2862
2878
|
label: 'off' // i18n
|
|
2863
2879
|
}]
|
|
2864
2880
|
}, {
|
|
2865
|
-
id: '
|
|
2881
|
+
id: 'editor.minimap',
|
|
2866
2882
|
heading: minimap(),
|
|
2867
2883
|
description: minimapDescription(),
|
|
2868
2884
|
type: Boolean$1,
|
|
2869
2885
|
value: 'true',
|
|
2870
2886
|
category: TextEditorTab
|
|
2871
2887
|
}, {
|
|
2872
|
-
id: '
|
|
2888
|
+
id: 'editor.scrollBeyondLastLine',
|
|
2873
2889
|
heading: scrollBeyondLastLine(),
|
|
2874
2890
|
description: scrollBeyondLastLineDescription(),
|
|
2875
2891
|
type: Boolean$1,
|
|
2876
2892
|
value: 'false',
|
|
2877
2893
|
category: TextEditorTab
|
|
2878
2894
|
}, {
|
|
2879
|
-
id: '
|
|
2895
|
+
id: 'editor.smoothScrolling',
|
|
2880
2896
|
heading: smoothScrolling(),
|
|
2881
2897
|
description: smoothScrollingDescription(),
|
|
2882
2898
|
type: Boolean$1,
|
|
2883
2899
|
value: 'true',
|
|
2884
2900
|
category: TextEditorTab
|
|
2885
2901
|
}, {
|
|
2886
|
-
id: '
|
|
2902
|
+
id: 'editor.cursorBlinking',
|
|
2887
2903
|
heading: cursorBlinking(),
|
|
2888
2904
|
description: cursorBlinkingDescription(),
|
|
2889
2905
|
type: String,
|
|
2890
2906
|
value: 'blink',
|
|
2891
2907
|
category: TextEditorTab
|
|
2892
2908
|
}, {
|
|
2893
|
-
id: '
|
|
2909
|
+
id: 'editor.cursorStyle',
|
|
2894
2910
|
heading: cursorStyle(),
|
|
2895
2911
|
description: cursorStyleDescription(),
|
|
2896
2912
|
type: String,
|
|
2897
2913
|
value: 'line',
|
|
2898
2914
|
category: TextEditorTab
|
|
2899
2915
|
}, {
|
|
2900
|
-
id: '
|
|
2916
|
+
id: 'editor.cursorWidth',
|
|
2901
2917
|
heading: cursorWidth(),
|
|
2902
2918
|
description: cursorWidthDescription(),
|
|
2903
2919
|
type: Number$1,
|
|
2904
2920
|
value: '0',
|
|
2905
2921
|
category: TextEditorTab
|
|
2906
2922
|
}, {
|
|
2907
|
-
id: '
|
|
2923
|
+
id: 'editor.tabSize',
|
|
2908
2924
|
heading: tabSize(),
|
|
2909
2925
|
description: tabSizeDescription(),
|
|
2910
2926
|
type: Number$1,
|
|
2911
2927
|
value: '4',
|
|
2912
2928
|
category: TextEditorTab
|
|
2913
2929
|
}, {
|
|
2914
|
-
id: '
|
|
2930
|
+
id: 'editor.insertSpaces',
|
|
2915
2931
|
heading: insertSpaces(),
|
|
2916
2932
|
description: insertSpacesDescription(),
|
|
2917
2933
|
type: Boolean$1,
|
|
2918
2934
|
value: 'true',
|
|
2919
2935
|
category: TextEditorTab
|
|
2920
2936
|
}, {
|
|
2921
|
-
id: '
|
|
2937
|
+
id: 'editor.detectIndentation',
|
|
2922
2938
|
heading: detectIndentation(),
|
|
2923
2939
|
description: detectIndentationDescription(),
|
|
2924
2940
|
type: Boolean$1,
|
|
2925
2941
|
value: 'true',
|
|
2926
2942
|
category: TextEditorTab
|
|
2927
2943
|
}, {
|
|
2928
|
-
id: '
|
|
2944
|
+
id: 'editor.trimAutoWhitespace',
|
|
2929
2945
|
heading: trimAutoWhitespace(),
|
|
2930
2946
|
description: trimAutoWhitespaceDescription(),
|
|
2931
2947
|
type: Boolean$1,
|
|
2932
2948
|
value: 'true',
|
|
2933
2949
|
category: TextEditorTab
|
|
2934
2950
|
}, {
|
|
2935
|
-
id: '
|
|
2951
|
+
id: 'editor.largeFileOptimizations',
|
|
2936
2952
|
heading: largeFileOptimizations(),
|
|
2937
2953
|
description: largeFileOptimizationsDescription(),
|
|
2938
2954
|
type: Boolean$1,
|
|
2939
2955
|
value: 'true',
|
|
2940
2956
|
category: TextEditorTab
|
|
2941
2957
|
}, {
|
|
2942
|
-
id: '
|
|
2958
|
+
id: 'editor.renderWhitespace',
|
|
2943
2959
|
heading: renderWhitespace(),
|
|
2944
2960
|
description: renderWhitespaceDescription(),
|
|
2945
2961
|
type: String,
|
|
2946
2962
|
value: 'selection',
|
|
2947
2963
|
category: TextEditorTab
|
|
2948
2964
|
}, {
|
|
2949
|
-
id: '
|
|
2965
|
+
id: 'editor.renderControlCharacters',
|
|
2950
2966
|
heading: renderControlCharacters(),
|
|
2951
2967
|
description: renderControlCharactersDescription(),
|
|
2952
2968
|
type: Boolean$1,
|
|
2953
2969
|
value: 'false',
|
|
2954
2970
|
category: TextEditorTab
|
|
2955
2971
|
}, {
|
|
2956
|
-
id: '
|
|
2972
|
+
id: 'editor.renderLineHighlight',
|
|
2957
2973
|
heading: renderLineHighlight(),
|
|
2958
2974
|
description: renderLineHighlightDescription(),
|
|
2959
2975
|
type: String,
|
|
2960
2976
|
value: 'line',
|
|
2961
2977
|
category: TextEditorTab
|
|
2962
2978
|
}, {
|
|
2963
|
-
id: '
|
|
2979
|
+
id: 'editor.codeLens',
|
|
2964
2980
|
heading: codeLens(),
|
|
2965
2981
|
description: codeLensDescription(),
|
|
2966
2982
|
type: Boolean$1,
|
|
2967
2983
|
value: 'true',
|
|
2968
2984
|
category: TextEditorTab
|
|
2969
2985
|
}, {
|
|
2970
|
-
id: '
|
|
2986
|
+
id: 'editor.folding',
|
|
2971
2987
|
heading: folding(),
|
|
2972
2988
|
description: foldingDescription(),
|
|
2973
2989
|
type: Boolean$1,
|
|
2974
2990
|
value: 'true',
|
|
2975
2991
|
category: TextEditorTab
|
|
2976
2992
|
}, {
|
|
2977
|
-
id: '
|
|
2993
|
+
id: 'editor.showFoldingControls',
|
|
2978
2994
|
heading: showFoldingControls(),
|
|
2979
2995
|
description: showFoldingControlsDescription(),
|
|
2980
2996
|
type: String,
|
|
2981
2997
|
value: 'mouseover',
|
|
2982
2998
|
category: TextEditorTab
|
|
2983
2999
|
}, {
|
|
2984
|
-
id: '
|
|
3000
|
+
id: 'editor.unfoldOnClickAfterEnd',
|
|
2985
3001
|
heading: unfoldOnClickAfterEnd(),
|
|
2986
3002
|
description: unfoldOnClickAfterEndDescription(),
|
|
2987
3003
|
type: Boolean$1,
|
|
2988
3004
|
value: 'false',
|
|
2989
3005
|
category: TextEditorTab
|
|
2990
3006
|
}, {
|
|
2991
|
-
id: '
|
|
3007
|
+
id: 'editor.links',
|
|
2992
3008
|
heading: links(),
|
|
2993
3009
|
description: linksDescription(),
|
|
2994
3010
|
type: Boolean$1,
|
|
2995
3011
|
value: 'true',
|
|
2996
3012
|
category: TextEditorTab
|
|
2997
3013
|
}, {
|
|
2998
|
-
id: 'colorDecorators',
|
|
3014
|
+
id: 'editor.colorDecorators',
|
|
2999
3015
|
heading: colorDecorators(),
|
|
3000
3016
|
description: colorDecoratorsDescription(),
|
|
3001
3017
|
type: Boolean$1,
|
|
3002
3018
|
value: 'true',
|
|
3003
3019
|
category: TextEditorTab
|
|
3004
3020
|
}, {
|
|
3005
|
-
id: 'lightbulb',
|
|
3021
|
+
id: 'editor.lightbulb',
|
|
3006
3022
|
heading: lightbulb(),
|
|
3007
3023
|
description: lightbulbDescription(),
|
|
3008
3024
|
type: Boolean$1,
|
|
3009
3025
|
value: 'true',
|
|
3010
3026
|
category: TextEditorTab
|
|
3011
3027
|
}, {
|
|
3012
|
-
id: 'codeActionsOnSave',
|
|
3028
|
+
id: 'editor.codeActionsOnSave',
|
|
3013
3029
|
heading: codeActionsOnSave(),
|
|
3014
3030
|
description: codeActionsOnSaveDescription(),
|
|
3015
3031
|
type: Boolean$1,
|
|
3016
3032
|
value: 'false',
|
|
3017
3033
|
category: TextEditorTab
|
|
3018
3034
|
}, {
|
|
3019
|
-
id: 'formatOnPaste',
|
|
3035
|
+
id: 'editor.formatOnPaste',
|
|
3020
3036
|
heading: formatOnPaste(),
|
|
3021
3037
|
description: formatOnPasteDescription(),
|
|
3022
3038
|
type: Boolean$1,
|
|
3023
3039
|
value: 'false',
|
|
3024
3040
|
category: TextEditorTab
|
|
3025
3041
|
}, {
|
|
3026
|
-
id: 'formatOnType',
|
|
3042
|
+
id: 'editor.formatOnType',
|
|
3027
3043
|
heading: formatOnType(),
|
|
3028
3044
|
description: formatOnTypeDescription(),
|
|
3029
3045
|
type: Boolean$1,
|
|
3030
3046
|
value: 'false',
|
|
3031
3047
|
category: TextEditorTab
|
|
3032
3048
|
}, {
|
|
3033
|
-
id: 'acceptSuggestionOnCommitCharacter',
|
|
3049
|
+
id: 'editor.acceptSuggestionOnCommitCharacter',
|
|
3034
3050
|
heading: acceptSuggestionOnCommitCharacter(),
|
|
3035
3051
|
description: acceptSuggestionOnCommitCharacterDescription(),
|
|
3036
3052
|
type: Boolean$1,
|
|
3037
3053
|
value: 'true',
|
|
3038
3054
|
category: TextEditorTab
|
|
3039
3055
|
}, {
|
|
3040
|
-
id: 'acceptSuggestionOnEnter',
|
|
3056
|
+
id: 'editor.acceptSuggestionOnEnter',
|
|
3041
3057
|
heading: acceptSuggestionOnEnter(),
|
|
3042
3058
|
description: acceptSuggestionOnEnterDescription(),
|
|
3043
3059
|
type: String,
|
|
3044
3060
|
value: 'on',
|
|
3045
3061
|
category: TextEditorTab
|
|
3046
3062
|
}, {
|
|
3047
|
-
id: 'tabCompletion',
|
|
3063
|
+
id: 'editor.tabCompletion',
|
|
3048
3064
|
heading: tabCompletion(),
|
|
3049
3065
|
description: tabCompletionDescription(),
|
|
3050
3066
|
type: String,
|
|
3051
3067
|
value: 'on',
|
|
3052
3068
|
category: TextEditorTab
|
|
3053
3069
|
}, {
|
|
3054
|
-
id: 'wordBasedSuggestions',
|
|
3070
|
+
id: 'editor.wordBasedSuggestions',
|
|
3055
3071
|
heading: wordBasedSuggestions(),
|
|
3056
3072
|
description: wordBasedSuggestionsDescription(),
|
|
3057
3073
|
type: Boolean$1,
|
|
3058
3074
|
value: 'true',
|
|
3059
3075
|
category: TextEditorTab
|
|
3060
3076
|
}, {
|
|
3061
|
-
id: 'suggestOnTriggerCharacters',
|
|
3077
|
+
id: 'editor.suggestOnTriggerCharacters',
|
|
3062
3078
|
heading: suggestOnTriggerCharacters(),
|
|
3063
3079
|
description: suggestOnTriggerCharactersDescription(),
|
|
3064
3080
|
type: Boolean$1,
|
|
3065
3081
|
value: 'true',
|
|
3066
3082
|
category: TextEditorTab
|
|
3067
3083
|
}, {
|
|
3068
|
-
id: 'quickSuggestions',
|
|
3084
|
+
id: 'editor.quickSuggestions',
|
|
3069
3085
|
heading: quickSuggestions(),
|
|
3070
3086
|
description: quickSuggestionsDescription(),
|
|
3071
3087
|
type: Boolean$1,
|
|
3072
3088
|
value: 'true',
|
|
3073
3089
|
category: TextEditorTab
|
|
3074
3090
|
}, {
|
|
3075
|
-
id: 'parameterHints',
|
|
3091
|
+
id: 'editor.parameterHints',
|
|
3076
3092
|
heading: parameterHints(),
|
|
3077
3093
|
description: parameterHintsDescription(),
|
|
3078
3094
|
type: Boolean$1,
|
|
3079
3095
|
value: 'true',
|
|
3080
3096
|
category: TextEditorTab
|
|
3081
3097
|
}, {
|
|
3082
|
-
id: 'autoClosingBrackets',
|
|
3098
|
+
id: 'editor.autoClosingBrackets',
|
|
3083
3099
|
heading: autoClosingBrackets(),
|
|
3084
3100
|
description: autoClosingBracketsDescription(),
|
|
3085
3101
|
type: String,
|
|
3086
3102
|
value: 'always',
|
|
3087
3103
|
category: TextEditorTab
|
|
3088
3104
|
}, {
|
|
3089
|
-
id: 'autoClosingQuotes',
|
|
3105
|
+
id: 'editor.autoClosingQuotes',
|
|
3090
3106
|
heading: autoClosingQuotes(),
|
|
3091
3107
|
description: autoClosingQuotesDescription(),
|
|
3092
3108
|
type: String,
|
|
3093
3109
|
value: 'always',
|
|
3094
3110
|
category: TextEditorTab
|
|
3095
3111
|
}, {
|
|
3096
|
-
id: 'autoClosingOvertype',
|
|
3112
|
+
id: 'editor.autoClosingOvertype',
|
|
3097
3113
|
heading: autoClosingOvertype(),
|
|
3098
3114
|
description: autoClosingOvertypeDescription(),
|
|
3099
3115
|
type: String,
|
|
3100
3116
|
value: 'auto',
|
|
3101
3117
|
category: TextEditorTab
|
|
3102
3118
|
}, {
|
|
3103
|
-
id: 'autoClosingDelete',
|
|
3119
|
+
id: 'editor.autoClosingDelete',
|
|
3104
3120
|
heading: autoClosingDelete(),
|
|
3105
3121
|
description: autoClosingDeleteDescription(),
|
|
3106
3122
|
type: String,
|
|
3107
3123
|
value: 'auto',
|
|
3108
3124
|
category: TextEditorTab
|
|
3109
3125
|
}, {
|
|
3110
|
-
id: 'autoSurround',
|
|
3126
|
+
id: 'editor.autoSurround',
|
|
3111
3127
|
heading: autoSurround(),
|
|
3112
3128
|
description: autoSurroundDescription(),
|
|
3113
3129
|
type: String,
|
|
3114
3130
|
value: 'quotes',
|
|
3115
3131
|
category: TextEditorTab
|
|
3116
3132
|
}, {
|
|
3117
|
-
id: 'bracketPairColorization',
|
|
3133
|
+
id: 'editor.bracketPairColorization',
|
|
3118
3134
|
heading: bracketPairColorization(),
|
|
3119
3135
|
description: bracketPairColorizationDescription(),
|
|
3120
3136
|
type: Boolean$1,
|
|
3121
3137
|
value: 'true',
|
|
3122
3138
|
category: TextEditorTab
|
|
3123
3139
|
}, {
|
|
3124
|
-
id: 'guides',
|
|
3140
|
+
id: 'editor.guides',
|
|
3125
3141
|
heading: guides(),
|
|
3126
3142
|
description: guidesDescription(),
|
|
3127
3143
|
type: Boolean$1,
|
|
3128
3144
|
value: 'true',
|
|
3129
3145
|
category: TextEditorTab
|
|
3130
3146
|
}, {
|
|
3131
|
-
id: 'dragAndDrop',
|
|
3147
|
+
id: 'editor.dragAndDrop',
|
|
3132
3148
|
heading: dragAndDrop(),
|
|
3133
3149
|
description: dragAndDropDescription(),
|
|
3134
3150
|
type: Boolean$1,
|
|
3135
3151
|
value: 'true',
|
|
3136
3152
|
category: TextEditorTab
|
|
3137
3153
|
}, {
|
|
3138
|
-
id: 'copyWithSyntaxHighlighting',
|
|
3154
|
+
id: 'editor.copyWithSyntaxHighlighting',
|
|
3139
3155
|
heading: copyWithSyntaxHighlighting(),
|
|
3140
3156
|
description: copyWithSyntaxHighlightingDescription(),
|
|
3141
3157
|
type: Boolean$1,
|
|
3142
3158
|
value: 'true',
|
|
3143
3159
|
category: TextEditorTab
|
|
3144
3160
|
}, {
|
|
3145
|
-
id: 'multiCursorModifier',
|
|
3161
|
+
id: 'editor.multiCursorModifier',
|
|
3146
3162
|
heading: multiCursorModifier(),
|
|
3147
3163
|
description: multiCursorModifierDescription(),
|
|
3148
3164
|
type: String,
|
|
3149
3165
|
value: 'alt',
|
|
3150
3166
|
category: TextEditorTab
|
|
3151
3167
|
}, {
|
|
3152
|
-
id: 'multiCursorPaste',
|
|
3168
|
+
id: 'editor.multiCursorPaste',
|
|
3153
3169
|
heading: multiCursorPaste(),
|
|
3154
3170
|
description: multiCursorPasteDescription(),
|
|
3155
3171
|
type: String,
|
|
3156
3172
|
value: 'full',
|
|
3157
3173
|
category: TextEditorTab
|
|
3158
3174
|
}, {
|
|
3159
|
-
id: 'occurrencesHighlight',
|
|
3175
|
+
id: 'editor.occurrencesHighlight',
|
|
3160
3176
|
heading: occurrencesHighlight(),
|
|
3161
3177
|
description: occurrencesHighlightDescription(),
|
|
3162
3178
|
type: Boolean$1,
|
|
3163
3179
|
value: 'true',
|
|
3164
3180
|
category: TextEditorTab
|
|
3165
3181
|
}, {
|
|
3166
|
-
id: 'selectionHighlight',
|
|
3182
|
+
id: 'editor.selectionHighlight',
|
|
3167
3183
|
heading: selectionHighlight(),
|
|
3168
3184
|
description: selectionHighlightDescription(),
|
|
3169
3185
|
type: Boolean$1,
|
|
3170
3186
|
value: 'true',
|
|
3171
3187
|
category: TextEditorTab
|
|
3172
3188
|
}, {
|
|
3173
|
-
id: 'semanticHighlighting',
|
|
3189
|
+
id: 'editor.semanticHighlighting',
|
|
3174
3190
|
heading: semanticHighlighting(),
|
|
3175
3191
|
description: semanticHighlightingDescription(),
|
|
3176
3192
|
type: Boolean$1,
|
|
3177
3193
|
value: 'true',
|
|
3178
3194
|
category: TextEditorTab
|
|
3179
3195
|
}, {
|
|
3180
|
-
id: 'tokenColorCustomizations',
|
|
3196
|
+
id: 'editor.tokenColorCustomizations',
|
|
3181
3197
|
heading: tokenColorCustomizations(),
|
|
3182
3198
|
description: tokenColorCustomizationsDescription(),
|
|
3183
3199
|
type: String,
|
|
3184
3200
|
value: '{}',
|
|
3185
3201
|
category: TextEditorTab
|
|
3186
3202
|
}, {
|
|
3187
|
-
id: 'workbenchColorCustomizations',
|
|
3203
|
+
id: 'editor.workbenchColorCustomizations',
|
|
3188
3204
|
heading: workbenchColorCustomizations(),
|
|
3189
3205
|
description: workbenchColorCustomizationsDescription(),
|
|
3190
3206
|
type: String,
|
|
@@ -3198,491 +3214,483 @@ const getSettingItems = async () => {
|
|
|
3198
3214
|
value: '{}',
|
|
3199
3215
|
category: TextEditorTab
|
|
3200
3216
|
}, {
|
|
3201
|
-
id: 'diffEditor',
|
|
3217
|
+
id: 'editor.diffEditor',
|
|
3202
3218
|
heading: diffEditor(),
|
|
3203
3219
|
description: diffEditorDescription(),
|
|
3204
3220
|
type: Boolean$1,
|
|
3205
3221
|
value: 'true',
|
|
3206
3222
|
category: TextEditorTab
|
|
3207
3223
|
}, {
|
|
3208
|
-
id: 'diffWordWrap',
|
|
3224
|
+
id: 'editor.diffWordWrap',
|
|
3209
3225
|
heading: diffWordWrap(),
|
|
3210
3226
|
description: diffWordWrapDescription(),
|
|
3211
3227
|
type: String,
|
|
3212
3228
|
value: 'inherit',
|
|
3213
3229
|
category: TextEditorTab
|
|
3214
3230
|
}, {
|
|
3215
|
-
id: 'diffCodeLens',
|
|
3231
|
+
id: 'editor.diffCodeLens',
|
|
3216
3232
|
heading: diffCodeLens(),
|
|
3217
3233
|
description: diffCodeLensDescription(),
|
|
3218
3234
|
type: Boolean$1,
|
|
3219
3235
|
value: 'true',
|
|
3220
3236
|
category: TextEditorTab
|
|
3221
3237
|
}, {
|
|
3222
|
-
id: 'diffRenderSideBySide',
|
|
3238
|
+
id: 'editor.diffRenderSideBySide',
|
|
3223
3239
|
heading: diffRenderSideBySide(),
|
|
3224
3240
|
description: diffRenderSideBySideDescription(),
|
|
3225
3241
|
type: Boolean$1,
|
|
3226
3242
|
value: 'true',
|
|
3227
3243
|
category: TextEditorTab
|
|
3228
3244
|
}, {
|
|
3229
|
-
id: 'diffIgnoreTrimWhitespace',
|
|
3245
|
+
id: 'editor.diffIgnoreTrimWhitespace',
|
|
3230
3246
|
heading: diffIgnoreTrimWhitespace(),
|
|
3231
3247
|
description: diffIgnoreTrimWhitespaceDescription(),
|
|
3232
3248
|
type: Boolean$1,
|
|
3233
3249
|
value: 'false',
|
|
3234
3250
|
category: TextEditorTab
|
|
3235
3251
|
}, {
|
|
3236
|
-
id: 'diffRenderIndicators',
|
|
3252
|
+
id: 'editor.diffRenderIndicators',
|
|
3237
3253
|
heading: diffRenderIndicators(),
|
|
3238
3254
|
description: diffRenderIndicatorsDescription(),
|
|
3239
3255
|
type: Boolean$1,
|
|
3240
3256
|
value: 'true',
|
|
3241
3257
|
category: TextEditorTab
|
|
3242
3258
|
}, {
|
|
3243
|
-
id: 'diffRenderOverviewRuler',
|
|
3259
|
+
id: 'editor.diffRenderOverviewRuler',
|
|
3244
3260
|
heading: diffRenderOverviewRuler(),
|
|
3245
3261
|
description: diffRenderOverviewRulerDescription(),
|
|
3246
3262
|
type: Boolean$1,
|
|
3247
3263
|
value: 'true',
|
|
3248
3264
|
category: TextEditorTab
|
|
3249
3265
|
}, {
|
|
3250
|
-
id: 'diffRenderMarginRevertIcon',
|
|
3266
|
+
id: 'editor.diffRenderMarginRevertIcon',
|
|
3251
3267
|
heading: diffRenderMarginRevertIcon(),
|
|
3252
3268
|
description: diffRenderMarginRevertIconDescription(),
|
|
3253
3269
|
type: Boolean$1,
|
|
3254
3270
|
value: 'true',
|
|
3255
3271
|
category: TextEditorTab
|
|
3256
|
-
},
|
|
3257
|
-
|
|
3258
|
-
{
|
|
3259
|
-
id: 'insertMode',
|
|
3272
|
+
}, {
|
|
3273
|
+
id: 'editor.insertMode',
|
|
3260
3274
|
heading: insertMode(),
|
|
3261
3275
|
description: insertModeDescription(),
|
|
3262
3276
|
type: Boolean$1,
|
|
3263
3277
|
value: 'true',
|
|
3264
3278
|
category: TextEditorTab
|
|
3265
3279
|
}, {
|
|
3266
|
-
id: 'overwriteMode',
|
|
3280
|
+
id: 'editor.overwriteMode',
|
|
3267
3281
|
heading: overwriteMode(),
|
|
3268
3282
|
description: overwriteModeDescription(),
|
|
3269
3283
|
type: Boolean$1,
|
|
3270
3284
|
value: 'false',
|
|
3271
3285
|
category: TextEditorTab
|
|
3272
3286
|
}, {
|
|
3273
|
-
id: 'readOnly',
|
|
3287
|
+
id: 'editor.readOnly',
|
|
3274
3288
|
heading: readOnly(),
|
|
3275
3289
|
description: readOnlyDescription(),
|
|
3276
3290
|
type: Boolean$1,
|
|
3277
3291
|
value: 'false',
|
|
3278
3292
|
category: TextEditorTab
|
|
3279
3293
|
}, {
|
|
3280
|
-
id: 'accessibilitySupport',
|
|
3294
|
+
id: 'editor.accessibilitySupport',
|
|
3281
3295
|
heading: accessibilitySupport(),
|
|
3282
3296
|
description: accessibilitySupportDescription(),
|
|
3283
3297
|
type: String,
|
|
3284
3298
|
value: 'auto',
|
|
3285
3299
|
category: TextEditorTab
|
|
3286
3300
|
}, {
|
|
3287
|
-
id: 'autoIndent',
|
|
3301
|
+
id: 'editor.autoIndent',
|
|
3288
3302
|
heading: autoIndent(),
|
|
3289
3303
|
description: autoIndentDescription(),
|
|
3290
3304
|
type: Boolean$1,
|
|
3291
3305
|
value: 'true',
|
|
3292
3306
|
category: TextEditorTab
|
|
3293
3307
|
}, {
|
|
3294
|
-
id: 'bracketMatching',
|
|
3308
|
+
id: 'editor.bracketMatching',
|
|
3295
3309
|
heading: bracketMatching(),
|
|
3296
3310
|
description: bracketMatchingDescription(),
|
|
3297
3311
|
type: Boolean$1,
|
|
3298
3312
|
value: 'true',
|
|
3299
3313
|
category: TextEditorTab
|
|
3300
3314
|
}, {
|
|
3301
|
-
id: 'centeredLayout',
|
|
3315
|
+
id: 'editor.centeredLayout',
|
|
3302
3316
|
heading: centeredLayout(),
|
|
3303
3317
|
description: centeredLayoutDescription(),
|
|
3304
3318
|
type: Boolean$1,
|
|
3305
3319
|
value: 'false',
|
|
3306
3320
|
category: TextEditorTab
|
|
3307
3321
|
}, {
|
|
3308
|
-
id: 'columnSelection',
|
|
3322
|
+
id: 'editor.columnSelection',
|
|
3309
3323
|
heading: columnSelection(),
|
|
3310
3324
|
description: columnSelectionDescription(),
|
|
3311
3325
|
type: Boolean$1,
|
|
3312
3326
|
value: 'false',
|
|
3313
3327
|
category: TextEditorTab
|
|
3314
3328
|
}, {
|
|
3315
|
-
id: 'contextmenu',
|
|
3329
|
+
id: 'editor.contextmenu',
|
|
3316
3330
|
heading: contextmenu(),
|
|
3317
3331
|
description: contextmenuDescription(),
|
|
3318
3332
|
type: Boolean$1,
|
|
3319
3333
|
value: 'true',
|
|
3320
3334
|
category: TextEditorTab
|
|
3321
3335
|
}, {
|
|
3322
|
-
id: 'cursorSmoothCaretAnimation',
|
|
3336
|
+
id: 'editor.cursorSmoothCaretAnimation',
|
|
3323
3337
|
heading: cursorSmoothCaretAnimation(),
|
|
3324
3338
|
description: cursorSmoothCaretAnimationDescription(),
|
|
3325
3339
|
type: String,
|
|
3326
3340
|
value: 'off',
|
|
3327
3341
|
category: TextEditorTab
|
|
3328
3342
|
}, {
|
|
3329
|
-
id: 'cursorSurroundingLines',
|
|
3343
|
+
id: 'editor.cursorSurroundingLines',
|
|
3330
3344
|
heading: cursorSurroundingLines(),
|
|
3331
3345
|
description: cursorSurroundingLinesDescription(),
|
|
3332
3346
|
type: Number$1,
|
|
3333
3347
|
value: '3',
|
|
3334
3348
|
category: TextEditorTab
|
|
3335
3349
|
}, {
|
|
3336
|
-
id: 'cursorSurroundingLinesStyle',
|
|
3350
|
+
id: 'editor.cursorSurroundingLinesStyle',
|
|
3337
3351
|
heading: cursorSurroundingLinesStyle(),
|
|
3338
3352
|
description: cursorSurroundingLinesStyleDescription(),
|
|
3339
3353
|
type: String,
|
|
3340
3354
|
value: 'all',
|
|
3341
3355
|
category: TextEditorTab
|
|
3342
3356
|
}, {
|
|
3343
|
-
id: 'disableMonospaceOptimizations',
|
|
3357
|
+
id: 'editor.disableMonospaceOptimizations',
|
|
3344
3358
|
heading: disableMonospaceOptimizations(),
|
|
3345
3359
|
description: disableMonospaceOptimizationsDescription(),
|
|
3346
3360
|
type: Boolean$1,
|
|
3347
3361
|
value: 'false',
|
|
3348
3362
|
category: TextEditorTab
|
|
3349
3363
|
}, {
|
|
3350
|
-
id: 'emptySelectionClipboard',
|
|
3364
|
+
id: 'editor.emptySelectionClipboard',
|
|
3351
3365
|
heading: emptySelectionClipboard(),
|
|
3352
3366
|
description: emptySelectionClipboardDescription(),
|
|
3353
3367
|
type: Boolean$1,
|
|
3354
3368
|
value: 'true',
|
|
3355
3369
|
category: TextEditorTab
|
|
3356
3370
|
}, {
|
|
3357
|
-
id: 'extraEditorClassName',
|
|
3371
|
+
id: 'editor.extraEditorClassName',
|
|
3358
3372
|
heading: extraEditorClassName(),
|
|
3359
3373
|
description: extraEditorClassNameDescription(),
|
|
3360
3374
|
type: String,
|
|
3361
3375
|
value: '',
|
|
3362
3376
|
category: TextEditorTab
|
|
3363
3377
|
}, {
|
|
3364
|
-
id: 'fastScrollSensitivity',
|
|
3378
|
+
id: 'editor.fastScrollSensitivity',
|
|
3365
3379
|
heading: fastScrollSensitivity(),
|
|
3366
3380
|
description: fastScrollSensitivityDescription(),
|
|
3367
3381
|
type: Number$1,
|
|
3368
3382
|
value: '5',
|
|
3369
3383
|
category: TextEditorTab
|
|
3370
3384
|
}, {
|
|
3371
|
-
id: 'find',
|
|
3385
|
+
id: 'editor.find',
|
|
3372
3386
|
heading: find(),
|
|
3373
3387
|
description: findDescription(),
|
|
3374
3388
|
type: Boolean$1,
|
|
3375
3389
|
value: 'true',
|
|
3376
3390
|
category: TextEditorTab
|
|
3377
3391
|
}, {
|
|
3378
|
-
id: 'fixedOverflowWidgets',
|
|
3392
|
+
id: 'editor.fixedOverflowWidgets',
|
|
3379
3393
|
heading: fixedOverflowWidgets(),
|
|
3380
3394
|
description: fixedOverflowWidgetsDescription(),
|
|
3381
3395
|
type: Boolean$1,
|
|
3382
3396
|
value: 'false',
|
|
3383
3397
|
category: TextEditorTab
|
|
3384
3398
|
}, {
|
|
3385
|
-
id: 'foldingStrategy',
|
|
3399
|
+
id: 'editor.foldingStrategy',
|
|
3386
3400
|
heading: foldingStrategy(),
|
|
3387
3401
|
description: foldingStrategyDescription(),
|
|
3388
3402
|
type: String,
|
|
3389
3403
|
value: 'auto',
|
|
3390
3404
|
category: TextEditorTab
|
|
3391
3405
|
}, {
|
|
3392
|
-
id: 'fontLigatures',
|
|
3406
|
+
id: 'editor.fontLigatures',
|
|
3393
3407
|
heading: fontLigatures(),
|
|
3394
3408
|
description: fontLigaturesDescription(),
|
|
3395
3409
|
type: Boolean$1,
|
|
3396
3410
|
value: 'false',
|
|
3397
3411
|
category: TextEditorTab
|
|
3398
3412
|
}, {
|
|
3399
|
-
id: 'glyphMargin',
|
|
3413
|
+
id: 'editor.glyphMargin',
|
|
3400
3414
|
heading: glyphMargin(),
|
|
3401
3415
|
description: glyphMarginDescription(),
|
|
3402
3416
|
type: Boolean$1,
|
|
3403
3417
|
value: 'true',
|
|
3404
3418
|
category: TextEditorTab
|
|
3405
3419
|
}, {
|
|
3406
|
-
id: 'gotoLocation',
|
|
3420
|
+
id: 'editor.gotoLocation',
|
|
3407
3421
|
heading: gotoLocation(),
|
|
3408
3422
|
description: gotoLocationDescription(),
|
|
3409
3423
|
type: String,
|
|
3410
3424
|
value: 'mouse',
|
|
3411
3425
|
category: TextEditorTab
|
|
3412
3426
|
}, {
|
|
3413
|
-
id: 'hideCursorInOverviewRuler',
|
|
3427
|
+
id: 'editor.hideCursorInOverviewRuler',
|
|
3414
3428
|
heading: hideCursorInOverviewRuler(),
|
|
3415
3429
|
description: hideCursorInOverviewRulerDescription(),
|
|
3416
3430
|
type: Boolean$1,
|
|
3417
3431
|
value: 'false',
|
|
3418
3432
|
category: TextEditorTab
|
|
3419
3433
|
}, {
|
|
3420
|
-
id: 'hover',
|
|
3434
|
+
id: 'editor.hover',
|
|
3421
3435
|
heading: hover(),
|
|
3422
3436
|
description: hoverDescription(),
|
|
3423
3437
|
type: Boolean$1,
|
|
3424
3438
|
value: 'true',
|
|
3425
3439
|
category: TextEditorTab
|
|
3426
3440
|
}, {
|
|
3427
|
-
id: 'inDiffEditor',
|
|
3441
|
+
id: 'editor.inDiffEditor',
|
|
3428
3442
|
heading: inDiffEditor(),
|
|
3429
3443
|
description: inDiffEditorDescription(),
|
|
3430
3444
|
type: Boolean$1,
|
|
3431
3445
|
value: 'false',
|
|
3432
3446
|
category: TextEditorTab
|
|
3433
3447
|
}, {
|
|
3434
|
-
id: 'letterSpacing',
|
|
3448
|
+
id: 'editor.letterSpacing',
|
|
3435
3449
|
heading: letterSpacing(),
|
|
3436
3450
|
description: letterSpacingDescription(),
|
|
3437
3451
|
type: Number$1,
|
|
3438
3452
|
value: '0',
|
|
3439
3453
|
category: TextEditorTab
|
|
3440
3454
|
}, {
|
|
3441
|
-
id: 'lightbulbEnabled',
|
|
3455
|
+
id: 'editor.lightbulbEnabled',
|
|
3442
3456
|
heading: lightbulbEnabled(),
|
|
3443
3457
|
description: lightbulbEnabledDescription(),
|
|
3444
3458
|
type: Boolean$1,
|
|
3445
3459
|
value: 'true',
|
|
3446
3460
|
category: TextEditorTab
|
|
3447
3461
|
}, {
|
|
3448
|
-
id: 'lineDecorationsWidth',
|
|
3462
|
+
id: 'editor.lineDecorationsWidth',
|
|
3449
3463
|
heading: lineDecorationsWidth(),
|
|
3450
3464
|
description: lineDecorationsWidthDescription(),
|
|
3451
3465
|
type: Number$1,
|
|
3452
3466
|
value: '10',
|
|
3453
3467
|
category: TextEditorTab
|
|
3454
3468
|
}, {
|
|
3455
|
-
id: 'lineHeight',
|
|
3469
|
+
id: 'editor.lineHeight',
|
|
3456
3470
|
heading: lineHeight(),
|
|
3457
3471
|
description: lineHeightDescription(),
|
|
3458
3472
|
type: Number$1,
|
|
3459
3473
|
value: '0',
|
|
3460
3474
|
category: TextEditorTab
|
|
3461
3475
|
}, {
|
|
3462
|
-
id: 'matchBrackets',
|
|
3476
|
+
id: 'editor.matchBrackets',
|
|
3463
3477
|
heading: matchBrackets(),
|
|
3464
3478
|
description: matchBracketsDescription(),
|
|
3465
3479
|
type: Boolean$1,
|
|
3466
3480
|
value: 'true',
|
|
3467
3481
|
category: TextEditorTab
|
|
3468
3482
|
}, {
|
|
3469
|
-
id: 'minimapEnabled',
|
|
3483
|
+
id: 'editor.minimapEnabled',
|
|
3470
3484
|
heading: minimapEnabled(),
|
|
3471
3485
|
description: minimapEnabledDescription(),
|
|
3472
3486
|
type: Boolean$1,
|
|
3473
3487
|
value: 'true',
|
|
3474
3488
|
category: TextEditorTab
|
|
3475
3489
|
}, {
|
|
3476
|
-
id: 'mouseWheelScrollSensitivity',
|
|
3490
|
+
id: 'editor.mouseWheelScrollSensitivity',
|
|
3477
3491
|
heading: mouseWheelScrollSensitivity(),
|
|
3478
3492
|
description: mouseWheelScrollSensitivityDescription(),
|
|
3479
3493
|
type: Number$1,
|
|
3480
3494
|
value: '1',
|
|
3481
3495
|
category: TextEditorTab
|
|
3482
3496
|
}, {
|
|
3483
|
-
id: 'mouseWheelZoom',
|
|
3497
|
+
id: 'editor.mouseWheelZoom',
|
|
3484
3498
|
heading: mouseWheelZoom(),
|
|
3485
3499
|
description: mouseWheelZoomDescription(),
|
|
3486
3500
|
type: Boolean$1,
|
|
3487
3501
|
value: 'false',
|
|
3488
3502
|
category: TextEditorTab
|
|
3489
3503
|
}, {
|
|
3490
|
-
id: 'multiCursorMergeOverlapping',
|
|
3504
|
+
id: 'editor.multiCursorMergeOverlapping',
|
|
3491
3505
|
heading: multiCursorMergeOverlapping(),
|
|
3492
3506
|
description: multiCursorMergeOverlappingDescription(),
|
|
3493
3507
|
type: Boolean$1,
|
|
3494
3508
|
value: 'true',
|
|
3495
3509
|
category: TextEditorTab
|
|
3496
3510
|
}, {
|
|
3497
|
-
id: 'overviewRulerBorder',
|
|
3511
|
+
id: 'editor.overviewRulerBorder',
|
|
3498
3512
|
heading: overviewRulerBorder(),
|
|
3499
3513
|
description: overviewRulerBorderDescription(),
|
|
3500
3514
|
type: Boolean$1,
|
|
3501
3515
|
value: 'true',
|
|
3502
3516
|
category: TextEditorTab
|
|
3503
3517
|
}, {
|
|
3504
|
-
id: 'overviewRulerLanes',
|
|
3518
|
+
id: 'editor.overviewRulerLanes',
|
|
3505
3519
|
heading: overviewRulerLanes(),
|
|
3506
3520
|
description: overviewRulerLanesDescription(),
|
|
3507
3521
|
type: Number$1,
|
|
3508
3522
|
value: '3',
|
|
3509
3523
|
category: TextEditorTab
|
|
3510
3524
|
}, {
|
|
3511
|
-
id: 'peekWidgetDefaultFocus',
|
|
3525
|
+
id: 'editor.peekWidgetDefaultFocus',
|
|
3512
3526
|
heading: peekWidgetDefaultFocus(),
|
|
3513
3527
|
description: peekWidgetDefaultFocusDescription(),
|
|
3514
3528
|
type: String,
|
|
3515
3529
|
value: 'editor',
|
|
3516
3530
|
category: TextEditorTab
|
|
3517
3531
|
}, {
|
|
3518
|
-
id: 'quickSuggestionsDelay',
|
|
3532
|
+
id: 'editor.quickSuggestionsDelay',
|
|
3519
3533
|
heading: quickSuggestionsDelay(),
|
|
3520
3534
|
description: quickSuggestionsDelayDescription(),
|
|
3521
3535
|
type: Number$1,
|
|
3522
3536
|
value: '10',
|
|
3523
3537
|
category: TextEditorTab
|
|
3524
3538
|
}, {
|
|
3525
|
-
id: 'renderFinalNewline',
|
|
3539
|
+
id: 'editor.renderFinalNewline',
|
|
3526
3540
|
heading: renderFinalNewline(),
|
|
3527
3541
|
description: renderFinalNewlineDescription(),
|
|
3528
3542
|
type: Boolean$1,
|
|
3529
3543
|
value: 'true',
|
|
3530
3544
|
category: TextEditorTab
|
|
3531
3545
|
}, {
|
|
3532
|
-
id: 'renderValidationDecorations',
|
|
3546
|
+
id: 'editor.renderValidationDecorations',
|
|
3533
3547
|
heading: renderValidationDecorations(),
|
|
3534
3548
|
description: renderValidationDecorationsDescription(),
|
|
3535
3549
|
type: Boolean$1,
|
|
3536
3550
|
value: 'true',
|
|
3537
3551
|
category: TextEditorTab
|
|
3538
3552
|
}, {
|
|
3539
|
-
id: 'revealHorizontalRightPadding',
|
|
3553
|
+
id: 'editor.revealHorizontalRightPadding',
|
|
3540
3554
|
heading: revealHorizontalRightPadding(),
|
|
3541
3555
|
description: revealHorizontalRightPaddingDescription(),
|
|
3542
3556
|
type: Number$1,
|
|
3543
3557
|
value: '30',
|
|
3544
3558
|
category: TextEditorTab
|
|
3545
3559
|
}, {
|
|
3546
|
-
id: 'roundedSelection',
|
|
3560
|
+
id: 'editor.roundedSelection',
|
|
3547
3561
|
heading: roundedSelection(),
|
|
3548
3562
|
description: roundedSelectionDescription(),
|
|
3549
3563
|
type: Boolean$1,
|
|
3550
3564
|
value: 'true',
|
|
3551
3565
|
category: TextEditorTab
|
|
3552
3566
|
}, {
|
|
3553
|
-
id: 'rulers',
|
|
3567
|
+
id: 'editor.rulers',
|
|
3554
3568
|
heading: rulers(),
|
|
3555
3569
|
description: rulersDescription(),
|
|
3556
3570
|
type: String,
|
|
3557
3571
|
value: '[]',
|
|
3558
3572
|
category: TextEditorTab
|
|
3559
3573
|
}, {
|
|
3560
|
-
id: 'scrollBeyondLastColumn',
|
|
3574
|
+
id: 'editor.scrollBeyondLastColumn',
|
|
3561
3575
|
heading: scrollBeyondLastColumn(),
|
|
3562
3576
|
description: scrollBeyondLastColumnDescription(),
|
|
3563
3577
|
type: Number$1,
|
|
3564
3578
|
value: '5',
|
|
3565
3579
|
category: TextEditorTab
|
|
3566
3580
|
}, {
|
|
3567
|
-
id: 'scrollbar',
|
|
3581
|
+
id: 'editor.scrollbar',
|
|
3568
3582
|
heading: scrollbar(),
|
|
3569
3583
|
description: scrollbarDescription(),
|
|
3570
3584
|
type: String,
|
|
3571
3585
|
value: 'auto',
|
|
3572
3586
|
category: TextEditorTab
|
|
3573
3587
|
}, {
|
|
3574
|
-
id: 'scrollPredominantAxis',
|
|
3588
|
+
id: 'editor.scrollPredominantAxis',
|
|
3575
3589
|
heading: scrollPredominantAxis(),
|
|
3576
3590
|
description: scrollPredominantAxisDescription(),
|
|
3577
3591
|
type: Boolean$1,
|
|
3578
3592
|
value: 'true',
|
|
3579
3593
|
category: TextEditorTab
|
|
3580
3594
|
}, {
|
|
3581
|
-
id: 'selectionClipboard',
|
|
3595
|
+
id: 'editor.selectionClipboard',
|
|
3582
3596
|
heading: selectionClipboard(),
|
|
3583
3597
|
description: selectionClipboardDescription(),
|
|
3584
3598
|
type: Boolean$1,
|
|
3585
3599
|
value: 'true',
|
|
3586
3600
|
category: TextEditorTab
|
|
3587
3601
|
}, {
|
|
3588
|
-
id: '
|
|
3602
|
+
id: 'editor.background',
|
|
3589
3603
|
heading: 'Editor background',
|
|
3590
3604
|
description: 'Editor background color',
|
|
3591
3605
|
type: Color,
|
|
3592
3606
|
value: '#567567',
|
|
3593
3607
|
category: TextEditorTab
|
|
3594
3608
|
}, {
|
|
3595
|
-
id: 'showUnused',
|
|
3609
|
+
id: 'editor.showUnused',
|
|
3596
3610
|
heading: showUnused(),
|
|
3597
3611
|
description: showUnusedDescription(),
|
|
3598
3612
|
type: Boolean$1,
|
|
3599
3613
|
value: 'true',
|
|
3600
3614
|
category: TextEditorTab
|
|
3601
3615
|
}, {
|
|
3602
|
-
id: 'snippetSuggestions',
|
|
3616
|
+
id: 'editor.snippetSuggestions',
|
|
3603
3617
|
heading: snippetSuggestions(),
|
|
3604
3618
|
description: snippetSuggestionsDescription(),
|
|
3605
3619
|
type: String,
|
|
3606
3620
|
value: 'bottom',
|
|
3607
3621
|
category: TextEditorTab
|
|
3608
3622
|
}, {
|
|
3609
|
-
id: 'suggest',
|
|
3623
|
+
id: 'editor.suggest',
|
|
3610
3624
|
heading: suggest(),
|
|
3611
3625
|
description: suggestDescription(),
|
|
3612
3626
|
type: Boolean$1,
|
|
3613
3627
|
value: 'true',
|
|
3614
3628
|
category: TextEditorTab
|
|
3615
3629
|
}, {
|
|
3616
|
-
id: 'suggestFontSize',
|
|
3630
|
+
id: 'editor.suggestFontSize',
|
|
3617
3631
|
heading: suggestFontSize(),
|
|
3618
3632
|
description: suggestFontSizeDescription(),
|
|
3619
3633
|
type: Number$1,
|
|
3620
3634
|
value: '0',
|
|
3621
3635
|
category: TextEditorTab
|
|
3622
3636
|
}, {
|
|
3623
|
-
id: 'suggestLineHeight',
|
|
3637
|
+
id: 'editor.suggestLineHeight',
|
|
3624
3638
|
heading: suggestLineHeight(),
|
|
3625
3639
|
description: suggestLineHeightDescription(),
|
|
3626
3640
|
type: Number$1,
|
|
3627
3641
|
value: '0',
|
|
3628
3642
|
category: TextEditorTab
|
|
3629
3643
|
}, {
|
|
3630
|
-
id: 'suggestSelection',
|
|
3644
|
+
id: 'editor.suggestSelection',
|
|
3631
3645
|
heading: suggestSelection(),
|
|
3632
3646
|
description: suggestSelectionDescription(),
|
|
3633
3647
|
type: String,
|
|
3634
3648
|
value: 'recentlyUsed',
|
|
3635
3649
|
category: TextEditorTab
|
|
3636
3650
|
}, {
|
|
3637
|
-
id: 'useTabStops',
|
|
3651
|
+
id: 'editor.useTabStops',
|
|
3638
3652
|
heading: useTabStops(),
|
|
3639
3653
|
description: useTabStopsDescription(),
|
|
3640
3654
|
type: Boolean$1,
|
|
3641
3655
|
value: 'true',
|
|
3642
3656
|
category: TextEditorTab
|
|
3643
3657
|
}, {
|
|
3644
|
-
id: 'wordSeparators',
|
|
3658
|
+
id: 'editor.wordSeparators',
|
|
3645
3659
|
heading: wordSeparators(),
|
|
3646
3660
|
description: wordSeparatorsDescription(),
|
|
3647
3661
|
type: String,
|
|
3648
3662
|
value: '`~!@#$%^&*()-=+[{]}\\|;:\'",.<>/?',
|
|
3649
3663
|
category: TextEditorTab
|
|
3650
3664
|
}, {
|
|
3651
|
-
id: 'wrappingIndent',
|
|
3665
|
+
id: 'editor.wrappingIndent',
|
|
3652
3666
|
heading: wrappingIndent(),
|
|
3653
3667
|
description: wrappingIndentDescription(),
|
|
3654
3668
|
type: String,
|
|
3655
3669
|
value: 'same',
|
|
3656
3670
|
category: TextEditorTab
|
|
3671
|
+
}];
|
|
3672
|
+
};
|
|
3673
|
+
|
|
3674
|
+
const getSettingItemsExtensions = () => {
|
|
3675
|
+
return [{
|
|
3676
|
+
id: 'extensionsAutoUpdate',
|
|
3677
|
+
heading: autoUpdateExtensions(),
|
|
3678
|
+
description: autoUpdateExtensionsDescription(),
|
|
3679
|
+
type: Boolean$1,
|
|
3680
|
+
value: 'true',
|
|
3681
|
+
category: ExtensionsTab
|
|
3657
3682
|
}, {
|
|
3658
|
-
id: '
|
|
3659
|
-
heading:
|
|
3660
|
-
description:
|
|
3661
|
-
type:
|
|
3662
|
-
value: '
|
|
3663
|
-
category:
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
value: 'Left',
|
|
3670
|
-
category: WorkbenchTab
|
|
3671
|
-
}, {
|
|
3672
|
-
id: 'windowTitle',
|
|
3673
|
-
heading: windowTitle(),
|
|
3674
|
-
description: windowTitleDescription(),
|
|
3675
|
-
type: String,
|
|
3676
|
-
value: 'Settings View',
|
|
3677
|
-
category: WindowTab
|
|
3678
|
-
}, {
|
|
3679
|
-
id: 'windowSize',
|
|
3680
|
-
heading: windowSize(),
|
|
3681
|
-
description: windowSizeDescription(),
|
|
3682
|
-
type: String,
|
|
3683
|
-
value: '1024x768',
|
|
3684
|
-
category: WindowTab
|
|
3685
|
-
}, {
|
|
3683
|
+
id: 'extensionRecommendations',
|
|
3684
|
+
heading: extensionRecommendations(),
|
|
3685
|
+
description: extensionRecommendationsDescription(),
|
|
3686
|
+
type: Boolean$1,
|
|
3687
|
+
value: 'true',
|
|
3688
|
+
category: ExtensionsTab
|
|
3689
|
+
}];
|
|
3690
|
+
};
|
|
3691
|
+
|
|
3692
|
+
const getSettingItemsFeatures = () => {
|
|
3693
|
+
return [{
|
|
3686
3694
|
id: 'autoSave',
|
|
3687
3695
|
heading: autoSave(),
|
|
3688
3696
|
description: autoSaveDescription(),
|
|
@@ -3696,21 +3704,11 @@ const getSettingItems = async () => {
|
|
|
3696
3704
|
type: Boolean$1,
|
|
3697
3705
|
value: 'false',
|
|
3698
3706
|
category: FeaturesTab
|
|
3699
|
-
}
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
value: 'true',
|
|
3705
|
-
category: ApplicationsTab
|
|
3706
|
-
}, {
|
|
3707
|
-
id: 'updates',
|
|
3708
|
-
heading: autoUpdates(),
|
|
3709
|
-
description: autoUpdatesDescription(),
|
|
3710
|
-
type: Boolean$1,
|
|
3711
|
-
value: 'true',
|
|
3712
|
-
category: ApplicationsTab
|
|
3713
|
-
}, {
|
|
3707
|
+
}];
|
|
3708
|
+
};
|
|
3709
|
+
|
|
3710
|
+
const getSettingItemsSecurity = () => {
|
|
3711
|
+
return [{
|
|
3714
3712
|
id: 'encryption',
|
|
3715
3713
|
heading: fileEncryption(),
|
|
3716
3714
|
description: fileEncryptionDescription(),
|
|
@@ -3724,23 +3722,49 @@ const getSettingItems = async () => {
|
|
|
3724
3722
|
type: Boolean$1,
|
|
3725
3723
|
value: 'false',
|
|
3726
3724
|
category: SecurityTab
|
|
3725
|
+
}];
|
|
3726
|
+
};
|
|
3727
|
+
|
|
3728
|
+
const getSettingItemsWindow = () => {
|
|
3729
|
+
return [{
|
|
3730
|
+
id: 'windowTitle',
|
|
3731
|
+
heading: windowTitle(),
|
|
3732
|
+
description: windowTitleDescription(),
|
|
3733
|
+
type: String,
|
|
3734
|
+
value: 'Settings View',
|
|
3735
|
+
category: WindowTab
|
|
3727
3736
|
}, {
|
|
3728
|
-
id: '
|
|
3729
|
-
heading:
|
|
3730
|
-
description:
|
|
3731
|
-
type:
|
|
3732
|
-
value: '
|
|
3733
|
-
category:
|
|
3737
|
+
id: 'windowSize',
|
|
3738
|
+
heading: windowSize(),
|
|
3739
|
+
description: windowSizeDescription(),
|
|
3740
|
+
type: String,
|
|
3741
|
+
value: '1024x768',
|
|
3742
|
+
category: WindowTab
|
|
3743
|
+
}];
|
|
3744
|
+
};
|
|
3745
|
+
|
|
3746
|
+
const getSettingItemsWorkbench = () => {
|
|
3747
|
+
return [{
|
|
3748
|
+
id: 'theme',
|
|
3749
|
+
heading: theme(),
|
|
3750
|
+
description: themeDescription(),
|
|
3751
|
+
type: String,
|
|
3752
|
+
value: 'Dark',
|
|
3753
|
+
category: WorkbenchTab
|
|
3734
3754
|
}, {
|
|
3735
|
-
id: '
|
|
3736
|
-
heading:
|
|
3737
|
-
description:
|
|
3738
|
-
type:
|
|
3739
|
-
value: '
|
|
3740
|
-
category:
|
|
3755
|
+
id: 'sidebarPosition',
|
|
3756
|
+
heading: sidebarPosition(),
|
|
3757
|
+
description: sidebarPositionDescription(),
|
|
3758
|
+
type: String,
|
|
3759
|
+
value: 'Left',
|
|
3760
|
+
category: WorkbenchTab
|
|
3741
3761
|
}];
|
|
3742
3762
|
};
|
|
3743
3763
|
|
|
3764
|
+
const getSettingItems = async () => {
|
|
3765
|
+
return [...getSettingItemsEditor(), ...getSettingItemsWorkbench(), ...getSettingItemsWindow(), ...getSettingItemsFeatures(), ...getSettingItemsApplications(), ...getSettingItemsSecurity(), ...getSettingItemsExtensions()];
|
|
3766
|
+
};
|
|
3767
|
+
|
|
3744
3768
|
const getTabs = () => {
|
|
3745
3769
|
const tabs = [{
|
|
3746
3770
|
id: TextEditorTab,
|
|
@@ -3831,17 +3855,9 @@ const getSavedTabId = savedState => {
|
|
|
3831
3855
|
return '';
|
|
3832
3856
|
};
|
|
3833
3857
|
|
|
3834
|
-
const getSavedWorkspacePath = savedState => {
|
|
3835
|
-
if (savedState && typeof savedState === 'object' && 'workspacePath' in savedState && typeof savedState.workspacePath === 'string') {
|
|
3836
|
-
return savedState.workspacePath;
|
|
3837
|
-
}
|
|
3838
|
-
return '';
|
|
3839
|
-
};
|
|
3840
|
-
|
|
3841
3858
|
const restoreState = savedState => {
|
|
3842
3859
|
if (!savedState) {
|
|
3843
3860
|
return {
|
|
3844
|
-
root: '',
|
|
3845
3861
|
minLineY: 0,
|
|
3846
3862
|
deltaY: 0,
|
|
3847
3863
|
tabId: '',
|
|
@@ -3851,7 +3867,6 @@ const restoreState = savedState => {
|
|
|
3851
3867
|
historyIndex: -1
|
|
3852
3868
|
};
|
|
3853
3869
|
}
|
|
3854
|
-
const root = getSavedWorkspacePath(savedState);
|
|
3855
3870
|
const minLineY = getSavedMinLineY(savedState);
|
|
3856
3871
|
const deltaY = getSavedDeltaY(savedState);
|
|
3857
3872
|
const tabId = getSavedTabId(savedState);
|
|
@@ -3860,7 +3875,6 @@ const restoreState = savedState => {
|
|
|
3860
3875
|
const history = getSavedHistory(savedState);
|
|
3861
3876
|
const historyIndex = getSavedHistoryIndex(savedState, history);
|
|
3862
3877
|
return {
|
|
3863
|
-
root,
|
|
3864
3878
|
minLineY,
|
|
3865
3879
|
deltaY,
|
|
3866
3880
|
tabId,
|
|
@@ -3965,16 +3979,19 @@ const HandleScroll = 'handleScroll';
|
|
|
3965
3979
|
const HandleSettingSelect = 'handleSettingSelect';
|
|
3966
3980
|
const HandleInputFocus = 'handleInputFocus';
|
|
3967
3981
|
|
|
3968
|
-
const
|
|
3982
|
+
const enabledClass = mergeClassNames(Button, InputButton, SearchFieldButton);
|
|
3983
|
+
const disabledClass = mergeClassNames(enabledClass, Disabled);
|
|
3984
|
+
const getClearButtonClassName = hasSearchValue => {
|
|
3969
3985
|
if (hasSearchValue) {
|
|
3970
|
-
return
|
|
3986
|
+
return disabledClass;
|
|
3971
3987
|
}
|
|
3972
|
-
return
|
|
3988
|
+
return enabledClass;
|
|
3973
3989
|
};
|
|
3990
|
+
|
|
3974
3991
|
const getSettingsInputButtonsDom = hasSearchValue => {
|
|
3975
3992
|
return [{
|
|
3976
3993
|
type: VirtualDomElements.Button,
|
|
3977
|
-
className:
|
|
3994
|
+
className: getClearButtonClassName(hasSearchValue),
|
|
3978
3995
|
childCount: 1,
|
|
3979
3996
|
ariaLabel: clear(),
|
|
3980
3997
|
name: Clear$1,
|
|
@@ -4058,11 +4075,12 @@ const getItemCheckBoxVirtualDom = item => {
|
|
|
4058
4075
|
}, text(description)];
|
|
4059
4076
|
};
|
|
4060
4077
|
|
|
4078
|
+
const parent = {
|
|
4079
|
+
type: VirtualDomElements.H3,
|
|
4080
|
+
childCount: 1
|
|
4081
|
+
};
|
|
4061
4082
|
const getItemHeadingDom = heading => {
|
|
4062
|
-
return [
|
|
4063
|
-
type: VirtualDomElements.H3,
|
|
4064
|
-
childCount: 1
|
|
4065
|
-
}, text(heading)];
|
|
4083
|
+
return [parent, text(heading)];
|
|
4066
4084
|
};
|
|
4067
4085
|
|
|
4068
4086
|
const getItemLabelDom = (domId, label) => {
|
|
@@ -4350,10 +4368,10 @@ const getSettingsDom = state => {
|
|
|
4350
4368
|
const {
|
|
4351
4369
|
tabs,
|
|
4352
4370
|
filteredItems,
|
|
4353
|
-
searchValue
|
|
4354
|
-
filteredItemsCount
|
|
4371
|
+
searchValue
|
|
4355
4372
|
} = state;
|
|
4356
4373
|
const hasSearchValue = searchValue.trim().length > 0;
|
|
4374
|
+
const filteredItemsCount = filteredItems.length;
|
|
4357
4375
|
return [{
|
|
4358
4376
|
type: VirtualDomElements.Div,
|
|
4359
4377
|
childCount: 2,
|
|
@@ -4480,8 +4498,6 @@ const saveState = state => {
|
|
|
4480
4498
|
} = state;
|
|
4481
4499
|
const selectedTab = getSelectedTabId(tabs);
|
|
4482
4500
|
return {
|
|
4483
|
-
expandedPaths: [],
|
|
4484
|
-
root: '',
|
|
4485
4501
|
minLineY: 0,
|
|
4486
4502
|
maxLineY: 0,
|
|
4487
4503
|
deltaY: 0,
|