tabs-or-spaces | whitespace types are used by the top starred repositories
kandi X-RAY | tabs-or-spaces Summary
kandi X-RAY | tabs-or-spaces Summary
Module for analysing which whitespace types are used by the top starred repositories in GitHub.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tabs-or-spaces
tabs-or-spaces Key Features
tabs-or-spaces Examples and Code Snippets
Community Discussions
Trending Discussions on tabs-or-spaces
QUESTION
I am new with golang and we just had our first git commit of it and to our surprise the indentations were different.
On vscode my code looks like this : The indentations/tabs are well formatted.
and on nano and github it got broken.
I found an answer related, a tool here that formats the tabs and spaces but do I really have to invoke go fmt
every time I have to git
?
ANSWER
Answered 2018-May-26 at 00:18do I really have to invoke go fmt every time I have to git?
You should rather invoke go fmt every time you are saving your file locally with your IDE.
That way, and add, commit and push will be done with a consistent format.
For VSCode, see Format on save, the the vscode-go extension.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tabs-or-spaces
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page