All Questions
Tagged with code-formatting suggested-edits
25
questions
5
votes
2
answers
124
views
How do I handle suggested edits changing code block style?
I'm new to reviewing suggested edits, but one pattern I noticed is that many edits only change the style of code block formatting (mostly from indented to ```-based, example), in a way that does not ...
7
votes
1
answer
186
views
When someone adds a "language identifier" to a code block does the specified syntax highlighting show in the "suggested edits" "queue"?
When I edit someone's code block with a language identifier:
Example:
from:
```
def py
```
to:
```python
def py
```
Is that change reflected in the Suggested edits queue in the Inline or side-by-...
2
votes
1
answer
524
views
Triple backticks code formatting doesn't show up in the suggested-edits queue on side-by-side mode
I just noticed that answers (I don't know about the questions), that used triple backticks codes in the body, don't show up in the suggested-edits review queue on side-by-side mode. Instead it shows ...
1
vote
0
answers
34
views
Cannot suggest basic formatting edits based on whitespace: "Edits must be at least 6 characters" [duplicate]
I often find myself wanting to improve new member's OPs readability by only doing basic formatting:
adding whitespace to break down one chunk of text into several lines/sections
adding - to format ...
8
votes
1
answer
60
views
Editing code-heavy answers doesn't always work
Let's say I'm editing some poor sod's code that is unformatted, and is almost the entire question. I format the code, I add in the error message that was copy-pasted into the title, I fix the grammar, ...
2
votes
0
answers
40
views
Make suggested edits which indent code easier to verify
It's fairly frequent to review suggested edits where someone helpfully puts code into code blocks. For instance:
These edits are great and are appreciated; they generally improve the atmosphere of ...
1
vote
0
answers
42
views
I tried to post a code-free edit, but the site threw a spurious error claiming that my post contains improperly-formatted code
Bug
I posted a question. Then conio posted an answer. I tried to dejargonify and copyedit his/her answer, but got the error message: "Your post appears to contain code that is not properly ...
2
votes
1
answer
68
views
Is it OK to use a third party code formatting service while editing a post?
Whenever I see a poorly formatted post (might be a question or an answer) or completely non-formatted code, I use an online tool such as Instant SQL Formatter to format the code, and then I edit the ...
-2
votes
2
answers
231
views
Why do some code formatting-only edits get rejected?
I have noticed recently that when I reformat code in a question or answer (generally from something with no carriage-returns or something extremely hard to read to properly indented code for ...
5
votes
1
answer
70
views
Bold vs Code Formatting in Suggested Edits
Every once in a while I see suggested edits that mostly consist of bolding things. For example, this specific example took a bunch of "TableNames" and made them into "TableNames".
It seems to me that ...
-2
votes
1
answer
70
views
Lines of code lost in formatting?
I was Reviewing Suggested Edits, and got one on this question: what makes my spinner view look different?
It looked clear-cut that the suggestor had added some code. So I chose Invalid Edit. Without ...
4
votes
0
answers
41
views
Reviewing suggested edits that only add code language
This and this are a few of a series of similar suggested edits by the same sub-2000 rep user that do nothing but add
<!-- language: lang-dart -->
in front of code blocks.
The top answer for ...
3
votes
1
answer
85
views
Should the formatting style be mimicked when editing posts? [duplicate]
Sometimes I see code like this on Stackoverflow:
int main()
{
if(true){
return 0;
}
else{
return 1;
}
while(true){return -1;}
}
I will usually suggest this edit:
int main()
{
if(true){
...
8
votes
1
answer
111
views
Code out of nowhere
When I'm reviewing suggested edits, edits such as these get rejected almost instantly because it looks like the code is appearing out of nowhere!
This isn't actually the case, it's just when the code ...
-13
votes
2
answers
127
views
Make the system keep suggested edits away from code blocks
As a >2k user on SO, I often review suggested edits.
If an edit formats code, I will accept.
If an edit changes code, I (along with everyone else) reject it.
In fact, I've yet to see an edit that ...