File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface AdapterCapabilities {
2626 getVariables ?( session : vscode . DebugSession ) : Promise < VariableRange [ ] > ;
2727 /** Resolve symbols resident in the memory at the specified range. Will be preferred to {@link getVariables} if present. */
2828 getResidents ?( session : vscode . DebugSession , params : DebugProtocol . ReadMemoryArguments ) : Promise < VariableRange [ ] > ;
29- /** Resolves the address of a given variable in bytes withthe current context. */
29+ /** Resolves the address of a given variable in bytes with the current context. */
3030 getAddressOfVariable ?( session : vscode . DebugSession , variableName : string ) : Promise < string | undefined > ;
3131 /** Resolves the size of a given variable in bytes within the current context. */
3232 getSizeOfVariable ?( session : vscode . DebugSession , variableName : string ) : Promise < bigint | undefined > ;
@@ -48,7 +48,7 @@ export function extractDecimalAddress(text?: string): string | undefined {
4848}
4949
5050export function extractAddress ( text ?: string ) : string | undefined {
51- // search for hex address first as a hex adress (0x12345678) also matches an integer address (12345678)
51+ // search for hex address first as a hex address (0x12345678) also matches an integer address (12345678)
5252 return text ? extractHexAddress ( text ) ?? extractDecimalAddress ( text ) : undefined ;
5353}
5454
Original file line number Diff line number Diff line change @@ -122,17 +122,17 @@ export class MemoryProvider {
122122 /** Returns the session if the capability is present, otherwise throws. */
123123 protected assertCapability ( capability : keyof DebugProtocol . Capabilities , action : string ) : vscode . DebugSession {
124124 const session = this . assertActiveSession ( action ) ;
125- if ( ! this . hasDebugCapabilitiy ( session , capability ) ) {
125+ if ( ! this . hasDebugCapability ( session , capability ) ) {
126126 throw new Error ( `Cannot ${ action } . Session does not have capability ${ capability } .` ) ;
127127 }
128128 return session ;
129129 }
130130
131- protected hasDebugCapabilitiy ( session : vscode . DebugSession , capability : keyof DebugProtocol . Capabilities ) : boolean {
131+ protected hasDebugCapability ( session : vscode . DebugSession , capability : keyof DebugProtocol . Capabilities ) : boolean {
132132 return ! ! this . sessionDebugCapabilities . get ( session . id ) ?. [ capability ] ;
133133 }
134134
135- protected hasClientCapabilitiy ( session : vscode . DebugSession , capability : keyof DebugProtocol . InitializeRequestArguments ) : boolean {
135+ protected hasClientCapability ( session : vscode . DebugSession , capability : keyof DebugProtocol . InitializeRequestArguments ) : boolean {
136136 return ! ! this . sessionClientCapabilities . get ( session . id ) ?. [ capability ] ;
137137 }
138138
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface ColumnContribution {
2828 readonly label : string ;
2929 /** Depending on the supported fitting mode, the column will be rendered differently */
3030 fittingType ?: ColumnFittingType ;
31- /** Sorted low to high. If ommitted , sorted alphabetically by ID after all contributions with numbers. */
31+ /** Sorted low to high. If omitted , sorted alphabetically by ID after all contributions with numbers. */
3232 priority ?: number ;
3333 render ( range : BigIntMemoryRange , memory : Memory , options : TableRenderOptions ) : React . ReactNode
3434 /** Called when fetching new memory or when activating the column. */
@@ -54,7 +54,7 @@ class ColumnContributionService {
5454 protected columnArray = new Array < ColumnStatus > ( ) ;
5555 protected registeredColumns = new Map < string , ColumnStatus > ;
5656 /**
57- * @param configurable - if `false`, the column will always be dispayled .
57+ * @param configurable - if `false`, the column will always be displayed .
5858 * @param defaultActive if {@link configurable} is `false`, this field will default to `true` and be ignored. Otherwise defaults to `false`.
5959 */
6060 register ( contribution : ColumnContribution , configurable = true , defaultActive ?: boolean ) : Disposable {
You can’t perform that action at this time.
0 commit comments