Commands

Most commands and their shortcuts can be found via the main menu.

Commands can be mapped to keys using the key mappings file (Settings Menu -> Key Bindings).

Commands can also be executed from the CommandPrompt (ctrl+shift+X)

Commands can be executed from python using the ExecuteCommand API, for example:

N10X.Editor.ExecuteCommand("Openfile")

File

OpenFile

 Control O

Open a file

CloseFile

 Control F4

Close the current file

SaveFile

 Control S

Save the current file

SaveFileAs

 

Save the current file as the specified file

SaveAll

 Control S, Control S

Save all files

CloseAll

 

Close all files

NewTextFile

 Control N

Create a new text file

CopyActiveFilePath

 

Copy the path of the current file to the clipboard

OpenFolderForActivefile

 

Open file explorer for the folder of the current file

ShowInWorkspaceTree

 Control T

Show the current file in the workspace tree

ToggleReadOnly

 

Toggle the read-only status of the current file

Workspace

CreateWorkspace

 

Show the Create Workspace panel

OpenWorkspace

 

Show the Open Workspace dialog

SaveWorkspace

 

Save the current workspace file

CloseWorkspace

 

Close the current workspace

OpenSolution

 

Show the Open Solution dialog

OpenFolder

 

Show the Open Folder dialog

WorkspaceSettings

 

Show the workspace settings panel

ActiveWorkspaceSettings

 

Show the workspace settings panel for the active workspace

LogWorkspaceSettings

 

Log the build variables for the workspace (for current config and platform)

SyncWorkspace

 

Sync all folders in the workspace (10x workspaces only)

General

ShowCommandPanel

 Control Shift X

Show the execute command text box

Show10XOutput

 

Open the output panel

CloseOutputPanel

 

Close the output panel

CloseFindFilePanel

 

Close the find file panel

CloseCommandPanel

 

Close the command panel

ToggleOutputPanel

 

Show/Hide the output panel

ToggleWorkspaceExplorer

 Control Shift E

Toggle the workspace explorer panel

Settings

 

Open the settings file

LocalSettings

 

Open the local settings file

EditKeyBindings

 

Open the key bindings file

EditCurrentColourScheme

 

Open the current colour scheme file

Colours

 

Show the colour schemes panel

InternetSearch

 F1

Internet search for the current word or selection using the InternetSearchCommand setting

ZoomIn

 Control Shift .

Zoom in on editor text (increase font size)

ZoomOut

 Control Shift Comma

Zoom in on editor text (decrease font size)

ToggleFullscreen

 Alt Enter

Toggle fullscreen

ToggleFocusMode

 Control Alt Enter

Toggle focus mode

ToggleFullScreenFocusMode

 Shift Alt Enter

Toggle fullscreen focus mode

ToggleTextToSpeech

 

Toggle text to speech

OpenCurrentFileInVS

 Alt X

Open the current file at the current line in Visual Studio

Edit

Cut

 Control X

Cut to Clipboard

Copy

 Control C

Copy to clipboard

Paste

 Control V

Paste from clipboard

PasteHistory

 Control Shift V

Show the paste history dropdown

Undo

 Control Z

Undo the last operation

Redo

 Control Y

Redo the last undone operation

Delete

 Delete

Delete the current character or selected text

CutLine

 Shift Delete

Cut the current line

DeleteLine

 Control Shift L

Delete the current line

MoveLineUp

 Control Shift Up

Move current line up one

MoveLineDown

 Control Shift Down

Move current line down one

DuplicateLine

 Control Shift D

Duplicate the current line

InsertLine

 Control Enter

Insert a new line at the current line

InsertLineAfter

 Control Shift Enter

Insert a new line after the current line

SelectAll

 Control A

Select all text

SelectCurrentWord

 Control W

Select the current word

SelectCurrentScope

 Shift Alt =

Select the current scope

MakeSelectionUppercase

 Control Shift U

Make selection uppercase

MakeSelectionLowercase

 Control U

Make selection lowercase

SelectCurrentBracketScope

 Control Shift M

Select the current scope for ()[]{}

ToggleWhitespace

 Control Shift W

Toggle whitespace visibility

ToggleLineEndings

 

Toggle line endings visibility

ToggleWordWrap

 

Toggle word wrap

ToggleWordWrapForCurrentPanel

 

Toggle word wrap for the current panel

Commentline

 Control K, Control C

Comment the current line or selected lines

Uncommentline

 Control K, Control U

Uncomment the current line or selected lines

ToggleComment

 Control Shift /

Toggle line comment if no select. Toggle block comment if selection.

DeleteToEndOfLine

 Control L

Delete to the end of the line.

Formatting

IndentLine

 Control ]

Indent the current line or selected lines

UnindentLine

 Control [

Unindent the current line or selected lines

ToggleIndentMode

 

Toggle the indent mode between tabs and spaces

FormatFile

 

Format the current file

FormatSelection

 Control K, Control F

Format the selection or the current scope if no selection

MultiCursor

MultiCursorMoveUp

 Shift Alt Up

Add a new cursor on the line above

MultiCursorMoveDown

 Shift Alt Down

Add a new cursor on the line below

MultiCursorMoveLeft

 Shift Alt Left

Increase selection end for all multi-cursors

MultiCursorMoveRight

 Shift Alt Right

Decrease selection end for all multi-cursors

SelectNextMultiCursor

 Control D

Select the next occurance of the current word using multi-cursor select

SelectAllOccurrences

 Control Shift Alt J

Select all of the find results with multiple cursors

AddCursorAtMousePos

 Control MouseMiddleButton

Add a new cursor at the current mouse pos

StartDraggingRectSelect

 

Start dragging a multi-cursor rectangle select from the current mouse position

CollapseRegions

CollapseRegion

 Control Shift [

Collapse the current region

ExpandRegion

 Control Shift ]

Expand the current region

CollapseAllRegions

 

Collapse all regions in the current file

ExpandAllRegions

 

Expand all regions in the current file

CollapseAllRegionsRecursive

 

Collapse all regions recursively in the current file

ExpandAllRegionsRecursive

 

Expand all regions recursively in the current file

ToggleCollapseExpandRegion

 Control M, Control M

Toggle the collapse/expand of the current region

ToggleCollapseExpandAllRegions

 Control M, Control L

Toggle the collapse/expand of the all regions in the file

MacroRecording

RecordKeySequence

 Control Shift R

Start/stop recording a key sequence

PlaybackKeySequence

 Control Shift P

Playback a key sequence

Navigation

MoveCursorUp

 Up

Move the cursor up in the current text editor

MoveCursorDown

 Down

Move the cursor down in the current text editor

MoveCursorLeft

 Left

Move the cursor left in the current text editor

MoveCursorRight

 Right

Move the cursor right in the current text editor

SelectUp

 Shift Up

Move the selection up one line

SelectDown

 Shift Down

Move the selection down one line

SelectLeft

 Shift Left

Move the selection left one character

SelectRight

 Shift Right

Move the selection right one character

MoveToLineStart

 Home

Move the cursor to the start of the line

MoveToLineEnd

 End

Move the cursor to the end of the line

SelectToLineStart

 Shift Home

Select to the start of the line

SelectToLineEnd

 Shift End

Select to the end of the line

MoveToFileStart

 Control Home

Move the cursor to the end of the file

MoveToFileEnd

 Control End

Move the cursor to the end of the file

SelectToFileStart

 Control Shift Home

Select to the start of the file

SelectToFileEnd

 Control Shift End

Select to the end of the file

MoveCursorPrevWord

 Control Left

Move the cursor to the previous word

MoveCursorNextWord

 Control Right

Move the cursor to the next word

MoveCursorPrevWordSelect

 Control Shift Left

Select to the start of the current/prev word

MoveCursorNextWordSelect

 Control Shift Right

Select to the end of the current/next word

PageUp

 PageUp

Move up by a page

PageDown

 PageDown

Move down by a page

SelectPageUp

 Shift PageUp

Move selection up by a page

SelectPageDown

 Shift PageDown

Move selection down by a page

ScrollOneLineUp

 Control Up

Scroll one line up

ScrollOneLineDown

 Control Down

Scroll one line down

PrevLocation

 Control -

Go to the previous cursor location

NextLocation

 Control Shift -

Go to the next cursor location

PrevLocationCurrentFile

 Control =

Go to the previous cursor location in the current file

NextLocationCurrentFile

 Control Shift =

Go to the next cursor location in the current file

PrevEditLocation

 Control Shift Backspace

Go to the previous edit location

FindFile

 Shift Alt O

Show the Find File panel

FindInFile

 Control F

Find text in the current file

FindInFilePrev

 Shift F3

Find the previous occurance of the last searched for text in the current file

FindInFileNext

 F3

Find the next occurance of the last searched for text in the current file

FindInFilePrevCurrentWord

 Control Shift F3

Find the previous occurance of the current word in the current file

FindInFileNextCurrentWord

 Control F3

Find the next occurance of the current word in the current file

FindReplaceInFile

 Control H

Find and replace text in the current file

GotoPrevResult

 Shift F4

Go to the previus result in the last search or build operation

GotoNextResult

 F4

Go to the next result in the last search or build operation

GoToLine

 Control G

Go to the specified line in the current file

RestoreRecentlyClosedFile

 Control Shift T

Re-open the most recently closed file

MoveToMatchingBracket

 Control Shift \

Move to the matching bracket or brace

Bookmarks

ToggleBookmark

 Control F2

Toggle bookmark for current line

PrevBookmark

 Shift F2

Go to the previous bookmark

NextBookmark

 F2

Go to the next bookmark

PrevBookmarkInFile

 Shift Alt F2

Go to the previous bookmark in the current file

NextBookmarkInFile

 Alt F2

Go to the next bookmark in the current file

RemoveAllBookmarks

 

Clear all bookmarks

RemoveAllBookmarksFromFile

 Control Shift F2

Remove all bookmarks from the current file

FindInFiles

FindInFiles

 Control Shift G

Show the FindInFiles panel

ReplaceInFiles

 Control Shift H

Show the ReplaceInFiles panel

ShowFindInFilesResults1

 

Show the Find in Files Results panel 1

ShowFindInFilesResults2

 

Show the Find in Files Results panel 2

ShowFindInFilesResults3

 

Show the Find in Files Results panel 3

ShowFindInFilesResults4

 

Show the Find in Files Results panel 4

ToggleFindInFilesResultsPanel1

 

Show/Hide the find in files results panel 1

ToggleFindInFilesResultsPanel2

 

Show/Hide the find in files results panel 2

ToggleFindInFilesResultsPanel3

 

Show/Hide the find in files results panel 3

ToggleFindInFilesResultsPanel4

 

Show/Hide the find in files results panel 4

ReplaceAllInFile

 Shift Alt R

Replace all items in the current file from the Find.Replace panel

ReplaceNextInFile

 Alt R

Replace the next item from the Find.Replace panel

Panels

MovePanelFocusLeft

 Alt Left

Move the current panel focus left

MovePanelFocusRight

 Alt Right

Move the current panel focus right

MovePanelFocusUp

 Alt Up

Move the current panel focus up

MovePanelFocusDown

 Alt Down

Move the current panel focus down

MovePanelLeft

 Control Alt Left

Move the current panel left

MovePanelRight

 Control Alt Right

Move the current panel right

MovePanelUp

 Control Alt Up

Move the current panel up

MovePanelDown

 Control Alt Down

Move the current panel down

ShowSwitchPanelPanel

 Control Tab

Show the switch file panel

ShowSwitchPanelPrevItem

 Control Shift Tab

Move to the previous item in the switch file panel

DuplicatePanel

 Shift Alt D

Duplicate the current panel

DuplicatePanelLeft

 Alt Comma

Duplicate the current panel and move to the left

DuplicatePanelRight

 Alt .

Duplicate the current panel and move to the right

Tabs

CloseAllTabs

 

Close all tabs

CloseAllOtherTabs

 

Close all tabs except for the current tab

CloseTabsLeft

 

Close all tabs to the left of the current tab

CloseTabsRight

 

Close all tabs to the right of the current tab

CloseUnmodifiedTabs

 

Close all unmodified tabs

PrevPanelTab

 Control PageUp

Focus the previous tab in the current panel

NextPanelTab

 Control PageDown

Focus the next tab in the current panel

PinTab

 

Pin the current tab

PanelGrid

SetColumnCountAuto

 

Set the panel column count to 'auto'

SetColumnCount1

 

Set the panel column count to 1

SetColumnCount2

 

Set the panel column count to 2

SetColumnCount3

 

Set the panel column count to 3

SetColumnCount4

 

Set the panel column count to 4

SetColumnCount5

 

Set the panel column count to 5

SetColumnCount6

 

Set the panel column count to 6

SetColumnCount7

 

Set the panel column count to 7

SetColumnCount8

 

Set the panel column count to 8

SetRowCountAuto

 

Set the panel row count to 'auto'

SetRowCount1

 

Set the panel row count to 1

SetRowCount2

 

Set the panel row count to 2

SetRowCount3

 

Set the panel row count to 3

SetRowCount4

 

Set the panel row count to 4

SetRowCount5

 

Set the panel row count to 5

SetRowCount6

 

Set the panel row count to 6

SetRowCount7

 

Set the panel row count to 7

SetRowCount8

 

Set the panel row count to 8

Build

BuildAll

 

Build all workspaces

RebuildAll

 

Rebuild all workspaces

CleanAll

 

Clean all workspaces

BuildActiveWorkspace

 F7

Build the currently active workspace

RebuildActiveWorkspace

 Control Alt F7

Rebuild the currently active workspace

CleanActiveWorkspace

 

Clean the currently active workspace

BuildCurrentFile

 Control F7

Build the current file

CancelBuild

 Control Cancel

Cancel the current build

ShowBuildOutput

 

Open the Build panel

CloseBuildPanel

 

Close the build panel

ToggleBuildOutputPanel

 

Show/Hide the build output panel

GotoPrevBuildError

 Shift F8

Go to the previous build error

GotoNextBuildError

 

Go to the next build error

Debugging

StartDebugging

 F5

Start debugging or continue debugging if debugger paused

RestartDebugging

 Control Shift F5

Restart the debugger

StopDebugging

 Shift F5

Stop debugging

DebugStepOver

 F10

Debug step over

DebugStepInto

 F11

Debug step into

DebugStepOut

 Shift F11

Debug step out

VSDebuggerReconnect

 

Reconnect to the Visual Studio Debugger

Run

 Control F5

Launch the exe without debugging

ToggleBreakpoint

 F9

Toggle breakpoint on the current line

RemoveAllBreakpoints

 

Remove breakpoints from all files

PrevBreakpoint

 

Go to the previous breakpoint

NextBreakpoint

 

Go to the next breakpoint

PrevBreakpointInFile

 

Go to the previous breakpoint in the current file

NextBreakpointInFile

 

Go to the next breakpoint in the current file

RemoveAllBreakpointsFromFile

 Control Shift F9

Remove all breakpoints from the current file

ListBreakpoints

 

List all breakpoints to the output window

Parser

ReparseFile

 

Reparse the current file

ReparseAll

 

Reparse all files in the current workspace

GotoSymbolDefinition

 Alt G

Jump to the definition of the current symbol

GotoSymbolDefinitionUnderMouse

 MouseMiddleButton

Jump to the definition of the symbol at the mouse position

Autocomplete

 Control Space

Show the autocomplete dropdown

AutocompleteUp

 Up

Move to the previous item in the autocomplete list

AutocompleteDown

 Down

Move to the next item in the autocomplete list

AutocompletePageUp

 PageUp

Page selection up in the autocomplete list

AutocompletePageDown

 PageDown

Page selection down in the autocomplete list

CancelAutocomplete

 

Cancel autocomplete

ShowFunctionArgsInfo

 Control Shift Space

If cursor is in a function call show the function declaration

FindSymbol

 Shift Alt S

Find a symbol in the workspace

FindSymbolReferences

 Shift Alt F

Show references for the current symbol

FindFunction

 Alt M

Open the Find Function panel to find a function defnition in the current file

RenameSymbol

 Control R

Rename the current symbol

SubmitRenameSymbol

 Enter

Submit the current symbol rename

ToggleParserVerboseLogging

 

Toggle the parser verbose logging

ShowSymbolInfo

 Control K, Control I

Show the symbol info for the current symbol

Perforce

PerforceConnect

 

Connect to the perforce server

PerforceOpenForEdit

 

Open the current file for edit in Perforce

PerforceAdd

 

Add the current file to Perforce

PerforceDiff

 

Diff the current file with the most recent version in Perforce

PerforceHistory

 

Show the perforce history for the current file

PerforceShowInP4v

 

Show the current file in p4v

PerforceAnnotate

 

Show the p4 annotate output for the current file

PerforceTimelapse

 

Show the timelapse for the current file

PerforceRevisionGraph

 

Show the revision graph for the current file

PerforceRevert

 

Revert the current file

PerforceRevertIfUnchanged

 

Revert the current file if it matches the version in Perforce

Misc

ListCommands

 

List the commands to the output panel

Update

 

Update 10x

ShowContextMenu

 Shift F10

Show the context menu for the currently selected UI element

ListworkspaceFiles

 

List files in the current workspace to the output panel

ListFileStatusMonitorFiles

 

List files that the FileStatusMonitor is monitoring to the output panel

LogMemory

 

Show the total amount of memory allocated by 10x

LogMemoryStats

 

Show memory for 10x subsystems

CheckParserIntegrity

 

Start an integrity check on the parser.

Exit

 

Exit 10x