Skip to content

Jump Custom Request Client Implementation#1654

Merged
smorimoto merged 14 commits intoocamllabs:masterfrom
PizieDust:jump_
Nov 29, 2024
Merged

Jump Custom Request Client Implementation#1654
smorimoto merged 14 commits intoocamllabs:masterfrom
PizieDust:jump_

Conversation

@PizieDust
Copy link
Copy Markdown
Contributor

@PizieDust PizieDust commented Nov 21, 2024

Advanced Navigation

Introduction

This PR implements the Jump Custom Requests.

UI

Jump results are displayed in a QuickPick component where upon selection, the jump is made to the selected target.

UX

This command can be triggered from the command pallet or with the keyboard binding Alt +J

Notifications

  • Ocamllsp warning: If ocamllsp is not running at the time the command is invoked, this notification is displayed.
  • No support for requests: If the version of ocamllsp doesn't publish the ocamllsp/jump capability then this notification is displayed.

Commands

One command is published ocaml.jump which triggers the process.

Demo

vscode.jump.mp4

References

cc @voodoos

@PizieDust PizieDust marked this pull request as ready for review November 25, 2024 05:15
@smorimoto
Copy link
Copy Markdown
Collaborator

Could you please move the changelog entry to unreleased section?

Copy link
Copy Markdown
Collaborator

@voodoos voodoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pizie, looks good. I made a few comments / tweaks suggestions.

PizieDust and others added 5 commits November 28, 2024 12:04
Co-authored-by: Ulysse <5031221+voodoos@users.noreply.github.com>
Co-authored-by: Ulysse <5031221+voodoos@users.noreply.github.com>
Co-authored-by: Ulysse <5031221+voodoos@users.noreply.github.com>
@PizieDust PizieDust requested a review from voodoos November 28, 2024 11:27
@smorimoto smorimoto added the type: feature New feature or request label Nov 28, 2024
@PizieDust PizieDust requested a review from voodoos November 28, 2024 16:26
Co-authored-by: Ulysse <5031221+voodoos@users.noreply.github.com>
@smorimoto smorimoto requested a review from voodoos November 28, 2024 17:15
Copy link
Copy Markdown
Collaborator

@voodoos voodoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good to go !

(I am going to release a compatible LSP today)

@smorimoto smorimoto merged commit 4734290 into ocamllabs:master Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants