vscode , Vscode attach debug output window


Vscode attach debug output window

Question:

Tag: vscode

I do not want Vscode to open up another window while debugging. Is there a way to attach this window inside the IDE?

If the above is impossible, is there a way to choose a more usable terminal? The default terminal doesn't allow for text selection which makes it unacceptable.


Answer:

Since VSCode is not an IDE, we do not have a built-in terminal. I tried the terminals on OS X, Linux, and Windows. They all allow me to select and copy text (however on Windows it is through the 'Edit' > 'Mark' mechanism).

Andre Weinand, Visual Studio Code


Related:


How to ignore `node_modules` folder in Visual Studio Code or TypeScript compiler


typescript,vscode
I'm using visual studio code IDE and typescript, how do I get it to ignore the node_modules folder during build? Or have it build .ts files on save? It is showing a lot of errors because it's trying to compile node_modules tsd. Currently my tasks.json is { "version": "0.1.0", //...

VSCode debugging not working for NodeJs application


vscode
I have added the configuration in the launch.json file with the following details : { "name": "Attach" "type": "node", // TCP/IP address. Default is "localhost". "address": "localhost", // Port to attach to. "port": 5858 } Now I start my app with the following command : node --debug-brk ./bin/www When i...

code . shortcut fails on OSX


osx,terminal,vscode
I've tried adding the 'code .' shortcut to launch your current directory in Terminal in Visual Studio Code, but I was promptly returned the following error: LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier com.microsoft.VSCode. Visual Studio Code is installed on my machine successfully....

How can we edit Rust files in VSCode? [closed]


rust,vscode
I like the new VSCode and would love to use it for Rust programming. Are there any rust plugins available?

How to use triple-slash references for libraries in Visual Studio Code?


javascript,vscode
I'm trying to get Visual Studio Code 0.3.0 to recognize my JavaScript libraries. However, intellisense is complaining. Here's a repro: Open Visual Studio Code File > Open Folder (select a freshly created empty folder) Add a file mytest.js to that folder Download jquery-2.1.4.js (full/uncompressed) to that folder (appears in the...

the use of Developer Tools in VS Code?


vscode
when you click on help I see item toggle Developer Tools. just want to ask what is the use of developer tool inside VSCode. I don't see any infomation in Docs

How do I duplicate a line within Visual Studio Code?


vscode
Using Microsofts Visual Studio Code, how do I duplicate a line of code and then move it up and down? (Similar to how Sublimes cmd+shift+d) It's a feature that I use constantly, and am struggling using Visual Studio Code without it....

VSCode - adding c# assembly reference


vscode
Getting the following error: The name 'File' does not exist in the current context[dnxcore50] Tried to build it in-case it was to do with VSCode alone. It threw me same error. I have installed the dependency using the following: dnu install System.IO Gave me the following message c:\Users\user1\Dropbox\dev\csharp\vscode\ads\WeightedGraphs>dnu install System.IO...

How to add a post tsc build task that copy files?


typescript,vscode
How to add another task to VSCode, that copies files from x to y, after the tsc build task?

Visual studio Code Collapse panes


vscode
Anyone know of a keyboard shortcut to collapse all the panes in visual studio code? I've had a look in the keyboard shortcut settings and couldn't find anything and searching on google just returns visual studio results.

Visual Studio Code for Mac crashes on startup


osx,vscode
My Visual Studio Code crashes on startup. To no avail I have uninstalled and reinstalled the application. The issue persists even after having deleted %HOME%/Library/Application Support/Code. I feel like this issue may be due to Code using a file on an external HDD when it was forcibly ejected, but I...

Is there a tabbed view for VSCode?


vscode
Just wondering if there is a way to get a tabbed view in VS Code (editor), and if not, is that feature yet to be added?

Remove trailing spaces automatically or with a shortcut


vscode
Is there a way to remove trailing spaces in visual studio code (automatically or with a shortcut)? I've been looking for this in the command palette and in the editor settings, but I cannot find what I am looking for....

How to change tabSize and insertSpaces in vscode


whitespace,indentation,vscode
How do you actually go about changing the "editor.tabSize" and "editor.insertSpaces" values for vscode? I've opened File > Preferences > User Settings and added: // Place your settings in this file to overwrite the default settings { // Controls the rendering size of tabs in characters. If set to auto,...

Visual Studio Code not recognizing the built-in typescript definition files


vscode,typescript1.5
I've been trying to create a hello-world sample with TypeScript (1.5 beta) and AngularJS (1.4) using Visual Studio Code (0.3.0) editor. As shown in the snapshot below, when the code references AngularJS' TypeScript definition file, VS Code throws a lot of errors. Not sure what wrong I am doing here....

vscode file icons


vscode,file-icons
I am looking for vscode file-icons like Atom file-icons https://atom.io/packages/file-icons if vscode is built using an atom shell, is it possible to use extensions such as Atom file-icons with vscode?

Show whitespace in Visual Studio Code


whitespace,vscode
Is it possible to show whitespace characters, like the the space character, in Visual Studio Code? There doesn't appear to be an option for it in the settings.json (though it is an option in Atom.io), and I haven't been able to display whitespace characters using CSS....

View code changes without restarting the server


c#,asp.net,asp.net-5,vscode,dnx
We're using Visual Studio Code and DNX as follows. Command Line to Start Web Server dnx . web project.json > commands "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001" Note that we added carriage returns for readability. When we change a *.cshtml and refresh the browser, the changes show up in the...

Visual Studio Code: Treat other extensions as HTML


vscode
For the purposes of syntax highlighting and colouring and intellisense is it possible to treat other extensions (tpl, master, etc) as HTML? I know it's possible on a file by file basis by pressing CTRL+SHIFT+P and selecting "Change Language Mode" BUT I want it to work off file extension, and...

How to configure Visual Studio Code and tslint?


vscode,tslint
In 0.3.0, I'm seeing intellisense for typescript. However, I was also expecting to see some tslinting as I have a tslint.json. Does VSC support linting natively or do I just need to lean on gulp? If the latter, is it configurable to run as files are changed or does it...

Is there a shortcut to hide the side bar in Visual Studio Code?


vscode
It'd be handy if there was a keyboard shortcut for hiding and showing the sidebar. Sublime has cmd+k+b and it's a quick way of gaining some screen real estate when you need it. Anybody know if this exists or if the user can add it manually to VS Code?

Visual Studio Code - debug by “Attach” does not work on Mac OS


node.js,vscode
I'm trying to debug my node js project on Mac. It works very well in "Launch" mode but not in "Attach" mode. In "Attach" mode, when I start debugging, I see VS Code first trying to start the debugger in seconds and then stop suddenly without showing any error message....

JS Code didn't work, trying do a demo in css lessons


javascript,jquery,css,visual-studio,vscode
but there's a demo that uses JS and CSS. I have been trying to fix it for about 3-4 hours. (FYI after 2 hours struggling I have found half of solution. I'm using Safari and should but -webkit-transform) Now I have tried the css added directly to the element and...

What is the correct tasks.json config for compiling typescript in Visual Studio Code?


typescript,vscode
Using Ctrl+Shift+B I added a default tasks.json file and uncommented the second task runner block. I have a typescript file in the root of the directory and a tsconfig.json. Everytime I compile I get 'error TS5023: Unknown compiler option 'p'. What is the correct definition to allow me to compile...

Does Visual Studio Code have box select/multi-line edit?


vscode
The title says it all. I've been using ATOM and I think they are doing great with their direction, problem I have is that it is terribly slow on bootup and still has some bugs. I heard Microsoft released a new editor called Visual Studio Code and it looks pretty...

How do I support jasmine and es6 syntax in Visual studio Code?


jasmine,ecmascript-6,vscode
Question where can I find and how do I add support for jasmine and es6 syntax in Visual studio code? ...

Debugging a node app hosted on a VM using Visual Studio Code


node.js,vscode
I'm looking for a little help in debugging my app using Visual Studio Code, where my app is held in a virtual machine hosted by Oracle Virtual Box. The VM has been provisioned with a typical setup of node, express, node-inspector etc. and I am able to debug my app...

Collapse XML to elements in Visual Studio Code


vscode
In Visual Studio and most other editors you can collapse XML to tag / element level. Is there any way to do the same in Visual Studio code or is this feature still to come?

Close Working File on Mac?


vscode
What is the keyboard shortcut for closing a working file in VS Code on a Mac? When I issue the default CMD + W, it sometimes closes the entire IDE, or alternatively blanks the screen, but the file is still in the "Working Files" list....

Visual Studio Code Permanently Deletes Files


vscode
Deleting a file from within Visual Studio Code permanently deletes the file, instead of sending it to the recycle bin. Why is that?

How do I set up a link to open up Visual Studio Code from terminal on OSX?


osx,bash,terminal,vscode
I've recently installed Visual Studio Code and I love it! In the past, I've used sublime text 2/3 and at some point I copied code to allow subl . command to open the current directory with sublime. Question: How can I write a similar code to allow visual studio code...

Using VSCode: How to debug a mono process which is started from another mono process


c#,debugging,mono,vscode
I have a process 'a.exe' which I can debug it without any problem. mono --debug --debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:55555 a.exe The problem occurs when I want to debug a new process ('b.exe') started by 'a.exe' instead of 'a.exe' itself. Here is the code. var startUpInfo = new ProcessStartInfo('b.exe', argumentsOfB); Process.Start(startUpInfo); I have to...

How to compile c# in Microsoft's new Visual Studio Code?


vscode
I have installed the preview version of Microsoft's new code editor "Visual Studio Code". It seems quite a nice tool! The introduction mentions you can program c# with it, but the setup document does not mention how to actually compile c# files. You can define "mono" as a type in...

Multiple Launch Files in Visual Studio Code


vscode
Is there a way to debug multiple files from a single folder? I had expected that I could create multiple launch files in the .settings folder and pick the one I want to execute, but that did not seem to work. It seems to insist on only 'launch.json'.

Cannot display JSON file created and saved in Visual Studio Code


json,vscode
When I create a file in Visual Studio Code (on a Windows 7 box), add some content, then save it, the content is replaced with the following message: The file cannot be displayed in the editor because it is either binary or uses an unsupported text encoding. My workaround is...

Is there a way to refresh the task list in VSCode?


gulp,vscode
The first time I open VSCode, it scans my gulpfile and populates the task list. However, if I add a new task to my gulpfile, and then Run Task, it will only show the initially loaded tasks. Is there a way to manually refresh the task list? Right now I've...

User Setting for default save and open locations in VS Code


vscode
Is there a property name that can be added to the settings.json for the default open/save location?

Error when debugging Ruby code in VSCode (Mac OS X)


ruby,node.js,osx,debugging,vscode
I'm trying to figure out this new Visual Studio Code (VSCode) Editor while also learning Ruby. Whenever I try to debug a simple ruby program (even Hello World) I receive the following error VSCode Error: could not launch 'node' in debug mode And this is what shows up in my...

VS Code keybindings on Mac for cmd+delete


vscode
I am trying to set the command `` to be executed based upon the key binding cmd+delete which is not working (not working === nothing happens) The default mapping is: { "key": "shift+cmd+k", "command": "editor.action.deleteLines", "when": "editorTextFocus" } My attempted setup is: { "key": "cmd+delete", "command": "editor.action.deleteLines", "when": "editorTextFocus" }...

Create Custom Language in Visual Studio Code


vscode
Is there a way to extend the supported languages/grammars in Visual Studio Code? I'd like to add a custom language syntax, but I've not been able to find any information on how language services are provided. Can anybody point to any references or even examples of existing language implementations?...

Visual Studio Code layout render bug - mouse actions work only in full screen mode


vscode,windows-10
Has anyone else encountered this annoying situation? In short, there is this black bar that appears right above the menu bar and on the left of the sidebar. It causes any mouse actions to fail (unless you position the cursor slightly above the targeted item) and the status bar to...

Visual Studio Code - is there a Compare feature like that plugin for Notepad ++?


vscode
Is there a Compare feature like the Plugin for Notepad ++ ?https://www.youtube.com/watch?v=CnpcWIK_EsY

Vscode attach debug output window


vscode
I do not want Vscode to open up another window while debugging. Is there a way to attach this window inside the IDE? If the above is impossible, is there a way to choose a more usable terminal? The default terminal doesn't allow for text selection which makes it unacceptable....

How do I set up VSCode to compile C++ code?


vscode
Microsoft's Visual Studio Code editor is quite nice, but it has no default support for building C++ projects. How do I configure it to do this?...

Multiline git commit message in VSCode


vscode
When commiting files using VSCode's Git integration, is there any way of writing a multiline commit message, or am I limited to a single line only? As of now, VSCode is great at staging files. But it seems I'll still have to write most of my commit messages from the...

Are there bookmarks in Visual Studio Code?


vscode
How can I set Bookmarks in Visual Studio Code? I can't find any keyboard shortcuts. Or is there anything else, that I can use instead. I'm searching for bookmarks in Visual Studio Code. This has nothing to do with Visual Studio

Is there a way to make Visual Studio Code recognize HTML syntax in EJS files


vscode
I am using Visual Studio CODE on a Mac to work on Node.js applications. Is there a way to make VS Code recognize EJS files as HTML markup? I didn't see any file / scheme association in user preferences....

Remove git integrations from VSCode


vscode
I downloaded Visual Studio Code to try out at work and I'm in love with almost everything about it. One part I am not in love with though: Git integration. I imported my entire working folder (~14000 source files + git items), and the layout and everything within Visual Studio...

VSCode Creates an automatic breakpoint that I can't delete


vscode
I've created a basic node app following the steps described here - https://code.visualstudio.com/Docs/nodejs Every time I run/debug (hit F5), VSCode automatically breaks at line 2 of this auto created debug file. The weird part is there is no breakpoint set. I can continue past this and everything runs a-okay after,...

Building C# code in VSCode on Mac


c#,osx,xamarin,command-line-interface,vscode
I've been building a command line tool using Xamarin. After being told about Visual Studio Code, I wanted to see if I could try using it as an editor and debugger. I managed to get it to debug an existing .exe file built with Xamarin, by editing the launch.json file,...