Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Browsing all 97288 articles
Browse latest View live
↧

How to change the default import hint in VSCode from ES6 to commonjs?

I've a small piece of JavaScript that I open on Visual Studio Code, I then enable @ts-check to get type hinting from TypeScript definition files.When I refer to a type that comes from a different...

View Article


require keyword not appearing in code completion

I'm learning Node.js using Visual Studio Code (VSCode) v1.40.0 on a Mac Catalina and I'm not seeing the 'require' keyword appear in the code completion. Is there an extension or setting I need in order...

View Article


VSCode extension API for keybindings

Trying to dynamically create keybindings from within an extension. I can't seem to find any API that supports this.Anyone knows?

View Article

Image may be NSFW.
Clik here to view.

HTML files recognized as Django Template in VS Code

I'm new to VS Code, coming from ST3 and TextMate before that. A bit flummoxed why is HTML not autodetected nor is it offered as a choice of language after clicking on the lower-right language...

View Article

Yeoman SharePoint generator installation problem. (unsupported engine)

I followed Microsoft docs for setting the SharePoint framework. https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment But when I got to the point where you are...

View Article


How to set Windows Terminal (UWP) as an external terminal for Visual Studio...

The title mostly says it all about the question. I want to set the newest Microsoft's Windows Terminal as an external terminal in Visual Studio Code.I found the WT's executable in C:\Program...

View Article

can't add workspace in visual studio code

Just started with Visual Studio Code. I need to add more workspaces after the original one.I tried googling the docs but there is no reference.How do I add more workspaces?

View Article

Image may be NSFW.
Clik here to view.

How to add more indentation in a file tree structure ? it has a little bit...

How to add more indentation in a file tree structure? It has a little bit indentation I want to increase more just like net beans.check the image:-

View Article


ide like vscode can't go to definition with tensorflow2.0 api

for example, examplei tried reinstall tf2.0, and that doesn't work. solutions like using 'tensorflow.python import Model' doesn't work either. it's a common problem? and how to solve the problem?

View Article


VSCode on discover tests Error: spawn python ENOENT

I am running a python project in vscode with virtualenv. Python interpreter is set right. When I'm trying to discover tests it gives me an error sayingpython...

View Article

Visual Studio Code Python extension: None of the default / built-in modules...

It's my understanding that the Python extension's built-in features, e.g., linting with pylint should work with the default user / global settings, and if an alternative linter is preferred, insertion...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Code - Target of URI doesn't exist 'package:flutter/material.dart'

I've just setup my Macbook for flutter development, So I downloaded flutter sdk, and placed it in my Documents. After, I setup my path variable to work with flutter in my command line.I execute the...

View Article

How to get folderpath name of currently opened file in visual studio code

I have opened multiple angular projects in visual studio code and i am trying to get cuttenlty opened file's project folder path inside my extension. But I am not getting the correct path . Anyone know...

View Article


Running Flask app in vscode - Error: Could not import App

I get this error running a Flask app out of Visual Studio Code (VsCode):*Serving Flask APP "myWebSite.py" *Environment: production WARNING: Do not use the development server in a production...

View Article

VsCode remove "tab" after the Ctrl+S

When I use the Vscode, I have some problem about space. I want to use define this type#define EXAMPLE 10 And than when I press the Ctrl+S and save my project, Vscode removes all space in the workspace....

View Article


VS Code debugger shows infinitely deep PyTorch Tensor

I'm working through some PyTorch code (not mine) in the VS Code debugger and it has this weird property that some (but not all) tensors have this infinite recursion property, pictured. Has anyone...

View Article

Is it possible to view an SQLite database from an Android or iOS emulator...

I'm writing a cross-platform mobile app in Flutter and I ran into a bug with the SQLite database. To debug it, I'd really like to be able to take a look at what's saved in the database. As this is...

View Article


Image may be NSFW.
Clik here to view.

Unable to run cypress test.spec.js file from Cypress Integration folder path

I'm new to cypress and using Visual Studio Code as IDE for Cypress. I have written sample test to launch a web page as below and it has written under Cypress Integration folder./// <reference...

View Article

How to insert current date time in vscode?

Does anyone know of a way that I can insert the current date & time in a visual studio code by snippets? I have looked docs but did not get any information about it.I want to create a snippets like...

View Article

Add an option to context menu in vscode (only to workspace folders)

I read the vscode API documentation here https://code.visualstudio.com/api/references/contribution-points#contributes.menus and found that I can identify the folder in the "when" clause, but I am not...

View Article
Browsing all 97288 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>