Fixing a few bugs encountered while testing (#39)
* Fixing a few bugs encountered while testing * Fix the run button size
This commit is contained in:
Родитель
7dddf7b885
Коммит
b652691fd9
|
@ -1,3 +1,3 @@
|
|||
<svg width="9" height="13" viewBox="0 0 9 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 -9.53674e-07V12.48L8.912 6.24L0 -9.53674e-07ZM7.184 6.24L0.992 10.576V1.904L7.184 6.24Z" fill="#C5C5C5"/>
|
||||
<svg width="14" height="15" viewBox="-2 -1 12 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 0V12.48L8.912 6.24L0 0ZM7.184 6.24L0.992 10.576V1.904L7.184 6.24Z" fill="#C5C5C5"/>
|
||||
</svg>
|
||||
|
|
До Ширина: | Высота: | Размер: 219 B После Ширина: | Высота: | Размер: 201 B |
|
@ -1,3 +1,3 @@
|
|||
<svg width="9" height="13" viewBox="0 0 9 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 -9.53674e-07V12.48L8.912 6.24L0 -9.53674e-07ZM7.184 6.24L0.992 10.576V1.904L7.184 6.24Z" fill="#424242"/>
|
||||
<svg width="14" height="15" viewBox="-2 -1 12 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 0V12.48L8.912 6.24L0 0ZM7.184 6.24L0.992 10.576V1.904L7.184 6.24Z" fill="#424242"/>
|
||||
</svg>
|
||||
|
|
До Ширина: | Высота: | Размер: 219 B После Ширина: | Высота: | Размер: 201 B |
|
@ -202,7 +202,7 @@ export async function preprocessDryRunOutput(cancel: vscode.CancellationToken, d
|
|||
await scheduleTask(async (taskEndCallback: () => void) => {
|
||||
function doChunk3(): void {
|
||||
let chunkIndex: number = 0;
|
||||
while (index <= numberOfLines && chunkIndex <= chunkSize) {
|
||||
while (index < numberOfLines && chunkIndex <= chunkSize) {
|
||||
if (cancel.isCancellationRequested) {
|
||||
break;
|
||||
}
|
||||
|
@ -609,7 +609,7 @@ function currentPathAfterCommand(line: string, currentPathHistory: string[]): st
|
|||
// equivalent to pushd
|
||||
let match: RegExpMatchArray | null = line.match("(.*)(Entering directory ')(.*)'");
|
||||
if (match) {
|
||||
newCurrentPath = util.makeFullPath(match[4], lastCurrentPath) || "";
|
||||
newCurrentPath = util.makeFullPath(match[3], lastCurrentPath) || "";
|
||||
} else {
|
||||
newCurrentPath = "Could not parse directory";
|
||||
}
|
||||
|
@ -674,7 +674,7 @@ export async function parseCustomConfigProvider(cancel: vscode.CancellationToken
|
|||
|
||||
let line: string = dryRunOutputLines[index];
|
||||
|
||||
statusCallback("Parsing for InteliSense...");
|
||||
statusCallback("Parsing for IntelliSense...");
|
||||
currentPathHistory = currentPathAfterCommand(line, currentPathHistory);
|
||||
currentPath = currentPathHistory[currentPathHistory.length - 1];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче