I am working on a typescript project with Visual Studio Code including multiple npm packages structured like this:   Source code: /src/index.ts Compiled code: /dist/...   When I right click on imported objects and choose "Go to Definition" or...
Is there a way to pick a color for function arguments and then keep that color in the body of the function? For example:    I want Hello to remain ~orange on the function's body and have variables not to be white so I can differentiate between ar...
var obj = {   name: "xyz",   routes: {     "": "showView1",     "view2": "showView2",     "view3": "showView3"   } }   If I save this code in a .js file in vscode automatically my json object pr...
I'm trying to debug a Node script forked using child_process's fork method using VSCode.   I have read almost all of the related docs, discussions but without any success. I'm not sure what am I doing wrong.  For your reference, I have po...
How does one disable web API suggestions in VSCode? Eg, if I type "id" I get a bunch of IndexDB suggestions. I'd like to disable this if possible.    Thanks!...
How can I set a VS code setting active only an a certain file extension?  In my case it's "editor.renderWhitespace": "boundary" on all .pug and .jade files.  Thanks!...
I'm making a function in which I need the square root of a number. The problem is that when I try to use the exponentiation operator "**" Visual Studio Code gives me the error:  "Expected an identifier and instead saw "*". (E0...
I've tried just about every setting I could find in order to turn off these tool tips but to my dismay, they keep popping up almost every time I write a function.    I've seen on some other threads that this may be specific to the language hi...
Analogically, I have statements to require packages as given below spread across multi files  var program = require('xxx') var program = require('abc') var program = require('123')   The usual source file folder is in c:/my_pr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.