How to get monaco editor instance inside VS Code

Viewed 144

I know that due to VS Code architecture its not possible to access monaco editor instance inside extensions. But using mockney patching I was able to inject my custom code inside main UI thread. So how I can access monaco editor instance?

my sample code that runs inside main UI thread

define([
    "module",
    "require",
    "vs/platform/instantiation/common/instantiationService",
    "vs/base/common/platform",
    


], function (module, require, insantiationService, platform) {
        'use strict';
        console.log('');
        console.log(platform)        
    });

0 Answers
Related