File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,10 @@ export abstract class BaseTextEditor extends BaseEditor implements ITextEditor {
109109 overviewRulerLanes : 3 ,
110110 lineNumbersMinChars : 3 ,
111111 fixedOverflowWidgets : true ,
112- readOnly : this . input ?. isReadonly ( )
112+ readOnly : this . input ?. isReadonly ( ) ,
113+ // render problems even in readonly editors
114+ // https://github.com/microsoft/vscode/issues/89057
115+ renderValidationDecorations : 'on'
113116 } ;
114117 }
115118
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ export class LogViewer extends AbstractTextResourceEditor {
6363 options . wordWrap = 'off' ; // all log viewers do not wrap
6464 options . folding = false ;
6565 options . scrollBeyondLastLine = false ;
66+ options . renderValidationDecorations = 'editable' ;
6667 return options ;
6768 }
6869}
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ export class OutputPanel extends AbstractTextResourceEditor {
9595 options . scrollBeyondLastLine = false ;
9696 options . renderLineHighlight = 'none' ;
9797 options . minimap = { enabled : false } ;
98+ options . renderValidationDecorations = 'editable' ;
9899
99100 const outputConfig = this . configurationService . getValue < any > ( '[Log]' ) ;
100101 if ( outputConfig ) {
Original file line number Diff line number Diff line change @@ -1021,6 +1021,7 @@ export class DefaultPreferencesEditor extends BaseTextEditor {
10211021 options . minimap = {
10221022 enabled : false
10231023 } ;
1024+ options . renderValidationDecorations = 'editable' ;
10241025 }
10251026 return options ;
10261027 }
You can’t perform that action at this time.
0 commit comments