Category "visual-studio-code"

Shortcut to comment code on codesandbox.io

I'm learning React on codesandbox.io which it's exactly like VSCode, my main code editor currently. However I'm not able to find the shortcut to comment and unc

How to find text in current file but match relative to cursor position [VS Code]?

I have a file opened in VS Code - 4000 lines long. Folder is not loaded - just one file. I am editing one method on line 3500. If I press Ctrl+F and start typi

How can I configure this code to use a file name with space(ie: hello world.c ) in Vs code terminal? I mean where is the error here?

Windows 11|| Vs Code version 1.67.1.0 || Power Shell 7.2.3 I have a filename with a space in it like hello world.c, and I want to compile this from VSCode. The

Define when VS Code shows snippets

Is there any setting where I can define when (not) to show suggestions? Currently I am setting up VS Code for writing LaTeX and I am creating a lot of user snip

VSCode how do I stay on source control tab?

I've started having an odd issue. Previous behavior (what I want): When I go to the source control tab and click a file then the comparison window opens to the

CSC on macos does not list C# 9

I have updated to the latest .NET 5 SDK 5.0.101 but it seems the CSC compiler is unaware of the existence of C# 9. I have tried using C# 9 features (like init-s

How do I open all files of a commit VS CODE

How do I open all files edited in a commit in the editor window? I know I can see files of a commit in Source Control -> Commits section. But is there a shor

'Import "Path.to.own.script" could not be resolved Pylance (reportMissingImports)' in VS Code using Python 3.x on Ubuntu 20.04 LTS

It is a similar situation I'd encountered several months ago using pylint prior to pylance: My python 3.9x - script (using VS Code on Ubuntu 20.04 LTS) starts w

A lot of csproj files spawned in Visual Studio Code - can I delete them?

I was just typing some code for a unity project and then my computer crashed. Luckily I saved it right before the crash, so nothing got lost (except some things

How to pretty print clean typescript errors in vscode?

I find the inline error popup in vscode useless because it's so unreadable, are there any plugins that prints cleaner inline errors?

How do I make IntelliSense in VSCode show completion from other files?

Background: I wrote a game in Swift. Now I want to translate the game logic (the model) part to JS so that I can write another version of the game which can be

VS Code: Lit custom element not rendering properly

I've copied/pasted the code from lit.dev's playground page to troubleshoot and attempt to get Lit running in VS Code before working on my own project. I was abl

Visual Studio Code - All white text?

Recently my visual studio code's text has all been white and I cannot change it with the 'File > Preferences > Color Theme' options. This is not a problem

File not exist Solc error when trying to import data feed into my contract

I have tried changing different versions of solc, solidity, and chainlink contracts but it doesn't work. Error: contracts/Lottery.sol:4:1: ParserError: Sourc

Visual Studio Code Terminal keeps running Python script in Powershell

I recently installed both Python and Visual Studio Code. After taking an intro class I wrote a basic script and ran it in Visual Studio Code. That's when I no

Visual Studio Code doesn't format C# code

I created a new file, set the C# language, and wrote some code. Then I pressed Ctrl + Shift + F (or F1 → Format Document). And got I the error Sorry, b

what does double yellow line indicate in vs-code? how to understand the language of errors in vs-code?

enter image description here A couple of double yellow lines appear beneath my codes in vscode, It gives a message which says: a two dimensional transformation

SyntaxError: Invalid or unexpected token in Visual Studio Code while using Lit

Sadly I'm aware this question has been asked before, but I've tried the solutions here to no avail: Uncaught SyntaxError: Invalid or unexpected token in code I'

Robot framework module vscode not loading: Error calling "robot.get_version()"

when adding the mentioned extension, the below error appears and I can't continue the automation: Error calling "robot.get_version()". If the module: <module

Open all files present in search result in VScode

Is it anyway possible to open all files which found in my search query? Otherwise I need to double click 37 times for a single search result which seems subopti