'eslint' is not recognized as an internal or external command
I'm trying to install eslint & run it in vs code. I ran this command: npm i -g eslint and it seemed to work, but I keep keep getting a "'eslint' is not recognized as an internal or external...
View ArticleForce multiline typescript constructor in VS Code
I'm setting up some tslint rules, in order for my team and I to better adhere to our code contract. Is there any weay to use tslint, or vs code in general, to force the use of multiline...
View ArticleClickable errors in Visual Studio Code with a Makefile
I'm trying to work on a Makefile based project with Visual Studio Code. I created a task and now I can run make and see the output including a little bit of coloring inside visual studio code. However,...
View ArticleXdebug - Visual Studio Code - Step into / Step over - Nothing happens
I'm having an issue with Visual Studio Code and Xdebug.My System:I'm using a Windows 10 system with IIS webserver and PHP version 7.4. I've downloaded and installed Xdebug with the last version (2.9.0)...
View ArticleOverriding extensions directory in vscode
One can specify the extension dir by running from command line: code --extensions-dir c:\path\to\extHowever, I would like to set this parameter even when running from the windows menu. I tried to...
View ArticlePermission Denied in Git Bash [closed]
I recently got a new machine (Windows 10 for now) and went about configuring my environment in VSCode, trying to integrate Git Bash into the editor.However, after trying to run a python file in the...
View ArticleHow to show the entire value in VSCode debug mode
I have been having trouble seeing the entire value of variables while debugging in Go. When I click on a rather long value, it shows me ... +# more. But I can't find a way to see the rest of that...
View ArticleHow to correctly export aggregated javascript classes
I'm using VSCode 1.41.1 (November 2019 release). I have some JavaScript classes in a folder like so:a.jsclass A { constructor() { this.m = 2; } } export default A; b.jsclass B { constructor() { this.n...
View ArticleReact/Typescript /VScode - an import path cannot end with a '.tsx' extension
I have a series of react projects which I have converted to typescript. Some of these use webpack, and some of them just use babel as they're libraries which are consumed by the other (webpack)...
View ArticleVisual Studio Code Change Keyboard Layout for Keybindings
I am using Turkish Q keyboard layout on Windows 10, but Visual Studio Code 1.14.1 uses US keyboard for keybindings. For example CTRL + ] is using for indentation but in my layout it is CTRL + ü....
View ArticleCannot edit in read-only editor VS Code
I am using Visual Studio Code V 1.31.1. I used an input function but I can't write an input in output panel it shows this errorCannot edit in read-only editor.Please help me solve this problem.
View ArticleDeploy simple Angular 8 app to Azure with Visual Studio Code
I've followed several online tutorials with no luck. I am trying to deploy an Angular 8.3 web app to Azure. I tried creating a web app, both Windows and Linux, but always gives me either the standard...
View ArticleTrying to open Firefox via Selenium fails when running from VSCode
I'm trying to open Firefox via Selenium and it fails. It worked fine with Chrome, but when I tried Firefox I can't get it to work. It fails when trying to create the webdriver object, throwing...
View ArticleWhy vs code sais that a python parameter is not defined? [closed]
visual studio code displays that an already written parameter is a not found variable and i can't understand why
View Articlewhy is error squiggle lines of linter not showing in python visual studio code?
i'm using vscode version 1.41.1 for coding in python 3 in Ubuntu version 18.04. but suddenly I noticed error-squiggle-lines have stopped working for python(it works for other languages). and i am using...
View ArticleHow to run current line and advance?
Note: Windows 10When I press shift + enter, it runs the current line, but doesn't advance. It just stays there.When I press ctrl + enter, it advances to the next line, but doesn't run the code.I want...
View ArticleCannot get VSCode to suggest html data attributes (data-rel, data-theme,...
Is it possible to configure VScode to suggest html data attributes like intelliJ does out of the box?Intellij:html data attributeVSCode:enter image description here
View ArticleHow to open file using vscode terminal?
I want to open a new tab and open a file using vscode terminal.like open somefile.js command, so I can use ls and open file quickly.
View ArticleJSX tag has a child, but VSCode says that property `children` is missing in...
I have a very simple TypeScript/React/TSX setup but the following piece of code shows an error:import React from 'react'; import Layout from '../components/Layout'; export default function Index() {...
View Articlejava snippets disappeared from VS Code
I use VS Code for Java development, and previously snippets like 'sysout' worked fine. Now they have stopped working and I have no idea what changed. When I type 'sysout' and/or ctrl-space, it just...
View Article