Skip to content

Conversation

@liam923
Copy link
Contributor

@liam923 liam923 commented Jul 23, 2025

This PR extends the syntax doc command to also provide information about pieces of oxcaml syntax. Ideally review of this PR also consists of reviewing the English descriptions that are contained within syntax_doc.ml (I encourage nit-picking of them).

This PR does not fully implement the functionality of hovering over modes and modalities. For this, the typedtree must first be extended to contain mode and modality location information, which is tracked by internal ticket 4845.

@liam923 liam923 force-pushed the add-syntax-hovers-for-oxcaml branch from ac1611c to 3040c55 Compare August 25, 2025 22:06
@liam923 liam923 marked this pull request as ready for review September 8, 2025 18:35
@liam923 liam923 requested a review from goldfirere September 8, 2025 18:39
Copy link
Contributor

@goldfirere goldfirere left a comment

Choose a reason for hiding this comment

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

I have nit-picked, as requested.

@liam923
Copy link
Contributor Author

liam923 commented Sep 11, 2025

I suggest re-reviewing get_mode_doc as a whole, as every description in that function changed.

Copy link
Contributor

@goldfirere goldfirere left a comment

Choose a reason for hiding this comment

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

Did not re-check strings.

@liam923 liam923 merged commit 16dea6e into main Sep 17, 2025
1 check passed
@liam923 liam923 deleted the add-syntax-hovers-for-oxcaml branch September 17, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants