Skip to content

Commit

Permalink
Merge pull request #275 from KxSystems/multiple-sp
Browse files Browse the repository at this point in the history
[WIP] KXI-38369: Multiple scratchpads and workspace data sources UI
  • Loading branch information
ecmel authored May 8, 2024
2 parents 51f5e4d + 9a3e40c commit ff3a8a6
Show file tree
Hide file tree
Showing 22 changed files with 1,904 additions and 835 deletions.
291 changes: 168 additions & 123 deletions package.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions resources/datasource-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions resources/datasource-connected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions resources/datasource.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions resources/scratchpad-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions resources/scratchpad-connected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions resources/scratchpad.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/commands/buildToolsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ export async function connectBuildTools() {
}
});

if (window.activeTextEditor) {
const document = window.activeTextEditor.document;
if (ext.activeTextEditor) {
const document = ext.activeTextEditor.document;
if (isAutoLintingSupported(document)) {
await setDiagnostics(document);
}
Expand Down
4 changes: 2 additions & 2 deletions src/commands/serverCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export async function executeQuery(

export function getQueryContext(lineNum?: number): string {
let context = ".";
const editor = window.activeTextEditor;
const editor = ext.activeTextEditor;
const fullText = typeof lineNum !== "number";

if (editor) {
Expand Down Expand Up @@ -413,7 +413,7 @@ export function getConextForRerunQuery(query: string): string {
}

export function runQuery(type: ExecutionTypes, rerunQuery?: string) {
const editor = window.activeTextEditor;
const editor = ext.activeTextEditor;
if (!editor) {
return false;
}
Expand Down
Loading

0 comments on commit ff3a8a6

Please sign in to comment.