Skip to content

Commit 1220615

Browse files
author
colin-grant-work
authored
Move external view types to common (#138)
1 parent 866d068 commit 1220615

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/common/messaging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import type { DebugProtocol } from '@vscode/debugprotocol';
1818
import type { NotificationType, RequestType } from 'vscode-messenger-common';
1919
import { URI } from 'vscode-uri';
20-
import { VariablesView } from '../plugin/external-views';
2120
import { DebugRequestTypes } from './debug-requests';
21+
import { VariablesView } from './external-views';
2222
import type { VariableRange, WrittenMemory } from './memory-range';
2323
import { MemoryViewSettings } from './webview-configuration';
2424
import { WebviewContext } from './webview-context';

src/plugin/memory-storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import MemoryMap from 'nrf-intel-hex';
1818
import * as vscode from 'vscode';
1919
import { URI, Utils } from 'vscode-uri';
20+
import { isVariablesContext } from '../common/external-views';
2021
import { IntelHEX } from '../common/intel-hex';
2122
import * as manifest from '../common/manifest';
2223
import {
@@ -26,7 +27,6 @@ import {
2627
import { toHexStringWithRadixMarker } from '../common/memory-range';
2728
import { ApplyMemoryArguments, ApplyMemoryResult, MemoryOptions, StoreMemoryArguments } from '../common/messaging';
2829
import { isWebviewContext } from '../common/webview-context';
29-
import { isVariablesContext } from './external-views';
3030
import { MemoryProvider } from './memory-provider';
3131

3232
export const StoreCommandType = `${manifest.PACKAGE_NAME}.store-file`;

src/plugin/memory-webview-main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import * as vscode from 'vscode';
1818
import { Messenger } from 'vscode-messenger';
1919
import { WebviewIdMessageParticipant } from 'vscode-messenger-common';
20+
import { isVariablesContext } from '../common/external-views';
2021
import * as manifest from '../common/manifest';
2122
import { VariableRange } from '../common/memory-range';
2223
import {
@@ -46,7 +47,6 @@ import {
4647
} from '../common/messaging';
4748
import { MemoryViewSettings, ScrollingBehavior } from '../common/webview-configuration';
4849
import { getVisibleColumns, isWebviewVariableContext, WebviewContext } from '../common/webview-context';
49-
import { isVariablesContext } from './external-views';
5050
import { outputChannelLogger } from './logger';
5151
import { MemoryProvider } from './memory-provider';
5252
import { ApplyCommandType, StoreCommandType } from './memory-storage';

0 commit comments

Comments
 (0)