File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ configurationRegistry.registerDefaultConfigurations([{
77 'editor.codeLens' : false ,
88 'editor.fontSize' : 12 ,
99 'editor.maxTokenizationLineLength' : 1000 ,
10- 'editor.quickSuggestions' : false
10+ 'editor.quickSuggestions' : false ,
11+ 'files.eol' : '\n'
1112 }
1213} ] )
1314
Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ monaco.extra.StandaloneServices.initialize({
2727// Disable high contrast autodetection because it fallbacks on the hc-black no matter what
2828monaco . extra . StandaloneServices . get ( monaco . editor . IStandaloneThemeService ) . setAutoDetectHighContrast ( false )
2929
30- // Force EOL to be '\n' even on Windows
31- const configurationService = monaco . extra . StandaloneServices . get ( monaco . extra . IConfigurationService )
32- configurationService . updateValue ( 'files.eol' , '\n' ) . catch ( ( error : Error ) => {
33- monaco . errorHandler . onUnexpectedError ( new Error ( 'Unable to set file eol' , {
34- cause : error
35- } ) )
36- } )
37-
3830monaco . errorHandler . setUnexpectedErrorHandler ( error => {
3931 console . warn ( 'Unexpected error' , error )
4032} )
You can’t perform that action at this time.
0 commit comments