Questions tagged [visual-studio-monaco]

Visual Studio Online “Monaco” is a coding environment for the cloud, in the cloud. It complements the desktop IDE as a low friction experience that will help you get started, or make quick changes, to an existing cloud service.

Visual Studio Online “Monaco” is a coding environment for the cloud, in the cloud. It complements the desktop IDE as a low friction experience that will help you get started, or make quick changes, to an existing cloud service. And it is integrated with Visual Studio Online.

“Monaco” is already being used as the technology behind other cloud-based developer experience, from Office 365 “Napa” development to SkyDrive file editing.

More info on MSDN blogs.

76 questions
1
vote
0 answers

Unable to setup a connection between Visual Studio Online "Monaco" and Team Service because of (Invalid Client ID)

I create a GIT repo in VisualStudio.com and a Web App in Azure, but when I try to Connect my Azure Web App from Visual Studio Online "Monaco" to a Team Service (GIT). enter image description here I have the following problem: "We were unable to…
0
votes
0 answers

When using defineTheme and setMonarchTokensProvider, the default theme is overridden

When using defineTheme and setMonarchTokensProvider, the default theme is overridden I introduced the cpp language pack, but I wanted to customize some hints and highlight them, but when I set them, they overwrite the vs theme by…
0
votes
0 answers

Monaco editor load theme without instance in newer version

This issue is duplicate of this but in newer version of monaco-editor, They have removed the StandaloneServices. I want to the same make Monaco load the CSS without creating an editor instance. Can somebody tell me what alternative can be used for…
0
votes
1 answer

Monaco Editor: Fold and unfold specific part of the code

I'm using monaco-editor for educational purposes about one topic. I was trying to fold and unfold specific part of the code to let the user understand what each part of the code do. For example, I would like to fold all the functions but one and…
0
votes
0 answers

Getting access to "monaco-editor" in the front-end of an electron application, cleanly

I am having extreme trouble trying to integrate monaco-editor in an electron app. Please note I am new to web-app development. Currently, to load monaco-editor, I can do one of those two things : Use "AMDloader". In that case, I include "
Frotaur
  • 113
  • 8
0
votes
1 answer

How to change The minimap Background color in Monaco index.html

Since, i want it to be transparent this is what i have now, i have readed every topic or etc monaco.editor.defineTheme('TestMonaco', { base: 'vs-dark', inherit: true, rules: [ …
MrDanielNL
  • 11
  • 3
0
votes
0 answers

How do I create a view in HTML only with Monaco Editor?

Currently I am building a Visual Studio Code Extension which will open a webview (html) as a preview. Currently it uses html as I've mentioned above to generate a view. I am currently looking to implement Monaco Editor inside of my extension code…
0
votes
1 answer

Monaco editor creating an instance without providing the editor container

I want to inject the Monaco editor html code through javascript. However, the create function for the editor always asks for the container div. monaco.editor.create(document.getElementById('container-div'),{options}) Is there an option to create the…
Sayak China
  • 125
  • 1
  • 5
0
votes
1 answer

Monaco Editor : How to fix certain line in source code

How can I set a line fixed in Monaco Editor ? One can edit the content before or after the fixed line. But she cannot edit or remove the fixed line.
Mr.Wang from Next Door
  • 13,670
  • 12
  • 64
  • 97
0
votes
2 answers

How to show changed edited lines (diff) in monaco editor without using the split mode diff editor?

I'm trying to achieve something like this in monaco editor. Is there a way I can achieve this kind of notifying the changed lines in monaco without using DiffEditor (the one that shows in split mode?) TIA. I'm looking for exact experience as how…
Sandesh Baliga
  • 579
  • 5
  • 20
0
votes
1 answer

Edit local Files using monaco-editor

im new to asking in stackoverflow but here is my my problem im trying to implement a text editor that loads xml files from my pc and then edit them and save the files into the originals ive searched a lot and found the monaco editor but my problem…
0
votes
1 answer

how to trigger only documentation box in monaco-editor programatically

Is there a way to programmatically trigger only the documentation box ( highlighted in the below image ) with some contents? A CompletionItemProvider with documentation will show a list of suggested items and when we click the show more icon, it…
0
votes
0 answers

How to add a custom font file in monaco editor

the question is simple... Can I Use a custom font from a .ttf file in monaco-editor. If so... How do i do it, because I have tried to send in fontFamily: "monospace" I have also tried to send in a custom font file like fontFamily:…
Woundrite
  • 1
  • 3
0
votes
0 answers

How to use Monaco-Editor in VSCode Extension

I am writing a CustomTextEditor-Extension for Visual Studio Code. I‘d like to have the overview on the right, and the line-count on the left - the typical Monaco Editor features. The editor itself should just be an enhanced monaco editor. Right now…
0
votes
1 answer

Getting null when using match brackets in monaco editor

Hope you are going well. I have used editor.getmodel().matchBrackets(5); then I getting null. What I am trying for is, I want to get the range from 5th line of opening bracket to closing bracket. Is the above is correct for, what I am trying.