Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ocp-grepNew to Visual Studio Code? Get it now.
ocp-grep

ocp-grep

Rusty Key

|
27 installs
| (0) | Free
POC of vscode extension that uses `ocp-grep` to quickly find usages of selected ident in OCaml code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ocp-grep README

POC of extension that uses ocp-grep to quickly find usages of selected ident in OCaml code.

There is no parser, so the command uses active file name and whatever is selected to construct grep string. So, if your ident is not on root level, you have to add remaning modules yourself.

How to use

Specify full path to ocp-grep binary in your settings:

{
  ...
  "ocp-grep": {
    "path": "/Users/rusty/.opam/5.1.1/bin/ocp-grep"
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft