Alexandru Dima
Alexandru Dima
The second editor is in an ``.
Perhaps we could expose the language registries (https://github.com/Microsoft/vscode/blob/66c13c81fd8d844fa2cba38e03bd719e285a1c7e/src/vs/editor/common/modes.ts#L1026), they fire events when language providers are attached.
@naumanumer What do you mean by action bar? The context menu? The F1 list? Or something else?
`editor.trigger('anyString', 'editor.action.quickCommand')` should do it.
@bradenhs No API of that sort at this time. PR welcome.
Sorry for the late reply, there is a non-API way (might get removed in the future): `editor.getMode().setEditableRange(myRange)`. ``` interface IModel { ... /** * Set an editable range on the...
:+1: we plan at one point to make `setHiddenArea` more cooperative. Today the FoldingController thinks it owns those.
Let's continue discussion in #157185
Our suggestion is to install an extension that registers a document symbol provider for XML (such as the redhat xml extension). Otherwise, we also have https://github.com/microsoft/vscode/issues/157165 which tracks using a...
@xiezhaokai Do you have a copy-paste friendly sample that reproduces the problem? We would like to verify, but we think this might be also fixed by https://github.com/microsoft/vscode/pull/157466