Skip to content

Commit

Permalink
Move setting helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Dover authored and Scott Dover committed Oct 6, 2023
1 parent aa06329 commit 2b0aee1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import {
} from "vscode";
import type { BaseLanguageClient } from "vscode-languageclient";

import { isOutputHtmlEnabled } from "../components/Helper/SettingHelper";
import { LogFn as LogChannelFn } from "../components/LogChannel";
import { showResult } from "../components/ResultPanel";
import {
assign_SASProgramFile,
wrapCodeWithOutputHtml,
} from "../components/utils/sasCodeHelper";
import { isOutputHtmlEnabled } from "../components/utils/settingHelper";
import { OnLogFn, RunResult, getSession } from "../connection";
import { profileConfig, switchProfile } from "./profile";

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/ResultPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Uri, ViewColumn, WebviewPanel, l10n, window } from "vscode";
import {
isSideResultEnabled,
isSinglePanelEnabled,
} from "./Helper/SettingHelper";
} from "./utils/settingHelper";

let resultPanel: WebviewPanel | undefined;

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/tasks/SasTasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { EventEmitter, TaskDefinition, l10n } from "vscode";

import { runTask } from "../../commands/run";
import { RunResult } from "../../connection";
import { isOutputHtmlEnabled } from "../Helper/SettingHelper";
import { showResult } from "../ResultPanel";
import {
getSASCodeFromActiveEditor,
getSASCodeFromFile,
wrapCode,
} from "../utils/sasCodeHelper";
import { isOutputHtmlEnabled } from "../utils/settingHelper";

export const SAS_TASK_TYPE = "sas";

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/utils/sasCodeHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ColorThemeKind, l10n, window, workspace } from "vscode";

import { isAbsolute } from "path";

import { getHtmlStyle, isOutputHtmlEnabled } from "../Helper/SettingHelper";
import { getHtmlStyle, isOutputHtmlEnabled } from "./settingHelper";

function generateHtmlStyleOption(): string {
const htmlStyle = getHtmlStyle();
Expand Down

0 comments on commit 2b0aee1

Please sign in to comment.