Loading global monaco editor in vscode extension - visual-studio-code

I'm writing my first vscode extension. I'm trying to load the underlying monaco editor that vscode runs. How do I access the global.monaco when inside my extension without using the vscode API?

Related

Is there a way to build vscode with a custom set of extensions?

Looking at its source code, vscode comes with a predefined set of extensions located at vscode/extensions/. To build a custom version of vscode with a custom set of extensions, do I need to just put the extension set/pack under exntesions or do I have to configure a specific file?

Get source control status for a workspace file in VSCode Web extension

I've tried to make my extension depend on the vscode.git extension. but this extension does not seem to be available in VSCode Web. VSCode Web only has vscode.git-base and GitHub.codespaces.
https://github.com/microsoft/vscode/issues/159421
How can I get source control status for a workspace file in VSCode Web extension?

How to use custom highlight in Jupyterlab extension?

I am building a server extension for Jupiter Lab. I am using cookie-cutter template as an entry point for my extension.
I want to override the default highlighting for .ipynb files and highlight only some custom words.
How can I achieve this?
I am using typescript & python for developing my extension.

how to disable jupyter editor in vscode

like the title mentioned, how to disable jupyter editor in vscode?
every time,I want to new a file just for text or markdown,I do not like to appear a choice between two, but just default for the inner editor applied by vscode. and how can I configure this.
for right now,I never need to use jupyter notebook.
It seems to be appeared unexpected after vscode update or installed some python package.
This can be disabled by python.dataScience.useNotebookEditor if you are using the Python extension.
Source: https://github.com/microsoft/vscode/issues/103526
Update:
You also need the Jupyter extension along with Python extension for VS Code. The setting key has been renamed from python.dataScience.useNotebookEditor to jupyter.useNotebookEditor^update
With the July/August 2021 introduction of the new Native Notebook Support in VS Code, the answers involving your settings.json are now obsolete. Now the Notebook editor will be used to open .*ipynb files even if you've never installed the Python or Jupyter extensions.
However, you can open a *.ipynb file in the regular text editor by right-clicking on the file in the VS Code File Explorer, doing "Open With", and then selecting the "Text Editor".

Is it possible to add auto-completion into external code editors for Unity

I just started using Unity with Visual Studio Code and got it up and running to use it instead of the default code editor but VSC doesnt display auto-completion and I am wondering if it is even possible to add this feature into Visual Studio Code and if yes, how to do so.