Category "visual-studio-code"

VS Code Showing Publish Branch Button When Branch Was Already Pushed

I used VS Code terminal to create a new branch, and then pushed the commit to GitLab. I've confirmed on my GitLab account that the branch was successfully pushe

Build error in Go/Golang: Column does not implement gorm.ColumnType (missing AutoIncrement method)

I am facing this build error in Golang V1.17 intermittently. # gorm.io/driver/mysql ../../../../pkg/mod/gorm.io/driver/[email protected]/migrator.go:224:24: cannot u

Why do my files in vscode keep being deleted after trying to execute them?

I am currently learning to code with python in vscode but recently I have been having problems with file seemingly deleting themselves after attempted execution

Cannot get gfwl source package to work in vscode

I wanted to learn OpenGl because I was just getting into c++ and I thought it would be cool to learn but now I'm stuck and I don't know what to do. So basically

How to set intellisense for react testing library using typescript

I just downloaded Create-React-App which uses react testing library. I do not get intellisense when I use it's methods (Example : toBeInTheDocument) . How to se

Change default working directory for VS Code terminal

Is it possible to change the working directory for new integrated terminal windows in Visual Studio Code? I have opened the folder /path/to/project in Code, so

What is the command to open a file in specified ViewColumn in VS Codium?

How can I open a specific file in a specified split view with an built-in command in VS codium? Is that possible without writing an extension? I have a project,

Angular Material intellisense doesn't work in VSCode

I'm working on an Angular (v13) project and I installed Angular Material using this command ng add @angular/material I can see the package in the node_modules,

javascript debug terminal keeps opening using powershell instead of git bash

I put the default terminal "terminal.integrated.profiles.windows": { "GitBash": { "path": ["C:\\Program Files\\Git\\bin\\bash.exe"], "source": "

Typescript auto-complete not working in VSCode

I'm trying to make use of Puppeteer within a ts file which works fine except the VSCode Intellisense stops working a soon as I'm inside a .ts and not a .js file

Getting VS Code to detect React props properly when Redux state props are mixed in

There is a nice example in the React-Redux documentation on how to build a functional component that will receive both props from Redux and from its parent comp

LLDB prints `i8` as "signed char"

I'm using the LLDB extension for VSCode, and my variables typed as i8 are printed as characters. Both in the VSCode debugging panel, and when using print in the

Trying to get React Redux example in TypeScript to play well with VS Code

In the Redux documentation, there is an example that is not playing well with VS Code. I am talking about the example here: https://redux.js.org/usage/usage-wit

How to prevent VSCode from asking me to save unsaved files?

After I saved a file, VSCode would jump to other files I've edited and asked me to save them as well. I don't want that behaviour as it moves me out of context

How to prevent VSCode from asking me to save unsaved files?

After I saved a file, VSCode would jump to other files I've edited and asked me to save them as well. I don't want that behaviour as it moves me out of context

TypeScript error ts(2345) is incorrectly labeling the type of object in Vue v-for loop

I am using Vue single file components. Here is a small example showing my error: <script setup lang="ts"> interface IDesign { displacement_map_urls: {

Why can't I import requests in VS Code?

I want to use request module, but whenever I tried to import requests I got this message: import "requests" could not be resolved from source Pylance I already

Unable to save Jupyter notebook in VS Code

I have been trying to save my jupyter notebook in the '.ipynb' format but am unable to do so, in whatsover extension. I encounter the following error message Fa

How can I upload a file to a GitHub Codespaces environment?

I use GitHub Codespaces, but I don't know how to upload a single file to GitHub Codespaces without the assistance of, for example, github.

Is it possible to use the "code" command in SSH'ed terminal to open VS Code on local machine with SSH extension?

Something I love about VS Code is that when I am using a terminal in WSL, I can run code file.txt, and it will open that file with VS Code on my local using the