Skip to content

Commit

Permalink
Move external view types to common (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grant-work committed Jun 6, 2024
1 parent 866d068 commit 1220615
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/common/messaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import type { DebugProtocol } from '@vscode/debugprotocol';
import type { NotificationType, RequestType } from 'vscode-messenger-common';
import { URI } from 'vscode-uri';
import { VariablesView } from '../plugin/external-views';
import { DebugRequestTypes } from './debug-requests';
import { VariablesView } from './external-views';
import type { VariableRange, WrittenMemory } from './memory-range';
import { MemoryViewSettings } from './webview-configuration';
import { WebviewContext } from './webview-context';
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/memory-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import MemoryMap from 'nrf-intel-hex';
import * as vscode from 'vscode';
import { URI, Utils } from 'vscode-uri';
import { isVariablesContext } from '../common/external-views';
import { IntelHEX } from '../common/intel-hex';
import * as manifest from '../common/manifest';
import {
Expand All @@ -26,7 +27,6 @@ import {
import { toHexStringWithRadixMarker } from '../common/memory-range';
import { ApplyMemoryArguments, ApplyMemoryResult, MemoryOptions, StoreMemoryArguments } from '../common/messaging';
import { isWebviewContext } from '../common/webview-context';
import { isVariablesContext } from './external-views';
import { MemoryProvider } from './memory-provider';

export const StoreCommandType = `${manifest.PACKAGE_NAME}.store-file`;
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/memory-webview-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import * as vscode from 'vscode';
import { Messenger } from 'vscode-messenger';
import { WebviewIdMessageParticipant } from 'vscode-messenger-common';
import { isVariablesContext } from '../common/external-views';
import * as manifest from '../common/manifest';
import { VariableRange } from '../common/memory-range';
import {
Expand Down Expand Up @@ -46,7 +47,6 @@ import {
} from '../common/messaging';
import { MemoryViewSettings, ScrollingBehavior } from '../common/webview-configuration';
import { getVisibleColumns, isWebviewVariableContext, WebviewContext } from '../common/webview-context';
import { isVariablesContext } from './external-views';
import { outputChannelLogger } from './logger';
import { MemoryProvider } from './memory-provider';
import { ApplyCommandType, StoreCommandType } from './memory-storage';
Expand Down

0 comments on commit 1220615

Please sign in to comment.