-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
effort: highInitial effort estimate: HighInitial effort estimate: HighenhancementNew feature or requestNew feature or requestpriority: mediumPriority estimate: MediumPriority estimate: Medium
Description
About 50 mb file limit, I can tell you that I developed too a xliff help extension(I won´t put here the link because I don´t want to be a spammer) , and I had the same issue. I think the problem is using in xlf-document.ts class, function loadFromURI the sentence workspace.openTextDocument(sourceUri)).getText();
Instead using openTextDocument you can use:
var fs = require('fs');
const content = fs.readFileSync(FilePath,{encoding:'utf8', flag:'r'});
If you need a further split this content into lines you can do this:
const Lines = content.split('\r\n');
I am not sure 100 % you can fix the issue this way, but I remember this issue.
I hope this can help. Thank you for your extension.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
effort: highInitial effort estimate: HighInitial effort estimate: HighenhancementNew feature or requestNew feature or requestpriority: mediumPriority estimate: MediumPriority estimate: Medium