Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahrefs/vscode-ocp-grep
https://github.com/ahrefs/vscode-ocp-grep
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahrefs/vscode-ocp-grep
- Owner: ahrefs
- License: other
- Created: 2024-02-27T14:21:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T15:16:50.000Z (11 months ago)
- Last Synced: 2024-12-16T19:17:45.298Z (about 1 month 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"
}
}
```