vscode-mogami
A VS Code extension for checking the latest version of each dependency.


- Python:
- requirements.txt
pyproject.toml:
- Pixi:
tool.pixi.dependencies & tool.pixi.feature.*.dependencies
- Poetry:
tool.poetry.dependencies & tool.poetry.group.*.dependencies. tool.poetry.source
- PyPA:
project.dependencies, project.optional-dependencies & dependency-groups
- uv:
tool.uv.constraint-dependencies, tool.uv.dev-dependencies & tool.uv.override-dependencies
- PEP 518:
build-system.requires
- PEP 723
- Ruby:
- Node.js:
- GitHub Actions:
.github/workflows/*.{yml,yaml}
- pre-commit:
.pre-commit-config.{yml,yaml}: repos[].repo, repos[].rev
- Crystal Shards:
- Docker:
Dockerfile, Dockerfile.*, *.Dockerfile, Containerfile
compose.{yml,yaml}, compose.*.{yml,yaml}, docker-compose.{yml,yaml}, docker-compose.*.{yml,yaml}
Custom Source
By default, this extension uses a public source (repository) to check package data. The following formats & configurations are supported to change a source to be used.
Known Limitations
Pixi
All the dependencies in Pixi's pyproject.toml are considered as conda-forge packages.
The following cases are not supported yet:
- Using multiple channels (using a channel except
conda-forge).
- Using multiple package repositories (using Anaconda and PyPI together).
Crystal Shards
A github attributed dependency is supported. gitlab, bitbucket, etc. are not supported.
Pre-commit
As with Crystal Shards, only GitHub repositories are supported.
Configuration
| Key |
Default |
Desc. |
vscode-mogami.concurrency |
5 |
Concurrency (a number of concurrent requests) to get package data. |
vscode-mogami.enableCodeLens |
true |
Whether to enable CodeLens or not. |
vscode-mogami.showPrerelease |
false |
Whether to show a prerelease version or not. |
vscode-mogami.usePrivateSource |
true |
Whether to use a private source (repository) if it's set or not. |
vscode-mogami.disableHover |
[] |
Project formats for which the hover provider should be disabled (see below). |
vscode-mogami.disableCodeLens |
[] |
Project formats for which the CodeLens provider should be disabled (see below). |
disableHover/CodeLens
Use them to avoid conflicts when another extension already provides the same feature for a file.
For example, set "vscode-mogami.disableHover": ["npm"] to stop hovers on package.json from competing with the built-in vscode.npm extension.
Valid format names: docker-compose, dockerfile, gemfile, gemspec, github-actions-workflow, npm, pep723 , pre-commit-config, pip-requirements, pyproject, shards.
Notes
- Mogami uses the GitHub REST API to get release data of GitHub Actions Workflow and Crystal Shards. The API may block you if you don't set a personal access token. You can configure it via
Set GitHub Personal Access Token command.
Alternatives
Acknowledgements
Parts of this project were derived from: