File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packages/vscode-common/src/testUtil Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ export async function openNewEditor(
1919 content,
2020 } ) ;
2121
22- await ( await getParseTreeApi ( ) ) . loadLanguage ( languageId ) ;
22+ // await (await getParseTreeApi()).loadLanguage(languageId);
2323
2424 const editor = await vscode . window . showTextDocument (
2525 document ,
2626 openBeside ? vscode . ViewColumn . Beside : undefined ,
2727 ) ;
2828
29- const eol = content . includes ( "\r\n" )
30- ? vscode . EndOfLine . CRLF
31- : vscode . EndOfLine . LF ;
32- if ( eol !== editor . document . eol ) {
33- await editor . edit ( ( editBuilder ) => editBuilder . setEndOfLine ( eol ) ) ;
34- }
29+ // const eol = content.includes("\r\n")
30+ // ? vscode.EndOfLine.CRLF
31+ // : vscode.EndOfLine.LF;
32+ // if (eol !== editor.document.eol) {
33+ // await editor.edit((editBuilder) => editBuilder.setEndOfLine(eol));
34+ // }
3535
3636 // Many times running these tests opens the sidebar, which slows performance. Close it.
3737 // vscode.commands.executeCommand("workbench.action.closeSidebar");
You can’t perform that action at this time.
0 commit comments