Skip to main content
Back to Extensions Directory
coc.nvim fallback icon

coc-psalm

yaegassy

Psalm extension for coc.nvim

Installation CommandVim prompt
:CocInstall coc-psalm
GitHub owner
yaegassy
Version
v0.12.4
npm package
coc-psalm
Requirements
coc ^0.0.80
License
MIT
Repository
GitHub
npm latest published 2023-05-07Registry checked 2026-08-23Registry summary

Published Package Summary

coc-psalm

coc.nvim extension for Psalm language server.

"Psalm" started as a static analysis tool, but now it also has the features of a Language Server.

coc-psalm-screenshot

Install

:CocInstall coc-psalm

Note

Install psalm in your project.

composer require --dev vimeo/psalm

Required: The project must contain a psalm.xml or psalm.xml.dist file as a condition for starting "coc-psalm".

./vendor/bin/psalm --init

Code Actions

Example key mapping (Code Action related)

nmap <silent> ga <Plug>(coc-codeaction-line)

Usage:

In the line with diagnostic message, enter the mapped key (e.g. ga) and you will see a list of code actions that can be performed.

Code Actions (Client side):

  • Show issue for https://psalm.dev/xxx: Open the issue url in your browser
  • Suppress all for this line

Code Actions (Server side):

  • Suppress XXX for this line

"psalm.xml" or "psalm.xml.dist" completion and linting and more...

To use it, you need to install coc-xml.

Thanks

License

MIT


This extension is built with create-coc-extension

Read the complete README
  • Psalm extension for coc.nvim
Activation Events
  • workspaceContains:**/?(psalm.xml|psalm.xml.dist)
Developer Resources

Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.

Open Developer Guide

Version History

This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.