The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.
TypeScript code-editorcross-platformdapdatabase-clientdebuggerdesktop-appdeveloper-toolsgithttp-clientideintellijlsprusttauriterminal
; Adapted from nvim-treesitter queries/bash/locals.scm (Apache-2.0). Plain
; assignments and loop variables are global in Bash, so only `local` /
; `declare` / `typeset` / `readonly` inside a function declare a local.
; Scopes
(function_definition) @local.scope
; Definitions
(function_definition
(compound_statement
(declaration_command
(variable_assignment
name: (variable_name) @local.definition.var))))
(function_definition
(compound_statement
(declaration_command
(variable_name) @local.definition.var)))
(function_definition
name: (word) @local.definition.function
(#set! definition.function.scope "parent"))
; References
(variable_name) @local.reference
(word) @local.reference