Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.31 KB

VsCode.md

File metadata and controls

38 lines (27 loc) · 1.31 KB

Appearance

Making VS Code appearance like Sublime Text.
Diving the editor into two columns & spliting the right column into half.
Upper half is for input, lower half is for output.

Theme: Learn With Sumit.

Environment

No need to create a build system for this. Just add the following lines:

#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
#endif

We can also skip creating build system in Sublime Text by using this lines and selecting 'c++ single file' build system.

To run in Vs Code: Ctrl + Alt + N

Snippet in Vs Code. Embedding current time in it.
Adding Ordered Set in template.

Folder, Editor, Timeline, Outline.

Extension

Tabine extension is good for autocompletion.
We can see stats about it's auto-completion.

Some useful extensions are: CodeRunner, C++ Intellisense, VsCodeIcon, CodeFormatter.

Using Competitive Programming Helper(CPH) extension both in Vs Code and Chrome.
Automatic test case parsing with it.

For details, follow this Playlist


Vs Code is a editor, so by setting up proper environment, any language/framework can be run.
Such as: Html, Css, Javascript,Python, Java, C++, C#, Kotlin, Dart, Flutter etc.