Created
March 18, 2023 19:50
-
-
Save tinylucid/4ec23b42ee5cc0d9b2803fe14df0f82f to your computer and use it in GitHub Desktop.
10x config (beta)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Format: <SettingName>: <Settingvalue> | |
# Setting name must appear at start of line and there must be whitespace after the colon. | |
# Multiple values can be comma separated or on subsequent lines. | |
# | |
# General | |
# | |
# Open the last workspace opened when starting 10x | |
OpenLastWorkspaceOnStartup: false | |
# Path of the Visual Studio VsDevCmd.bat or vcvars64.bat batch file to use for setting the Visual Studio build environment. Restart 10X after changing this value. Set to 'auto' to let 10x try and find the path | |
VisualStudioEnvBat: C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/Tools/VsDevCmd.bat | |
# Sync breakpoints and current config with Visual Studio | |
VisualStudioSync: true | |
# How often to backup unsaved files (ms) | |
FileBackupFrequency: 5000 | |
# Crash dump mode. Restart 10x for this to take effect | |
# Valid values: Mini, MiniWithHeap, Full | |
CrashDumpMode: MiniWithHeap | |
# The internet search engine command. Search word will be appended to this command. | |
InternetSearchCommand: https://www.google.com/search?q= | |
# Autosave 10x workspace files as soon as changes are made | |
AutosaveWorkspace: false | |
# Open the previously opened files on startup when no workspace is open | |
RememberOpenFiles: false | |
# If true then it won't prompt to save unsaved files and they will be restored on restart | |
RestoreUnsavedFiles: false | |
# Take the name of the file from the first word typed | |
AutoNameUntitledFiles: false | |
# | |
# Fonts | |
# | |
# The main UI font for 10X. | |
# Can be the font name, the name of the ttf file in a system fonts | |
# folder or the full path to a ttf file. | |
UIFont: Segoe UI | |
# Use 'Horizontal' for standard sub-pixel rendering, 'None' to disable. | |
# Use VerticalLeft if you have your monitor orientated vertically on its | |
# left side, and VerticalRight if orientated on the right side. | |
# Valid values: None, Horizontal, VerticalLeft, VerticalRight | |
FontSubPixelRenderingMode: Horizontal | |
# Gamma value for font rendering | |
FontGamma: 2.2 | |
# The font for all text editor windows. | |
# Can be the font name, the name of the ttf file in a system fonts | |
# folder or the full path to a ttf file. | |
# Only supports fixed width fonts. | |
EditorFont: Comic Code Medium | |
# The font size for all text editor windows | |
EditorFontSize: 15 | |
# Extra spacing between lines | |
VerticalLineGap: -7 | |
# | |
# UI | |
# | |
# The main UI Scale. Set to 1 for 100% scaling, 1.5 for 150% etc. Set to 'auto' to use the OS scale. | |
# Valid values: float, auto | |
UIScale: 1.0 | |
# The current colour scheme for all UI elements. Can be 'default' | |
ColorScheme: VS+VAX | |
# Hide the main menu when not in use. Mouse Over to make visible. | |
HideMainMenu: true | |
# Show the main app menu when the mouse hovers over | |
ShowMainMenuOnMouseHover: true | |
# whether to toggle the main menu on the alt key | |
ToggleMainMenuOnAlt: true | |
# How to show the workspace in the title bar if the menu is hidden (None, Name, Path) | |
# Valid values: None, Name, Path | |
WorkspaceTextInTitleBar: Name | |
# Show line numbers (true, false) | |
ShowLineNumbers: true | |
# Show the collapse expand margin (true, false) | |
ShowCollapseRegionMargin: true | |
# Margin width | |
MarginWidth: 16 | |
# Width of the line markers (bookmarks, breakpoints etc) | |
LineMarkerWidth: 16 | |
# True to toggle breakpoints in the margin with the mouse | |
ToggleBreakpointsWithMouse: true | |
# cursor blink rate. Time in ms between blinks. Can be set to auto to use the OS blick rate. Set to 0 to disable. | |
CursorBlinkRate: 0 | |
# Ctrl+tab switch file mode. Can be set to all files or restricted to files open in the current panel | |
# Valid values: All, Panel | |
SwitchFileMode: All | |
# The maximum number of tabs to keep open | |
MaxOpenTabs: 40 | |
# Use backslashes in paths | |
BackslashPaths: true | |
# Reopen a file in the current panel even if it already open in a different panel | |
ReopenFileInCurrentPanel: false | |
# If the file hasn't been opened before open it in the currently active panel | |
OpenFileInActivePanel: false | |
# Remember the panel position of the file when it is closed | |
RememberFilePanelPos: false | |
# Show indent lines | |
ShowIndentGuideLines: true | |
# Comma separated list of columns for ruler lines | |
VerticalRulers: | |
# How to set the initial text when the find text panel is shown. Current means use the current word, Selected means use the current selection. Values: (None, Current, Selection) | |
# Valid values: None, Current, Selection | |
FindTextInitialValue: Current | |
# If enabled, left/right cursor keys move between text boxes and buttons in the find and find/replace panels | |
FindPanelCursorKeys: true | |
# Close the find panel when the Enterkey is pressed | |
CloseFindPanelOnEnter: false | |
# How to set the initial text when the find/replace text panel is shown. Current means use the current word, Selected means use the current selection. Values: (None, Current, Selection) | |
# Valid values: None, Current, Selection | |
ReplaceTextInitialValue: Current | |
# The width of the map scroll bar | |
MapScrollBarWidth: 60 | |
# Scroll bar mode for code text editor panels | |
# Valid values: Standard, Map | |
ScrollBarMode: Map | |
# Highlight the current find text in the scroll bar | |
HighlightFindTextInScrollBar: true | |
# Highlight the currently selected word in the scroll bar | |
HighlightSelectedWordInScrollBar: false | |
# Size of the scroll bar highlights | |
ScrollBarHighlightSize: 1.0 | |
# Always centre floating panels horizontally | |
CentreFloatingPanelsHorz: true | |
# Always centre floating panels vertically | |
CentreFloatingPanelsVert: true | |
# Vertical mouse wheel sensitivity | |
VerticalMouseWheelSensitivity: 1.0 | |
# Horizontal mouse wheel sensitivity | |
HorizontalMouseWheelSensitivity: 1.0 | |
# True to enable zooming the font with the control + mouse wheel | |
MouseWheelZoom: true | |
# Number of lines scroll wheel scrolls | |
MouseWheelScrollStep: 3 | |
# True to open files in the column specified by the Column0Presets, Column1Presets, Column2Presets settings | |
UseColumnPresets: true | |
# File wildcards for files that should automatically open in column 0. Separated by commas. | |
Column0Presets: *.c,*.cc,*.cpp,*.c++,*.cp,*.cxx | |
# File wildcards for files that should automatically open in column 1. Separated by commas. | |
Column1Presets: *.h,*.hh,*.hpp,*.h++,*.hp,*.hxx,*.inl | |
# File wildcards for files that should automatically open in column 2. Separated by commas. | |
Column2Presets: *.bat,*.py | |
# | |
# Edit | |
# | |
# How to display the cursor (caret) in the text editor. Values: (Line, Block, Underscore) | |
# Valid values: Line, Block, Underscore, HalfBlock | |
CursorMode: Block | |
# Width of a tab in chars | |
TabWidth: 4 | |
# Whether lines should be indented with tabs or spaces | |
# Valid values: Tabs, Spaces | |
IndentMode: Spaces | |
# Whether lines should be indented with tabs or spaces | |
# Valid values: Tabs, Spaces | |
PythonIndentMode: Spaces | |
# Automatically detect the indentation mode (tabs or spaces) when the files is opened. If inconclusive defaults to the IndentMode setting | |
AutoDetectIndentMode: false | |
# Auto-indent new lines | |
AutoIndent: true | |
# Update the line indents after a paste | |
UpdateIndentsOnPaste: true | |
# When creating a new line add tabs or spaces to the current indentation depth | |
ExtendEmptyLines: false | |
# The default WordWrap setting when opening files | |
WordWrap: false | |
# Show whitespace | |
ShowWhitespace: false | |
# Show Line Endings | |
ShowLineEndings: false | |
# Highlight all instances of the current symbol | |
HighlightCurrentSymbol: true | |
# Highlight all instances of the current word | |
HighlightCurrentWord: false | |
# Highlight all instances of the currently selected word | |
HighlightSelectedWord: true | |
# true to make Toggle Comment command use // line comments instead of /* */ | |
CommentBlockUsesLineComments: true | |
# true to make the Comment command move to the next line on single line comments | |
CommentBlockIncrementLine: false | |
# Typing an open bracket/brace char ((,{,[) with selected text will enclose the selection with that bracket/brace | |
BracketSelectedText: true | |
# Enable the Vim style editing | |
Vim: false | |
# Automatically format statement or block when typing a ; or } | |
AutoFormat: true | |
# Automatically add a close brace after typing an open brace | |
AutoAddCloseBrace: false | |
# Automatically add a close brace and format the braces | |
AutoAddCloseBraceAndFormat: false | |
# If true the open brace will be moved to the next line on auto-foramt | |
OpenBraceOnNewLine: true | |
# Update the current block indentation when a close brace is typed | |
UpdateIndentsOnCloseBrace: true | |
# When pressing Enter between {} braces move the braces to new lines | |
FormatBracesOnEnterSplit: false | |
# Automatically add a close bracket after typing an open bracket | |
AutoAddCloseBracket: false | |
# Align function arguments lines to the function open bracket | |
BracketAlignFunctionArgs: true | |
# Align conditional lines to the open bracket | |
BracketAlignConditionals: false | |
# Align lines in assignment statements to equals char | |
AlignToEquals: false | |
# true to indent case statements inside switch case block | |
IndentCaseStatements: true | |
# Automatically fix . and -> depending if the variable is a pointer | |
AutoFixIndirection: false | |
# Typing /** will add a */, Enter will add a new line starting with * | |
AutoFormatBlockComments: false | |
# New comment lines will be started with * when AutoFormatBlockComments is enabled | |
AutoFormatBlockCommentsNewLines: true | |
# | |
# Build | |
# | |
# Build before starting debugging using the StartDebugging command | |
BuildBeforeStartDebugging: true | |
# Build before running the exe | |
BuildBeforeRun: true | |
# Stop the debugger when a full build starts | |
StopDebuggingOnBuild: false | |
# | |
# Parser | |
# | |
# Control+click in text editor to go to definition of symbol. Otherwise just selects word. | |
ControlClickGotoDefinition: true | |
# Hide items with a low match score behind the 'more...' item | |
AutoCompleteHideLowMatch: true | |
# Allow submitting of first item in list with tab even if no item is selected | |
SubmitFirstAutocomplete: true | |
# true to make the Enter key submit autocomplete | |
SubmitAutocompleteOnEnter: true | |
# Controls the column in which a file is opened for Goto symbol definition and Goto Build Error | |
GotoDefColumn: default | |
# When auto completing a function add the ( bracket and the ) bracket if it has no args | |
AutoAddFunctionBrackets: true | |
# Comma separated list of extensions for the C++ parser to parse. Requires a reparse all to take effect. | |
ParserExtensions: .c,.cc,.cpp,.c++,.cp,.cxx,.h,.hh,.hpp,.h++,.hp,.hxx,.inl,.ixx,.vert,.frag,.comp,.geom,.eval,.cont,.glsl,.hlsl,.hlsli,.fx,.rgen,.usf,.ush,.cg,.fx,.pssl,.cu | |
# Comma separated list of paths to exclude (supports wildcards). Clear out cache for it to take effect. | |
ParserExcludeFilters: */sqlite/* | |
# Comma separated list of paths. The parser will parse all files found in these directories. | |
# End with * to add files recursively. Reopen workspace for this setting to take effect | |
AdditionalIncludePaths: C:\VulkanSDK\1.3.239.0\Include\* | |
# true to enable autocomplete to automatically show as you type | |
Autocomplete: true | |
# When autocompleting functions submit the autocomplete by typing ( | |
SubmitAutocompleteOnOpenBracket: true | |
# true to enable autocomplete in comments | |
AutocompleteInComments: false | |
# Dismiss the autocomplete when the typed text matches one of these comma separated strings | |
ExactMatchAutoComplete: else,endif,once | |
# Typedefs and using aliases will be resolved in GotoSymbolDefintion | |
GotoDefResolvesTypedefs: false | |
# If true, goto definition on function calls will go to the function implementation instead of the declaration | |
GotoFunctionImplementation: true | |
# if true, '#if SOMETHING' will resolve to '#if 1' if SOMETHING isn't defined. Reopen the workspace and reparse for this to take effect. | |
TreatUndefinedDefinesAsTrue: false | |
# Brightness of defined out code | |
DefinedOutBrightness: 0.55 | |
# True to use the regex syntax highlighting for keywords that are undefined by the parser. False means use the Language.Text colour. | |
ColourUndefinedKeywords: true | |
# Files larger than this size (in bytes) will not be parsed. | |
ParserMaxFileSize: 52428800 | |
# | |
# WorkspaceSearch | |
# | |
# Search will search files with these extensions | |
Search.Extensions: .asm, .bat, .c, .cc, .cpp, .cs, .css, .csv, .cxx, .def, .disco, .dtd, .fx, .h, .hh, .hpp, .hlsl, .htm, .html, .hxx, .idl, .inc, .inl, .java, .js, .jsx, .l, .ll, .lnx, .log, .mk, .pl, .pmk, .ps, .py, .s, .sh, .src, .srf, .tlh, .tli, .txt, .vb, .vsh, .wsdl, .xaml, .xml, .xsd, .xsl, .xslt, .y, .psh, .fsh, .sh, .shader, .vsct, .resx, .wxs, .php, .vsixmanifest, .uc, .sql, .webconfig, .aspx, .lua, .cshtml, .md, .usf, .ush, .pssl, .scons, .cu | |
# Comma separated list of wildcards for files to exclude | |
Search.ExcludeList: */sqlite/* | |
# Search will stop searching after this many results have been found | |
Search.MaxResults: 1000 | |
# The maximum file size that Search will index | |
Search.MaxFileSize: 10485760 | |
# Path mode for the Search panel results | |
# Valid values: Full, Relative, Filename, FolderAndFile | |
Search.PathMode: FolderAndFile | |
# Use the current word as the initial search text when opening the Search panel | |
Search.SearchCurrentWord: true | |
# Sort the file results by how often they have been opened | |
Search.SortOpenFilesByOpenFrequency: true | |
# | |
# Misc | |
# | |
# The maximum number of cores to use, -1 to use SystemCoreCount*0.8 (requires restart) | |
MaxCoreCount: -1 | |
# Enable verbose logging to the .log file | |
VerboseLogging: false | |
# Eanble drag-drop and drag-reorder in the workspace tree | |
EnableWorkspaceTreeDragDrop: true | |
# Setting to true sleeps the app when idle instead of calling Present. The app is considered idle when nothing on screen changes and there is no user input. Calling nothing but present still uses a small <1% of CPU time, setting this will get it to 0%. However, this can cause issues with G-Sync. A better solution to the G-Sync problem is to turn off G-Sync for 10x in the NVIDIA display settings. | |
DisablePresentWhenIdle: true | |
# Enable VSync | |
VSync: true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment