https://github.com/ahrefs/vscode-ocp-grep
https://github.com/ahrefs/vscode-ocp-grep
Last synced: 3 months 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 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-27T15:16:50.000Z (over 1 year ago)
- Last Synced: 2025-04-03T00:17:04.331Z (3 months 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"
}
}
```