monaco-editor Questions
1
I am getting Unexpected Usage error Console error when using Monaco Editor inside Electron App. The same code works in Website mode but not in Bundled Electorn app.
As mentioned in comment at it m...
Weingarten asked 7/10, 2020 at 12:19
6
What is the best option to implement Monaco editor in Angular 13?
I have seen ngx-monaco-editor, but last update is from 9 months and it’s bumped to Angular 12, also Monaco version there is 0.20.0 ...
Sporocarp asked 10/2, 2022 at 21:52
3
I am building an Electron app in Angular and I am upgrading a couple of dependencies to the latest versions.
✅ Electron stays on v19
✅ Tailwindcss v3.1.8
⬆️ Angular v11 to v14
⬆️ Webpack v4.46.0 t...
Marlonmarlow asked 5/9, 2022 at 20:29
3
Solved
I see there is a way to set scrolltop in monaco editor. How would one scroll to a specific line instead of a specific pixel?
Wounded asked 15/7, 2017 at 22:43
4
Solved
Is there a way to hint to VSCode/Monaco's intellisense the types of variables.
I have some code like this
var loc = window.location;
var gl = context1.getContext("webgl");
var ctx = context2.getC...
Raffarty asked 26/9, 2016 at 3:46
7
I have been searching for a discussion about if it's possible to mimic the html tag textarea's resizing when using Monaco Editor's field all over the Internet but I couldn't find one answering my q...
Dodgem asked 30/10, 2017 at 14:29
4
Default is CRLF.
I want to change it to LF as i am dealing with BASH scripts.
Please help.
I have gone through the docs but could not find any solution or example.
Mystery asked 13/7, 2018 at 7:51
2
In monaco code diff editor, complete content is shown in original and modified section for side by side view. Can anyone please help in a way to show only changed lines in code difference editor wi...
Pinery asked 7/4, 2022 at 6:50
1
I want the Monaco editor to recognized lodash as a library. To fix this I'm using addExtraLib(content: string, filePath?: string). As lodash is my node module I can provide a file path but what to ...
Doggo asked 27/4, 2021 at 13:37
2
Solved
In a monaco editor instance, you can call addAction oraddCommand
Both provide the ability to execute a function based on key events
The online playground offers examples of how to add a command or ...
Castaway asked 21/12, 2020 at 20:16
4
I use the Monaco Editor.
My full code is too long to be posted here but this is my settings:
automaticLayout: true,
folding: false,
theme: 'vs-dark',
lineNumbers: 'off',
minimap: {
enabled: fals...
Burdened asked 29/1, 2020 at 9:13
2
Solved
I am using Monaco editor with react. It's working fine. But I want to remove the minimap and scrollbar in it. How can I remove them? And I want to disable editing in it. How can I achieve these fun...
Imaginative asked 10/5, 2022 at 12:20
3
The codemirror editor support a mode that auto fit height with it's content:
http://codemirror.net/demo/resize.html
Can we make monaco-edtior auto fit content too?
Barb asked 19/4, 2018 at 14:14
2
How can I add padding between the first line of code and top border of Monaco editor?
I have this:
But I need something like this:
Wildman asked 4/7, 2018 at 14:0
3
I want to have VS Code render lists in markdown with bullet points instead of the asterisk (*) character, so that the top level would use •, the next one would use ◦, etc.
My first approach was to ...
Pirog asked 28/8, 2018 at 16:51
3
Solved
Getting this error when using monaco editor with next js.
Have anyone resolved this?
Failed to compile
./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.css
Global CSS cannot...
Stubble asked 16/1, 2020 at 15:42
3
I am struggling a bit to find a minimal runnable example that just runs from the CDN, as opposed to the existing in-tree examples which mostly use local servers.
Stratum asked 30/7, 2020 at 19:11
2
I'd like to have multiple Monaco editors on a page, but each with the own set of globals. Variables created in one editor shouldn't be available as types in an another.
I've tried setting monaco.la...
Kathikathiawar asked 17/12, 2020 at 21:9
3
Looking through the Monaco examples and typings, it looks like themes can be configured via the defineTheme API. I'm trying to apply a VSCode theme to a Monaco instance, and am struggling with how ...
Obviate asked 26/6, 2017 at 18:46
1
I'm using Monaco Editor to make my own IDE. I use provideHover over certain kinds of code.
I realize that the hover window shows several texts. One kind of texts come from contents; another kind of...
Chartism asked 9/9, 2020 at 12:32
4
I am trying set the font size of the monaco editor by styling his surrounding div. That way is not working. So I have seen the monaco editor has an property font-size. So i tried it with this prope...
Latty asked 22/2, 2018 at 17:54
0
Please someone explain me how to integrate github copliot and Monaco-Editor
Someone please explain how to solve this and share code snippets.
Epaminondas asked 27/3, 2023 at 19:41
2
Fellow coders,
I'm having a hard time to find a hook into the 'ctrl+click' (follow link) editor option.
On the demo page the link is opened in a new tab:
https://microsoft.github.io/monaco-editor...
Chrono asked 14/10, 2017 at 16:28
2
I'm adding some text to the Monaco editor using a button outside it (i.e. "hello world") and then I'm trying to set the cursor position to the next line.
I tried using the "setPosition({column:x,...
Apologue asked 30/4, 2019 at 20:10
5
Solved
I am using monaco-editor, i see that cut and copy is added in the context menu in later versions. i want to remove these two options from context menu. Please let me know how can i achieve it?
Justus asked 12/2, 2018 at 11:17
1 Next >
© 2022 - 2024 — McMap. All rights reserved.