IDE Integration
Integrate Thox.ai with your development environment for seamless AI-assisted coding.
VS Code Extension
Installation
- 1Open VS Code and go to the Extensions view (Ctrl+Shift+X)
- 2Search for "Thox.ai" and click Install
- 3Restart VS Code when prompted
Configuration
Add to your settings.json:
{
"thox.host": "thox.local",
"thox.port": 8080,
"thox.model": "thox-coder",
"thox.enableInlineCompletion": true,
"thox.completionDelay": 300,
"thox.maxTokens": 500
}Features
Inline Completions
Get AI suggestions as you type
Chat Panel
Ask questions in the sidebar
Code Actions
Explain, refactor, add tests
Context Awareness
Uses workspace context
Keyboard Shortcuts
Accept Completion
TabDismiss Completion
EscapeOpen Chat
Ctrl+Shift+TExplain Selection
Ctrl+Shift+EJetBrains Plugin
Works with IntelliJ IDEA, PyCharm, WebStorm, GoLand, and all JetBrains IDEs.
Installation
- 1Open Settings/Preferences → Plugins
- 2Search for "Thox.ai" in the Marketplace
- 3Click Install and restart your IDE
Configuration
Go to Settings → Tools → Thox.ai to configure:
- •Device host and port
- •Preferred model
- •Completion trigger delay
- •Enable/disable inline suggestions
Neovim Setup
Installation (lazy.nvim)
{
"thoxai/thox.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("thox").setup({
host = "thox.local",
port = 8080,
model = "thox-coder",
keymaps = {
accept = "<Tab>",
dismiss = "<Esc>",
chat = "<leader>tc",
},
})
end,
}Installation (packer.nvim)
use {
'thoxai/thox.nvim',
requires = { 'nvim-lua/plenary.nvim' },
config = function()
require('thox').setup()
end
}Commands
:ThoxChatOpen chat window:ThoxExplainExplain selected code:ThoxRefactorSuggest refactoring:ThoxTestGenerate tests for functionEmacs Configuration
Installation (use-package)
(use-package thox
:straight (:host github :repo "thoxai/thox.el")
:config
(setq thox-host "thox.local"
thox-port 8080
thox-model "thox-coder")
(global-thox-mode 1))Installation (Doom Emacs)
;; In packages.el
(package! thox :recipe (:host github :repo "thoxai/thox.el"))
;; In config.el
(use-package! thox
:config (global-thox-mode 1))
Key Bindings
Chat with Thox
C-c t cExplain Region
C-c t eRefactor Region
C-c t rGenerate Tests
C-c t t