VSCode extension development: how to insert component into TextEditor - visual-studio-code

Is there an API for VSCode that will allow me to insert a component into TextEditor?
For example, the built-in minimap in the figure below.
Suppose I've developd a custom minimap (in the form of an HTML fragment, or whatever), how do I insert it into the existing TextEditor instead of developing a CustomEditor?

Related

Collaborative editor other users cursor modification

I am using CodeMirror and Firepad to create a webapp for collaborative code editor. I want to modify the styling of the cursors. I am able to modify the cursor of the user using the CodeMirror CSS class .CodeMirror-cursor. But I am not able to modify the cursors of other users. I want to add a name at the top of the cursor to identify the user of the cursor. Even before that I am attempting to resize the other user cursors. How can I do this?

VSCode extension add a input in activityBar

I want to add a custom form (text input, submit button) to the activityBar
just like the search
how is this possible with vscode extension api

Can I write a vscode extension to open a file (from explorer panel) directly in webview?

The behavior I want is that when I click on a file (of certain extension) in the explorer panel, instead of opening a text editor, a webview shows up. An example would be that when I open a .md file, instead of showing the markdown text, a custom made WYSIWYG markdown editor (webview) is shown directly.
I managed to open the webview via command and I even hooked it up to the onDidChangeActiveTextEditor and onDidOpenTextDocument events so that whenever a text editor is opened or focused, the corresponding webView is opened and focused immediately.
This almost does what I want, with two issues. One is that the text editor still shows up for a moment. Second, and more problematic, the webview does not sync with the explorer panel as well as the text editor does. For instance, when a text editor is focused, the corresponding file is selected in the explorer panel. The webview doesn't do that.
Is there a way to make the webview the default and primary editor for a type of document?
This is not possible as of VS Code 1.30. These issue are tracking something similar: https://github.com/Microsoft/vscode/issues/12176 and https://github.com/Microsoft/vscode/issues/22068

Umbraco Rich text editor on next tab

Hi this is my first Umbraco build, so I'm not sure if this is a common occurrence, but for the rich text editor I went through this process to create my own styles.
http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/stylesheets-and-javascript/setting-up-rte-styles/documentation
However on my data types I've got another tab, which uses a grid structure within that grid structure there are rich text editor options. The problem I'm having is that the rich text editor isn't pulling through my styles.
Is there a way to make the rich text editor styles universal across my umbraco site.
Richtext editor inside the grid has another, different than default, configuration. You can find it in Grid data type which is used on page which you want to edit.

keyboard layout changes automatically when i click on text in eclipse

i have this problem when i'm in windows.i have two layout language that i use both of them on my works.the problem is when i'm in eclipse and type something with second layout language (my native language) then i want to put some html tag but when i click on that text my layout language in windows change automatically to that language.is there any way to disable this behavior?i want the keyboard layout changes when i press shortcut or with mouse click not automatically by click on text (written on that language)
i changed my workspace to Netbeans and this problem doesn't existing there also it has all feature of Zend studio such as refactor methods or parameters all over project , find usage and else and i think it is very powerful than eclipse and zend studio with no charge