Skip to content

Commit dddfe16

Browse files
b
1 parent 03f24d1 commit dddfe16

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/vscode-common/src/testUtil/openNewEditor.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)