{"id":37155696,"url":"https://github.com/v-analyzer/v-analyzer","last_synced_at":"2026-01-14T18:24:29.963Z","repository":{"id":177757112,"uuid":"659830508","full_name":"v-analyzer/v-analyzer","owner":"v-analyzer","description":"Bring IDE features for V programming languages in VS Code, Vim and other editors","archived":false,"fork":false,"pushed_at":"2024-06-22T16:16:47.000Z","size":35110,"stargazers_count":187,"open_issues_count":50,"forks_count":18,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-31T08:49:57.361Z","etag":null,"topics":["v-analyzer","vlang","vls","vosca"],"latest_commit_sha":null,"homepage":"","language":"V","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v-analyzer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-28T16:47:00.000Z","updated_at":"2025-10-26T16:56:34.000Z","dependencies_parsed_at":"2023-12-31T09:22:32.826Z","dependency_job_id":null,"html_url":"https://github.com/v-analyzer/v-analyzer","commit_stats":null,"previous_names":["v-analyzer/v-analyzer"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/v-analyzer/v-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-analyzer%2Fv-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-analyzer%2Fv-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-analyzer%2Fv-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-analyzer%2Fv-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v-analyzer","download_url":"https://codeload.github.com/v-analyzer/v-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-analyzer%2Fv-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["v-analyzer","vlang","vls","vosca"],"created_at":"2026-01-14T18:24:29.234Z","updated_at":"2026-01-14T18:24:29.944Z","avatar_url":"https://github.com/v-analyzer.png","language":"V","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"200px\" src=\"./docs/cover-light.png#gh-light-mode-only\"\u003e\n\u003cimg width=\"200px\" src=\"./docs/cover-dark.png#gh-dark-mode-only\"\u003e\n\n# v-analyzer\n\n[![Association Official Project][AssociationOfficialBadge]][AssociationUrl]\n[![VSCode Extension](https://img.shields.io/badge/VS_Code-extension-25829e?logo=visualstudiocode\u0026logoWidth=10)](https://marketplace.visualstudio.com/items?itemName=VOSCA.vscode-v-analyzer)\n[![Build CI](https://github.com/v-analyzer/v-analyzer/actions/workflows/build_ci.yml/badge.svg)](https://github.com/v-analyzer/v-analyzer/actions/workflows/build_ci.yml)\n[![Analyzer tests](https://github.com/v-analyzer/v-analyzer/actions/workflows/analyzer_tests.yml/badge.svg)](https://github.com/v-analyzer/v-analyzer/actions/workflows/analyzer_tests.yml)\n[![VS Code extension tests](https://github.com/v-analyzer/v-analyzer/actions/workflows/vscode_extension_tests.yml/badge.svg)](https://github.com/v-analyzer/v-analyzer/actions/workflows/vscode_extension_tests.yml)\n\nBring IDE features for the V programming language to VS Code, Vim, and other editors.\n\nv-analyzer provides the following features:\n\n- code completion/IntelliSense\n- go to definition, type definition\n- find all references, document symbol, symbol renaming\n- types and documentation on hover\n- inlay hints for types and some construction like `or` block\n- semantic syntax highlighting\n- formatting\n- signature help\n\n## Installation\n\n### Linux and macOS\n\n```\nv -e \"$(curl -fsSL https://raw.githubusercontent.com/v-analyzer/v-analyzer/main/install.vsh)\"\n```\n\n### Windows\n\nThe install.vsh file is downloaded to the current directory and stored there temporarily.\nSo make sure that there is no file with this name or that it is safe when it is\noverwritten or deleted.\n\n#### Powershell\n\n```\ncurl -o install.vsh https://raw.githubusercontent.com/v-analyzer/v-analyzer/main/install.vsh; v run install.vsh; del install.vsh\n```\n\n#### Command shell\n\n```\ncurl -o install.vsh https://raw.githubusercontent.com/v-analyzer/v-analyzer/main/install.vsh \u0026\u0026 v run install.vsh \u0026\u0026 del install.vsh\n```\n\n## Pre-built binaries\n\nYou can download pre-built binaries from the\n[release page](https://github.com/v-analyzer/v-analyzer/releases).\nCurrently, we provide binaries for Linux (x64), macOS (x64 and ARM), and Windows (x64).\n\n## Building from source\n\n\u003e **Note**\n\u003e If you're using Windows, then you need GCC for any build, as TCC doesn't work\n\u003e due to some issues.\n\nUpdate V to the latest version:\n\n```bash\nv up\n```\n\nInstall dependencies:\n\n```bash\nv install\n```\n\nYou can build debug or release version of the binary.\nDebug version will be slower, but faster to compile.\n\nDebug build:\n\n```bash\nv build.vsh debug\n```\n\nRelease build:\n\n```bash\nv build.vsh release\n```\n\nBinary will be placed in `bin/` folder.\n\n## Setup\n\nAdd `bin/` folder to your `$PATH` environment variable to use `v-analyzer`\ncommand inside VS Code and other editors (**preferred**).\n\nOr, you can specify the path to the binary in your VS Code settings:\n\n```json\n{\n  \"v-analyzer.serverPath\": \"/path/to/v-analyzer/bin/v-analyzer\"\n}\n```\n\n\u003e **Note**\n\u003e Restart VS Code after changing the settings or PATH.\n\n### Config\n\nv-analyzer is configured using global or local config.\nThe global config is located in `~/.config/v-analyzer/config.toml`, changing it will affect all\nprojects.\n\nA local config can be created with the `v-analyzer init` command at the root of the project.\nOnce created, it will be in `./.v-analyzer/config.toml`.\nEach setting in the config has a detailed description.\n\nPay attention to the `custom_vroot` setting, if v-analyzer cannot find where V was installed, then\nyou will need to specify the path to it manually in this field.\n\n## Updating\n\nTo update `v-analyzer` to the latest version, run:\n\n```bash\nv-analyzer up\n```\n\nYou can also update to a nightly version:\n\n```bash\nv-analyzer up --nightly\n```\n\n\u003e **Note**\n\u003e In the nightly version you will get the latest changes, but they may not be stable!\n\n## VS Code extension\n\nThis repository also contains the source code for the VS Code extension in the\n[`editors/code`](https://github.com/v-analyzer/v-analyzer/tree/main/editors/code)\nfolder.\nIt is also available via the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=VOSCA.vscode-v-analyzer).\n\n## NVIM LSP / Mason\n\nFor Neovim users, v-analyzer is available via [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#v_analyzer).\nIt is part of the mason registry and can be installated with `:LspInstall v_analyzer` for nvim-lspconfig or `:MasonInstall v-analyzer` for Mason.\n\n## Authors\n\n- `jsonrpc`, `lsp`, `tree_sitter_v` modules written initially by\n  [VLS authors](https://github.com/vlang/vls) and after that in 2023 it was modified by the\n  [VOSCA](https://github.com/vlang-association).\n\n## Thanks\n\n- [VLS](https://github.com/vlang/vls) authors for the initial Language Server implementation!\n- [vscode-vlang](https://github.com/vlang/vscode-vlang) authors for the first VS Code extension!\n- [rust-analyzer](https://github.com/rust-lang/rust-analyzer)\n  and\n  [gopls](https://github.com/golang/tools/tree/master/gopls)\n  for the inspiration!\n- [Tree-sitter](https://github.com/tree-sitter/tree-sitter) authors for the cool parsing library!\n\n## License\n\nThis project is under the **MIT License**.\nSee the\n[LICENSE](https://github.com/v-analyzer/v-analyzer/blob/main/LICENSE)\nfile for the full license text.\n\n[AssociationOfficialBadge]: https://vosca.dev/badge.svg\n[AssociationUrl]: https://vosca.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-analyzer%2Fv-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv-analyzer%2Fv-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-analyzer%2Fv-analyzer/lists"}