Closed LavanyaBurlagadda closed 1 year ago
https://github.com/LavanyaBurlagadda/MonacoEditor-POC
You can reproduce the issue with the above code.
In App.js fille we are importing monaco-languageclinet and also added loader.config({monaco}) .
If any of them is commented find controller is working fine.
@hediet Can you please look into the issue
I'm sorry it doesn't seem to be working, but with so many requests that we get here and in the VS Code issue tracker, we just cannot provide the support we would like to offer.
That said, if you can track down your issue to a specific problem of the Monaco editor, we are more than welcoming a PR by the community! Please use the bug-report issue template to report the issue.
Thanks for your understanding!
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
Currently Using React 18 monaco-editor: "^0.34.1", monaco-editor-webpack-plugin: "7.0.1", monaco-languageclient": "4.0.1", vscode": "npm:@codingame/monaco-vscode-api@1.69.12", vscode-ws-jsonrpc": "2.0.1", Craco: 7.0.0
Actual (Problematic) Behavior
When I click on CTRL+F Sometimes it is not showing the Popup Like This![image](https://user-images.githubusercontent.com/48449639/228486893-1d4c27b5-9661-4733-b3b6-2d01bbbd0e28.png)
It is throwing error like![image](https://user-images.githubusercontent.com/48449639/228486941-3b2f7c43-c929-47bf-9716-ebd69bc015f3.png)
It is throwing warning like![image](https://user-images.githubusercontent.com/48449639/228486983-d60b00fc-af03-48e3-9648-46fd59cb5856.png)
When clicking on ALT + W it is showing the below error![image](https://user-images.githubusercontent.com/48449639/228487027-148ce8ff-9bc5-4a20-bcee-df1e243cac1a.png)
We are using monaco language client to integrate java language server, and added below line
loader.config({ monaco: monacoEditor });
When adding this ctrl+f is not working
` const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
module.exports = { webpack: { configure: { experiments: { topLevelAwait: true, }, plugins: [new MonacoWebpackPlugin()], }, }, }; `
Expected Behavior
When Ctrl+F is clicked need to show like this.![image](https://user-images.githubusercontent.com/48449639/228487279-c27a6cbd-ffda-43a5-ba7e-101e638929f4.png)
Additional Context
When we are running it locally without building the entire code then It is working fine.
When I do build it is throwing the above error and not showing the FindControllerPopup