mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #716] Guidelines for code #564
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#564
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shymega on GitHub (May 30, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/716
Originally assigned to: @shymega on GitHub.
We should make a list of guidelines for code contributions.
For example, with a review comment in #703, it is pointed out about tabs and spaces in the contribution. We could use EditorConfig to assist with these guidelines to an extent, depending on the editor used by contributor(s).
I'm assigning this issue to myself to create a configuration file if the suggestion gets a positive reaction.
@p12tic commented on GitHub (May 30, 2020):
I think it's enough if we had the guidelines themselves somewhere. People can then configure their editors according to them. For example, EditorConfig does not support my editor of choice, I guess there will more people with similar issues :)
@shymega commented on GitHub (May 30, 2020):
Sure, we can have the guidelines on the wiki/repo (or both), but there's nothing wrong with having EditorConfig available as well. Just because it doesn't support X editor doesn't make it inherently unnecessary. What editor do you use incidentally?
@p12tic commented on GitHub (May 30, 2020):
Agreed. I use QtCreator.
@shymega commented on GitHub (May 30, 2020):
Ah, I've never used that. I use VS Code. I'll work on a basic EditorConfig for now, and create a document in the repo's root. Thoughts on creating a Wiki page for it? We could do with a Contributing page, so perhaps integrate into that?
@shymega commented on GitHub (May 31, 2020):
@p12tic Is 4 spaces alright? EditorConfig also allows specifying of line endings.. so we could stick to CR or CRLF.
@p12tic commented on GitHub (May 31, 2020):
Yes, 4 spaces is good. For line endings we should use LF as anything other will introduce problems. Git recomments using LF for cross-platform projects.
@github-actions[bot] commented on GitHub (Sep 20, 2020):
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
@shymega commented on GitHub (Sep 20, 2020):
EditorConfig committed. Wiki page is the next step.