Open
Description
openedon Nov 5, 2024
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Monaco Editor Playground Code
const value = /* set from `myEditor.getModel()`: */ `function hello() {
alert('Hello world!');
}`;
// Hover on each property to see its docs!
const myEditor = monaco.editor.create(document.getElementById("container"), {
value,
language: "javascript",
automaticLayout: true,
});
myEditor.onDidChangeConfiguration((e) => {
alert("Config changed!")
});
Reproduction Steps
- Add handler for
onDidChangeConfiguration
- In Monaco Editor, click Ctrl + M to change tab focus mode
- Observe that an event is not raised for
onDidChangeConfiguration
, but the tab focus mode is changed in the editor
Actual (Problematic) Behavior
The handler for onDidChangeConfiguration
is not called.
Expected Behavior
The handler for onDidChangeConfiguration
should be called
Additional Context
This issue seems to have originated from 0.36.0. May be related to this bug:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels