Skip to content

Commit cc9cfe1

Browse files
Merge branch 'develop'
2 parents 3ea1737 + a05eb33 commit cc9cfe1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+247
-206
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ Code style revamp! We reworked how routines, routine methods, properties, and st
4646

4747
- When generating ENVI and IDL tasks, using our new case libraries, we attempt to make a pretty display name from parameter names. For example converting the keyword "my_keyword" to "My Keyword". This applied to task and parameter display names.
4848

49+
## 4.2.2 December 2023
50+
51+
Resolved a performance issue with notebooks where auto-complete and hover help would take a while to return if you have been making many edits in a short amount of time
52+
53+
Fixed an issue with semantic tokens not showing up like they should.
54+
55+
Tweaked the styling for PDF generation to have output cells look a little different than input.
56+
4957
## 4.2.1 December 2023
5058

5159
Fixed an issue where logs were sharing too much information and other logs were not properly reporting

apps/client-e2e/src/tests/debugging/breakpoint-step-in-step-out.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,4 @@ export const BreakPointStepInStepOut: RunnerFunction = async (init) => {
7777

7878
// reset
7979
await init.debug.adapter.evaluate('.reset');
80-
81-
// close editor
82-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
83-
84-
// pause momentarily
85-
await Sleep(DEBUG_PAUSE);
86-
87-
// verify we cleaned up
88-
expect(GetActivePROCodeWindow(false)).toBeUndefined();
8980
};

apps/client-e2e/src/tests/debugging/compile.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CleanIDLOutput } from '@idl/idl';
22
import { IDL_COMMANDS } from '@idl/shared';
33
import { Sleep } from '@idl/test-helpers';
4-
import { GetActivePROCodeWindow, VSCODE_COMMANDS } from '@idl/vscode/shared';
4+
import { GetActivePROCodeWindow } from '@idl/vscode/shared';
55
import expect from 'expect';
66
import * as vscode from 'vscode';
77

@@ -42,13 +42,4 @@ export const Compile: RunnerFunction = async (init) => {
4242

4343
// make sure it is the plot file
4444
expect(editor.uri.fsPath.endsWith('plot.pro')).toBeTruthy();
45-
46-
// close editor
47-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
48-
49-
// pause momentarily
50-
await Sleep(DEBUG_PAUSE);
51-
52-
// verify we cleaned up
53-
expect(GetActivePROCodeWindow(false)).toBeUndefined();
5445
};

apps/client-e2e/src/tests/debugging/continue.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,4 @@ export const Continue: RunnerFunction = async (init) => {
7272
// wait a little bit
7373
await Sleep(DEBUG_PAUSE);
7474
}
75-
76-
// close editor
77-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
78-
79-
// pause momentarily
80-
await Sleep(DEBUG_PAUSE);
81-
82-
// verify we cleaned up
83-
expect(GetActivePROCodeWindow(false)).toBeUndefined();
8475
};

apps/client-e2e/src/tests/debugging/edit.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { IDL_COMMANDS } from '@idl/shared';
22
import { Sleep } from '@idl/test-helpers';
3-
import { GetActivePROCodeWindow, VSCODE_COMMANDS } from '@idl/vscode/shared';
3+
import { GetActivePROCodeWindow } from '@idl/vscode/shared';
44
import expect from 'expect';
55
import * as vscode from 'vscode';
66

@@ -36,13 +36,4 @@ export const Edit: RunnerFunction = async (init) => {
3636

3737
// make sure it is the plot file
3838
expect(editor.uri.fsPath.endsWith('plot.pro')).toBeTruthy();
39-
40-
// close editor
41-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
42-
43-
// pause momentarily
44-
await Sleep(DEBUG_PAUSE);
45-
46-
// verify we cleaned up
47-
expect(GetActivePROCodeWindow(false)).toBeUndefined();
4839
};

apps/client-e2e/src/tests/interactions/_interactions-runner.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import { Runner } from '../runner.class';
44
import { AddDocs } from './add-docs';
55
import { IDLJSONInteractRight } from './idl-json-interact-right';
66
import { IndexIDLFolderRightAndOpenEditClose } from './index-idl-folder-right-and-open-edit-close';
7+
import { NotebookProblemsTrackRight } from './notebook-problems-track-right';
78
import { NotebookCompletionBasic } from './notebooks-completion-basic';
89
import { NotebooksInteractRight } from './notebooks-interact-right';
9-
import { NotebooksNoDuplicates } from './notebooks-no-duplicates';
10+
import { NotebooksNoDuplicateRoutines } from './notebooks-no-duplicate-routines';
1011
import { ProCodeInteractRight } from './pro-code-interacts-right';
1112
import { TasksInteractRight } from './tasks-interact-right';
1213

@@ -56,12 +57,18 @@ INTERACTIONS_RUNNER.addTest({
5657
});
5758

5859
INTERACTIONS_RUNNER.addTest({
59-
name: 'Notebook problems track right',
60-
fn: NotebooksNoDuplicates,
60+
name: 'No duplicate routine definition problems',
61+
fn: NotebooksNoDuplicateRoutines,
6162
});
6263

6364
INTERACTIONS_RUNNER.addTest({
6465
name: 'Verify notebook auto-complete passes basic tests',
6566
fn: NotebookCompletionBasic,
6667
critical: true,
6768
});
69+
70+
// notebook problems track right
71+
INTERACTIONS_RUNNER.addTest({
72+
name: 'Notebook problems track right',
73+
fn: NotebookProblemsTrackRight,
74+
});

apps/client-e2e/src/tests/interactions/add-docs.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { GetExtensionPath, IDL_COMMANDS, Sleep } from '@idl/shared';
2-
import {
3-
OpenFileInVSCode,
4-
ReplaceDocumentContent,
5-
VSCODE_COMMANDS,
6-
} from '@idl/vscode/shared';
2+
import { OpenFileInVSCode, ReplaceDocumentContent } from '@idl/vscode/shared';
73
import expect from 'expect';
84
import { readFileSync } from 'fs';
95
import * as vscode from 'vscode';
@@ -60,7 +56,4 @@ export const AddDocs: RunnerFunction = async (init) => {
6056
'utf-8'
6157
)
6258
);
63-
64-
// clear any existing outputs
65-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
6659
};

apps/client-e2e/src/tests/interactions/idl-json-interact-right.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { GetExtensionPath, Sleep } from '@idl/shared';
2-
import {
3-
OpenFileInVSCode,
4-
ReplaceDocumentContent,
5-
VSCODE_COMMANDS,
6-
} from '@idl/vscode/shared';
2+
import { OpenFileInVSCode, ReplaceDocumentContent } from '@idl/vscode/shared';
73
import expect from 'expect';
84
import { readFileSync } from 'fs';
95
import * as vscode from 'vscode';
@@ -76,10 +72,4 @@ export const IDLJSONInteractRight: RunnerFunction = async (init) => {
7672
'textDocument/semanticTokens/full',
7773
tokenParams
7874
);
79-
80-
// short pause
81-
await Sleep(250);
82-
83-
// clear any existing outputs
84-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
8575
};

apps/client-e2e/src/tests/notebooks/notebook-problems-track-right.ts renamed to apps/client-e2e/src/tests/interactions/notebook-problems-track-right.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { GetExtensionPath, Sleep } from '@idl/shared';
2-
import { OpenNotebookInVSCode, VSCODE_COMMANDS } from '@idl/vscode/shared';
2+
import { OpenNotebookInVSCode } from '@idl/vscode/shared';
33
import expect from 'expect';
44
import * as vscode from 'vscode';
55

@@ -47,7 +47,4 @@ export const NotebookProblemsTrackRight: RunnerFunction = async (init) => {
4747
.getCells()
4848
.map((cell) => vscode.languages.getDiagnostics(cell.document.uri).length)
4949
).toEqual([0, 3]);
50-
51-
// clear any existing outputs
52-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
5350
};

apps/client-e2e/src/tests/interactions/notebooks-completion-basic.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { GetExtensionPath, Sleep } from '@idl/shared';
2-
import { OpenNotebookInVSCode, VSCODE_COMMANDS } from '@idl/vscode/shared';
2+
import { OpenNotebookInVSCode } from '@idl/vscode/shared';
33
import expect from 'expect';
4-
import * as vscode from 'vscode';
54
import {
65
CompletionItem as LanguageServerCompletionItem,
76
TextDocumentPositionParams,
@@ -67,7 +66,4 @@ export const NotebookCompletionBasic: RunnerFunction = async (init) => {
6766
// verify definition has return
6867
expect(completion2).toStrictEqual(expect.any(Array));
6968
expect(completion2.length).not.toEqual(0);
70-
71-
// clear any existing outputs
72-
await vscode.commands.executeCommand(VSCODE_COMMANDS.CLOSE_EDITOR);
7369
};

0 commit comments

Comments
 (0)