We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f91d9 commit 6f9ce2bCopy full SHA for 6f9ce2b
1 file changed
extension.js
@@ -274,13 +274,13 @@ activate = function (context) {
274
275
context.subscriptions.push(vscode.workspace.onWillSaveTextDocument(e => {
276
let doc = e.document;
277
- let eol = doc.eol || vscode.EndOfLine.LF;
+ let eol = vscode.EndOfLine.LF; // let eol = doc.eol || vscode.EndOfLine.LF;
278
let eoltxt = eol == 1 ? 'LF' : 'CRLF';
279
280
const edit = vscode.TextEdit.setEndOfLine(eol);
281
e.waitUntil(Promise.resolve([edit]));
282
283
- let info = 'SAVE:' + doc.uri.scheme + ':' + eoltxt + ':' + doc.languageId + ':' + doc.version + ':' + doc.lineCount;
+ let info = 'SAVE:' + doc.uri.scheme + ':' + eoltxt + ':' + doc.lineCount + ':' + doc.languageId;
284
info = info.toUpperCase() + ': ' + doc.fileName;
285
LOG(info);
286
}));
0 commit comments