How to show output in a separate terminal on VScode similar to Atom Editor for C/C++ - visual-studio-code

So I prefer VScode due to the added features and speed,but I have one problem.I prefer my output in a separate terminal like cmd.In atom the gpp compiler package does that for me.But in VScode,output is displayed in a in-built terminal below your code.I usually dont prefer that as it becomes difficult for me to see the output properly since I have a small screen.
So how can I do that in VSCode?

Related

CLIPS: Clear-window in CLIPSDOS.exe and tab to indent in CLIPSIDE

With CLIPS, It's possible some of the following?? (V 6.4 for Windows)
1 - Use a command like (clear-window) in the CLIPSDOS console for clear the console.
2 - Use tabs for indentation in CLIPSIDE. When i press tab, cursor goes to File menu item... how to indent?
How do people learn programming with CLIPS? I'm using a plugin for Visual Studio that helps me with the parenthesis concordance, let me use tabs to indent, and other tricks. But it has some problems, and i'm quite worried about the usability of the CLIPSDOS and CLIPSIDE interfaces to this purpose.
Thanks in advance.
In CLIPSDOS, you can use the command (system cls) to clear the screen. This will simply call out to DOS to execute a cls command.
The IDEs use standard text editing classes for the CLIPS command prompt window. Tabs appear to work correctly on the macOS IDE, but not the Windows or Java Swing IDEs, so that will need to be corrected.
While you can directly enter constructs at the command prompt, it's better to edit them in a file with your preferred text editor and then use the load command from the command prompt to load the contents of that file. The IDE supports a command history so you can use the up/down arrow keys to cycle through prior commands to avoid retyping.

VSCode displays source code again in interactive window

A question from a newbie here: when I run some python code in VSCode, there is always a display of source code in the interactive window. Thus I have to scroll all the way down before I can see the output. That makes the debug quite troublesome.
Please see the screenshot above. The code was displayed in the interactive window despite the editor just at left side over there. Any way to have VSCode, or maybe Jupyter extension, go directly to the output? (in my case starting from the 'Training Dataset shape......')

Do Visual studio code and Atom replace Tabs with space?

Stupid question but...here we go
I recently switch from Atom to Vscode, in Atom I always have used tabs(4)( mixed with spaces of course), I notice that vscode use 2 tabs by default; nothing important. But I decide to see how the files I've wrote with Atom looks like in vscode because I read that tabs looks quite different in others environments, but that wasn't the case, its looks exactly as on atom, I tried opening files written on Vscode in atom and vice versa , as well in notepad, even in WordPad and it's still looked find... I think it's because they use space when you press tab, but searching in the internet seems that isn't the case; tabs are tabs in atom, or in any other code editor/ide. Is this true?
Notice:(I don't know how to use "in" and "on" correctly yet).
open any file and look for the right down corner of the vscode. There you will see which character vscode is using for tab
In this picture, the file is python, configured to use 4 spaces as tabs.

What is the right way to run compilation of a language like c++ in text editors and show outputs to the text editor?

I am curious to know how hackable text editors like atom and IDEs like eclipse and netbeans run compilations of programming languages in its application and show outputs inside the application.
Do the text editors/IDEs invoke the compiler like we do inside a command line (without having to display the command line GUI) to compile the files and then pipe the output to its built-in command line?
How is it really done?
Thanks in advance.
edit: I would like to know the procedure that those IDEs and text editors take to perform compilations and display outputs to the built-in/plugin terminal. I'm not asking because I don't know how to compile the code I wrote in my IDE.
Atom editor have the appropriate plug-ins.
terminal - the launch of the terminal directly from the atom editor.
c++ compiler - compile and run c++ within atom editor.

See recently used commands in imenu style

In emacs, I like to see recently used commands always visible, for buffer operations, so I can select them from menu, in imenu-tree style. I know about smex, that I can invoke with Meta-x. But the visibility is hidden unless you enter Meta-x. These commands could be as simple as 'end-of-line', kill-word' etc ..
I just wrote a small library, cmds-menu.el, which does this. It adds submenu Recent Commands to menu-bar Tools menu.
The library is loaded automatically, if available, when you load library menu-bar+.el. See MenuBarPlus for more about that library.