https://github.com/ahrefs/vscode-ocp-grep
https://github.com/ahrefs/vscode-ocp-grep
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahrefs/vscode-ocp-grep
- Owner: ahrefs
- License: other
- Created: 2024-02-27T14:21:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T15:16:50.000Z (over 2 years ago)
- Last Synced: 2025-07-10T16:15:46.343Z (about 1 year ago)
- Language: TypeScript
- Size: 91.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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:
```json
{
...
"ocp-grep": {
"path": "/Users/rusty/.opam/5.1.1/bin/ocp-grep"
}
}
```