There are two articles worth looking at,
https://zhuanlan.zhihu.com/p/29975631
Https://zhuanlan.zhihu.com/p/26944087?open_source=weibo_search
Another turn:
I recommend the Vscode development environment and contribute to the following processes for reference:
Pre-installation required on Windows platform: Microsoft Visual C + + Build Tools 2015
Compiler and tool chain installation: Downloading Setup
Select the second item (not default) for the install
Using Vscode to write Python is quite comfortable, but if you install a grammar check plugin for vscode, such as Flake8, you will often be prompted with some very demanding grammatical problems, the most intolerable of which is line to long.A row can only hold 79 characters? Obviously not enough! OCD is not tolerated for syntax error hints in code, so it must be eliminated.On the command line, enter: Flake8
This is a creation in
Article, where the information may have evolved or changed.
Finally can not stand the Liteide function definition of the jump, each time need to wait 2-3 seconds. After trying the thrill of vscode seconds, decisive change! But Vscode is not perfect, need to configure!
1. Enter the following command to avoid automatically prompting for panic (bug that occurs after go upgrade to 1.7)
-de
Vscode-python Advanced Configuration Chinese garbledChinese garbled, online a bunch of solutions, but there is no effective effect.Before the Python script, add:# -*- coding:utf-8 -*-The print output is not garbled when the console output is not true. But at this point the output of Os.system () is normal,If you use debugging to output the opposite result: the print output is normal, but the terminal output is garbled.Workaround: Try not to use Chines
Vscode plugin view inbrowser, viewing in browser
The current plug-in function is similar to "Run-in-browser" in Atom.
Plugin Feature Description: View HTML file from browser, use the system's current default browser
Note: Only HTML files are supported
The default shortcut key CTRL+F1, you can customize the modification, the command name is: "Extension.viewinbrowser"
Detailed reference screenshots:
Vscode
Installation path for VscodeEssence: Vscode installation path/applications/visual? Studio? Code.app/contents/resources/app/bin There is a code executable below it.The benefits of code on the command line will be found in the path list, with the code executable in the path.Method 1: Add path Pathvim ~/.bash_profile#vscode### 添加vscode的安装路径export PATH=/Applications/
VS Code tossing notes, vscode tossingPreface
In this article, you only need to make some basic configurations to make vscode more convenient. The demand for plug-ins is not static and I have removed some plug-ins .. In the latest VSCODE 1.9.1, some functions previously implemented by plug-ins have been integrated, so there is no need to exist. No recommendation
Current configuration for Vscode 1.24.1,1.25.1,1.28.1, recommended to use 1.28.1,WIN7 system interface color more unifiedPlug-ins are currently recommended for Chinese, beautify, C + +, Python plugins, and other plugins will be installed later when they are used.Pasting//Put settings in this file to override the default settings{//Control the font size in pixels. "Editor.fontsize": -,//controls the automatic saving of updated files. Accepted values:
Tags: Choice select sele IDG nbsp Ignore col plugin size1. Installation of Vscode2. Vscode plug-in installationUnder the. Vscode directory in the home directory, there is a extensions directory dedicated to installing plugins.Enter the extensions directory and install the following plugins:3. Common configuration of VscodeA. Configuring the sidebar to ignore displayed foldersB. Configuring Auto-SaveCHOICES
Go Install address
Https://golang.org need to turn over the wallRecommended below, this buddy Baidu platehttps://blog.csdn.net/warrially/article/details/79879119
Install dependent packages
Integrated installation command, copy multiple lines to terminal enter to complete the installation:
go get -u -v github.com/nsf/gocodego get -u -v github.com/rogpeppe/godefgo get -u -v github.com/golang/lint/golintgo get -u -v github.com/lukehoban/go-find-referencesgo get -u -v github.com/lukehoban/go-outline
This is a creation in
Article, where the information may have evolved or changed.
First install the Go plugin in VscodeThen when you run the go file, Vscode prompts you to install gopkgs and then selects install all.
There are six packages that will fail to install:Golang.org/x/tools/cmd/guruGolang.org/x/tools/cmd/gorenameGithub.com/acroca/go-symbolsGithub.com/ramya-rao-a/go-outlineGithub.com/sqs/goreturnsGithub.com/golang/lint/golint
The reason is th
When we copy and paste a piece of code, VSC will help us format and paste the code, but it seems that the result is not very satisfactory, suchAfter I copied the above Code to the following, VSC helped me adjust the indentation unneededUse the Undo key again to get the desired effect.Theoretically, because of the automatic indent function, the Code pasted in the editor will be aligned with the above Code.However, if the formatting plug-in is installed in VSC (the VSC plug-in includes the HTML fo
The main record is the command line installation of HOMEBREW/GIT/NODE.JS/NPMVery simple, the following starts:1. Homebrew is also a package management tool:Open the Terminal command line tool in your Mac, stick the following line to enter," $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) "2. Git:Also, enter the following carriage return in the terminal to install GitBrew Install GitCheck git current version: Git--versionmy: Git version 2.11.0 (Apple Git-81)3. Node
I fancy Csscomb is mainly used to sort CSS attributes, and of course he has the function of formatting;1, installation Needless to say, but installed, the default seems useless;2, point open Files-preferences, search the Csscomb will know:3, the first change to true, needless to say, the second is a little confused, and finally checked the next, configured well after, is this:Note that "Csscomb.preset": the configuration of {} is divided into two parts, other properties and "Sort-order", so wher
In fact, it is similar to a new shortcut key, the following is the steps1. Open Iterm2 back to ~ directory2. Open file via vim. ZSHRC3. Add the following, where the equals sign is preceded by the Start command, followed by the execution file of the software4. If the corresponding application is found, double-finger tap to display the package content5. Finding implementation documents at the first levelHave a question welcome messageMac command line Quick Start software
Personal blog Link: Ubuntu16.04 in vscode How to debug C language program breakpointsProblem: Environment is Ubuntu16.04, how to use Vscode breakpoint to debug C language program.Write code without debugging environment is unbearable, so toss a bit, finally succeeded. The process of tossing is this:1, first install C + + extension, direct search the first is, or click this link to view its Help document for
Execute Python program via Vscode
Configure Tasks.json:ctrl + Shifit + P input "Tasks:configure Task Runner",
{ "version":"0.1.0", The command isTsc. Assumes that TSC have been installed using NPM install-g typescript"Command":"C:/python27/python.exe", The command isa shell script"Isshellcommand": True,Show the Output window onlyifunrecognized errors occur. "Showoutput":" always", Args isThe HelloWorld program to compile. "ar
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.