Python Scripts
These scripts are contributions from the 10x community and not directly maintained by PureDev Software.
To use these scripts copy them to the %appdata%\10x\PythonScripts folder.
| Script name | Description |
|---|---|
| AddForwardDeclaration.py | Generates a forward declation of the token the cursor is over |
| AddInclude.py | Adds include path for current symbol |
| AutoDarkMode.py | Track active windows theme and sets appropriate color scheme |
| ClangFormat.py | clang-format plugin for 10x |
| CMakeIntegration.py | Builds cmake projects using cmake commandline |
| CompileDbCmd.py | Single file compile command for projects with compile commands database |
| FormatOnSave.py | Format On Save |
| InstallHeaders.py | Installs a lightweight version of commonly used system headers |
| PythonBlack.py | Formats python scripts using black after saving |
| LSPClient.py | Generic, reusable Language Server Protocol client (completion, hover, go-to-definition, references, diagnostics) that any language script can drive. The LSPClient folder also contains PythonLSP.py |
| PythonLSP.py | Python language support (completion, hover, go-to-definition, references, diagnostics) - configures LSPClient.py to use pylsp (lives in the LSPClient folder, alongside LSPClient.py) |
| OdinLSP.py | Odin language support (completion, hover, go-to-definition, references, diagnostics) - configures LSPClient.py to use OLS (lives in the LSPClient folder, alongside LSPClient.py) |
| RustLSP.py | Rust language support (completion, hover, go-to-definition, references, diagnostics) - configures LSPClient.py to use rust-analyzer (lives in the LSPClient folder, alongside LSPClient.py) |
| JaiLSP.py | Jai language support (completion, hover, go-to-definition, references, diagnostics) - configures LSPClient.py to use jails (lives in the LSPClient folder, alongside LSPClient.py) |
| CSharpLSP.py | C# language support (completion, hover, go-to-definition, references, diagnostics) - configures LSPClient.py to use the official Microsoft.CodeAnalysis.LanguageServer / Roslyn (lives in the LSPClient folder, alongside LSPClient.py) |
| PythonAutopep.py | Formats python scripts using autopep after saving |
| QuickPane.py | This script tries to simulate vim's "vsplit" and "only" commands |
| RemedyBG.py | RemedyBG debugger integration |
| SmoothScroll.py | With this script, you can add the ability to scroll faster with keyboard shortcuts. It also mimics smooth scrolling, more like mousewheel scrolling. |
| SortLines.py | Sort the current selection of lines alphabetically |
| TortoiseSVN.py | TortoiseSVN integration |
| UE_GenerateVSProjectFiles.py | Regenerates the Visual Studio projects files using the UnrealEngineBuild tool |
| Vim.py | Vim style editing. To enable Vim editing set Vim to true in the 10x settings file |
| SignatureCreator.py | Creates a signature or an implementation of a function defined in the header on the CPP file |