Editor Setup
VSCode
The sqry VSCode extension is in preview. Install it from the Visual Studio Marketplace by searching for “sqry”, or install a .vsix bundle directly via the Extensions panel (… menu → Install from VSIX).
Once installed, add any of the following settings to your workspace or user settings.json (.vscode/settings.json for project-scoped config):
{
"sqry.timeoutMs": 15000,
"sqry.indexTimeoutMs": 300000,
"sqry.limit": 200,
"sqry.autoIndexOnOpen": "prompt"
}
sqry.timeoutMs— per-request timeout in milliseconds (default: 15 000)sqry.indexTimeoutMs— timeout for the initial index build (default: 300 000)sqry.limit— default result limit for search and list operations (default: 200)sqry.autoIndexOnOpen— whether to index automatically when a workspace opens:"prompt","always", or"never"
The extension auto-starts sqry lsp --stdio when you open a workspace folder. No additional configuration is required if sqry is on your PATH.
Neovim
Requires nvim-lspconfig. Add the following to your Neovim config:
require('lspconfig').sqry.setup({
cmd = { 'sqry', 'lsp', '--stdio' },
filetypes = { 'rust', 'python', 'typescript', 'javascript', 'go', 'java' },
root_dir = require('lspconfig.util').root_pattern('.sqry', '.git'),
})
root_dir resolves to the nearest ancestor directory containing a .sqry index folder or a .git directory. sqry will use that directory as the workspace root.
Add additional filetypes to the list for any other languages sqry supports in your project (e.g., 'kotlin', 'swift', 'ruby').
Helix
Add the server definition and attach it to each language you want sqry to cover. Edit your languages.toml (usually ~/.config/helix/languages.toml):
[language-server.sqry]
command = "sqry"
args = ["lsp", "--stdio"]
[[language]]
name = "rust"
language-servers = ["sqry"]
[[language]]
name = "python"
language-servers = ["sqry"]
[[language]]
name = "typescript"
language-servers = ["sqry"]
Repeat the [[language]] block for each language you want sqry active in. Helix will start the server on first use and reuse it across all files that share the same language server definition.