Comments (5)
There's nothing like editor.action.formatDocument
in Monaco Editor. Can you please explain what you mean?
from blazormonaco.
Hi @khaledafify
It's suggested to use the editor.trigger() method in the link you've sent. BlazorMonaco already supports that method. So, you may use it to invoke the editor.action.formatDocument action.
from blazormonaco.
i have initialized MonacoEditor Component in my page and i need to format the code
ref : microsoft/monaco-editor#32
from blazormonaco.
@serdarciplak is this action applicable to perform ?
from blazormonaco.
thank you @serdarciplak
I'll try it tomorrow.
from blazormonaco.
Related Issues (20)
- createDiffEditor throws exception when old editor's models are disposed of HOT 1
- Only javascript language works HOT 3
- How should I add JS custom class hints? HOT 2
- GetValue not returning when the value is large. HOT 7
- Unable to bind value to c# object. HOT 2
- Could not find 'blazorMonaco.editor.create' HOT 3
- Seeing "Attempting to reconnect to the server: 1 of 8" HOT 3
- Issue after upgrading HOT 1
- How to add/customize Suggestions?
- Please consider updating the embedded version of the Monaco Editor HOT 2
- Dotnet 8 Support HOT 4
- Not working when debugging, but works after publishing and running executable HOT 1
- Is there any way to clear the CompletionList for a CompletionItemProvider? HOT 3
- Other supported languages HOT 1
- Unable to editor.GetValue() with more than ~500 lines of code HOT 1
- Cannot access a disposed object HOT 3
- How do I set the start line for my code editor using Blazor Monaco? HOT 1
- JsonException on every interaction with StandaloneCodeEditor HOT 2
- How can I decorate a line? HOT 2
- Object reference not set to an instance of an object for minimal example. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazormonaco.