vscode HTML script Code hints how to jump to lib.dom.d.ts?
<!DOCTYPE html> <html lang="en"> <!-- ... --> <body> <script> console.log('1'); </script> </body> </html> When CTRL + left-click, he does not jump to...
View ArticleSee potential conflicts in git on current file by looking at other branches/PRs?
Where I work, there are several different teams all working on the same code base and merge conflicts are frequent. Also, it happens that more than one person may be making improvements to the same...
View ArticleHow to show full long line in visual studio code (word wrap off)
I want to be able to view complete long line (on a single line) in visual studio code. The editor is terminating the line with ... at the end. I can press the End key to move to the last column of the...
View ArticleHow to make VS Code update the Python autocomplete and installed modules caches?
VS Code will recognize available python packages and modules. In this case, I started a VS Code session without a python package installed. I then opened a terminal (in VS Code) and ran a pip install...
View ArticleNo output in Visual Studio Code
I'm learning JavaScript and I wrote a simple program in Visual Studio Code but there was no output what so ever when I attempted to run it.class main{ multiplier(x,y){ return x*y } main(){ let x,y x =...
View ArticleHow to disable preview file with single-click in vs code?
I would much rather double-click to open file, and prevent single-click previews. How do we do that in vs code?
View ArticlePre-opening a file in vscode language server
I have a custom filesystem provider in my extension and a language client+server. The custom fsprovider is actually simulating a filesystem, since all the files and directories are not on the drive and...
View ArticleSwitch focus between editor and integrated terminal in Visual Studio Code
Does anyone know the keyboard shortcut (Mac and Linux) to switch the focus between editor and integrated terminal in Visual Studio Code.
View ArticleHow to find and change Java compiler option in Visual Studio Code?
I am new to Visual Studio Code (VSC) and I come from Eclipse. VSC tells me 2 errors on my project:Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that...
View ArticleHow do I implement 'Go To Definition' type of functionality based on LSP for...
Is there a recommended approach for LSP implementation?As I understand, I need to read/index all files on the background and store all kinds of declarations in memory.List of examples:...
View Articlebash: /c/Users/Rashu: No such file or directory while running...
I am learning azure devops from their official website. I need to scan project locally by sonar cloud.While running the command from my vs code bash terminal i am getting error like no such file or...
View ArticleHow do I add environment variables to launch.json in VSCode
Working with the new VSCode editor on a node.js project. I am attempting to configure my "Launch" profile for debugging by editing the launch.json file. I need to setup a connectionstring as an...
View ArticleHow to remove duplicate lines in Visual Studio Code?
Say you have the following text:abc 123 abc 456 789 abc abc I want to remove all "abc" lines and just keep one. I don't mind sorting. The result should be like this:abc 123 456 789
View ArticleHow do I search for files in Visual Studio Code?
I am used to Resharper where I can search for files, not the content, but the filename, which makes it quick to open new files.Is this feature implemented in Visual Studio Code and is there a shortcut...
View ArticleVisual Studio Code Tab Key does not insert a tab
I'm using Visual Studio Code as my editor for Unity. I did a search on google but wasn't able to find anything about my issue.The issue is simple, pressing ⇥ Tab in the editor does nothing. I'm...
View ArticleIs there a quick change tabs function in Visual Studio Code?
The current function of giving me a dropdown option of which tab to choose is just so annoying. Is there a possibility to remove it so the tabs would work like in some modern web browser.
View ArticleOpen files always in a new tab
I am using Visual Studio Code 1.3.1 with the newly introduced tabs.When I click on files, the first file will open in a tab. If I do not make any changes to this file, the second clicked file will open...
View ArticleSharing code between TypeScript projects (with React)?
This question: "Cannot find module" error when using TypeScript 3 Project References was somewhat helpful.So was this one: Project references in TypeScript 3 with separate `outDir`But I am still having...
View ArticleSpecify T when you have "typeof T" in JSDOC, and in VsCode
I've distilled an essence of my problem with following codes:full sourceI have Base class, and Derived, Derived2: class Base { static get type() { return 'Base'; } } class Derived extends Base { }...
View ArticleAspnet core build pipeline in vscode, especially typescript - in 2020
I'm trying to add Typescript to my VS Code ASP.NET Core MVC application for its wwwroot client scripts. The tutorials I've found talk about full Visual Studio's way of compiling-on-save, but VS Code...
View Article