Questions tagged [vscode-extensions]

Use this tag for questions about the Visual Studio Code Extension API and extension development. Questions only about extension usage should use the [visual-studio-code] tag instead.

Questions about the Visual Studio Code (VSCode) Extension API and extension development. Questions only about extension usage should use the [visual-studio-code] tag instead.

If you have a question about extension development that isn't a good fit for the Stack Exchange model, use the VS Code Dev Community Slack channel where extension developers help each other out and you can ask questions and find support.

4227 questions
1
vote
1 answer

VSCode : mvbasic extension on editing Unidata code with MV marks in code, ie CHAR(253), CHAR(254)

I have searched for a setting within the mvbasic extension within VSCode but I may have hit a dead end. I am new to using VSCode with the rocket mvbasic extension and still in the learning process, so please bear with me. Our development for the…
kjgonzales
  • 11
  • 1
1
vote
1 answer

redirect console.log messages to an output channel

how can I configure my extension to write all conselo.log}info|debug messages to an outputchannel ? this seems to be the default for LSP Extensions See this issue where it was broken and then fixed, however I have not been able to find how set this…
Jos Verlinde
  • 1,468
  • 12
  • 25
1
vote
0 answers

VSCode : How to get remote-ssh output by api?

I want to get the output content of remote-ssh and analyze these logs in my extension. I tried this method let response = vscode.commands.executeCommand('opensshremotes.showLog'); console.log(response) But the response is not the…
1
vote
0 answers

How to open a specified ssh host and get connect result or error message in my extension?

In my extensionm, I want to call remote-ssh api to open a remote host in a new window, and then get the connect result and error message, and then I want to parse the error message and suggest some fixes to users. First I tried this method: …
1
vote
1 answer

How to link Codelens provider with reference provider for VS Code API

I already have an existing reference provider for the custom language. It works, it opens a references using go to references and go to peek: Go to references Although, I am not using these commands editor.action.peekLocations or…
1
vote
0 answers

My syntax highlighting in vscode is not working

I have a problem with Visual Studio Code custom syntax highlighting. I have made a extension using yo code, put it in %userprofile%/.vscode/extensions, restarted Visual Studio Code, but it's not highlighting any words, but at the bottom it says it's…
user16665136
1
vote
0 answers

How to begin with i18n-ally

Just try to translate my own vscode extension. Nothing is working and i don't find a "get started" for i18n-ally. file to translate are json, typescript and python. Is anyone can help me ?
Frank4466
  • 11
  • 2
1
vote
0 answers

vs code language server pipe output of childproces to client

I'm creating my own language-server extension. I've piped the output of a childprocess to the console and the extension outputChannel. The problem is that the console output updates while running the childprocess but the outputChannel updates only…
1
vote
0 answers

Add a button to `viewContainer` that is *always visible* in VSCode Extension

In VSCode extensions, there are many different ways of adding buttons, specifically via the menus contribution points. While there is view/* stuff, there does not seem to be viewContainer. Two questions: Am I misreading this, or is there no way to…
Domi
  • 22,151
  • 15
  • 92
  • 122
1
vote
1 answer

How can VSCode Custom editor extension tell VSCode that this editor extension should be skipped as it does not support the file

I'm writing a VSCode custom editor extension. The extension should be activated for component.yaml files. However I realize that there could be files named component.yaml with completely different formats. I want to detect that the file is not in…
Ark-kun
  • 6,358
  • 2
  • 34
  • 70
1
vote
1 answer

Referencing code outside the VS Code extension root folder

I have a monorepo with my VS Code extension code located in the vs-code-extension folder: . ├── website ├── vs-code-extension └── shared I am trying to access code from the shared folder inside the code in vs-code-extension. The extension code is…
Ovidijus Parsiunas
  • 2,512
  • 2
  • 8
  • 18
1
vote
0 answers

Unable to install python extension on code-server

I am install vscode using the below commands on ubuntu base image and trying to install python extension and it gets an error. ARG IDE_HOME="/opt" ARG CODE_SERVER_VERSION="v3.11.1" ARG CODE_SERVER_FILE="code-server-3.11.1-linux-amd64.tar.gz" WORKDIR…
user3222101
  • 1,270
  • 2
  • 24
  • 43
1
vote
1 answer

How can I set Make Path in Makefile VS Code extension from Linux?

I'm new on this Makefile thing, and I'm having some issues trying to install the Makefile Extension from the VS Code Marketplace. First of all, I'm using VS Code to connect to a remote machine, with RedHat8 kernel. It uses makefile and it works…
1
vote
1 answer

Can I customize vscode comment symbols?

Like this captrue show, I am writing arm assemble code, and I use vscode as my editor, vscode installed arm assemble plugin and it recognized this code. But when I want to comment some code, vscode use "@", I want change it to "//", Can I customize…
Allen
  • 11
  • 1
1
vote
0 answers

VSCode: Add token colour customisations to a syntax highlighter extension

I've been trying to create a test extension for a custom code highlighting. The extension works perfectly fine but I am wondering how can I attach the token colour definitions, sort of like a default if people don't add it to the settings.json. At…
Moseleyi
  • 2,585
  • 1
  • 24
  • 46
1 2 3
99
100