-
Notifications
You must be signed in to change notification settings - Fork 81
Enable mlx in documentSelector and a few small features #1964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
smorimoto
merged 13 commits into
ocamllabs:master
from
davesnx:include-mlx-documentSelector
Nov 3, 2025
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
dfe4f6f
documentSelector includes mlx
davesnx 96260d2
Add entrylog for mlx
davesnx 87ff325
Add ocaml.mlx into keybindings
davesnx 3281651
Enalbe shiwting impl/intf for mlx
davesnx ad7e074
Enalbe AST editor for mlx
davesnx d19bdb3
Add changelog entires
davesnx 98e542a
Make sure editorTextFocus and editorLangId works together
davesnx a31a608
Merge branch 'master' of github.com:/ocamllabs/vscode-ocaml-platform …
davesnx 567aa14
Remove ocamllex and mehir from ocaml.switch-impl-intf
davesnx e311ef3
Fix identation on ocaml.prev-hole
davesnx f2bb2ad
Fix identation on ocaml.search-by-type
davesnx 9ed28cd
Add editorTextFocus in ocaml.next-hole|prev-hole
davesnx 896a837
Remove ocamllex from ocaml.search-by-type
davesnx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -785,84 +785,84 @@ | |
| { | ||
| "command": "ocaml.switch-impl-intf", | ||
| "key": "Alt+O", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "editor.action.codeAction", | ||
| "key": "Alt+D", | ||
| "args": { | ||
| "kind": "destruct (enumerate cases)" | ||
| }, | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.construct", | ||
| "key": "Alt+C", | ||
| "args": { | ||
| "kind": "construct" | ||
| }, | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.jump", | ||
| "key": "Alt+J", | ||
| "args": { | ||
| "kind": "jump" | ||
| }, | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "editor.action.codeAction", | ||
| "key": "Alt+P", | ||
| "args": { | ||
| "kind": "inferred_intf" | ||
| }, | ||
| "when": "editorLangId == ocaml.interface || editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.evaluate-selection", | ||
| "key": "Shift+Enter", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.next-hole", | ||
| "key": "Alt+Y", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.ocamllex || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.prev-hole", | ||
| "key": "Shift+Alt+Y", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.ocamllex || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.reveal-ast-node", | ||
| "key": "Alt+N", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.switch-hover-mode", | ||
| "key": "Alt+H", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.search-by-type", | ||
| "key": "Alt+F", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.type-selection", | ||
| "key": "Alt+T", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.type-previous-selection", | ||
| "key": "Shift+Alt+T", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.augment-selection-type-verbosity", | ||
| "key": "Alt+V", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == ocaml.mlx)" | ||
| } | ||
| ], | ||
| "languages": [ | ||
|
|
@@ -1089,7 +1089,7 @@ | |
| { | ||
| "command": "ocaml.evaluate-selection", | ||
| "group": "OCaml", | ||
| "when": "editorTextFocus && editorLangId == ocaml || editorTextFocus && editorLangId == ocaml.interface || editorTextFocus && editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.reveal-ast-node", | ||
|
|
@@ -1104,11 +1104,11 @@ | |
| }, | ||
| { | ||
| "command": "ocaml.next-hole", | ||
| "when": "editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.prev-hole", | ||
| "when": "editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason" | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)" | ||
| }, | ||
| { | ||
| "command": "ocaml.refresh-switches", | ||
|
|
@@ -1168,7 +1168,7 @@ | |
| }, | ||
| { | ||
| "command": "ocaml.search-by-type", | ||
| "when": "editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason" | ||
| "when": "editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here we could probably add |
||
| }, | ||
| { | ||
| "command": "ocaml.navigate-typed-holes", | ||
|
|
@@ -1179,7 +1179,7 @@ | |
| { | ||
| "command": "ocaml.switch-impl-intf", | ||
| "key": "Alt+O", | ||
| "when": "editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason", | ||
| "when": "editorTextFocus && (editorLangId == ocaml || editorLangId == ocaml.interface || editorLangId == reason || editorLangId == ocaml.mlx)", | ||
| "group": "navigation" | ||
| } | ||
| ], | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.