mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
* Implement token cursor using CodeMirror selections Previously, the token cursor feature flag used HTML href links for go to definition. This commit changes the behavior of the feature flag to use CodeMirror selections instead along with several other big changes: * Cmd+Click for Go to definition * Enter for Go to definition * Space for Show popover * Right-click menu for Go to definition and Find references * Up/Down/Right/Left arrow to move the selection to the next token Demo https://www.loom.com/share/a0fa53badd4d419081dcfd1a2fbc7e4e Please give it a try and let us know what you think. * Fix failing integration tests * Hide popover when moving the selection * Close hover tooltip on escape * Replace dom manipulation with idiomatic CodeMirror extension * Revert ARIA role='main' * Address review feedback * s/occurence/occurrence |
||
|---|---|---|
| .. | ||
| src | ||
| .eslintignore | ||
| .eslintrc.js | ||
| babel.config.js | ||
| jest.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Client API
Sourcegraph Client API