Item logo image for Github code line wrap

Github code line wrap

Item media 1 (screenshot) for Github code line wrap

Overview

Line break at view width rather than wrapping at 'words' on github code views and reviews.

Github web UI does a thing in code reviews where it word wraps like a word processor rather than like a code text editor. This can make Python code, especially, difficult to review, when it incorrectly looks like the indent level has changed, or obscures the fact that the indent level has changed. This extension simply adds a bit of extra CSS on github pages that makes the wrap occur at the first character that exceeds the width of the view, rather than moving "words" (which are often entire lines of code). Some issues reported about the default behavior: https://github.com/orgs/community/discussions/45559 https://github.com/orgs/community/discussions/42298#discussioncomment-4725465 Note, the bookmarklet solution in that second link unwraps lines entirely, which some people may find preferable, but with long lines it can cause a mess of overlapped text. This extension, on the other hand, makes the content stay within the pane width, and wraps like vim's default behavior.

Details

  • Version
    1.2
  • Updated
    January 24, 2025
  • Offered by
    ravenblack
  • Size
    3.51KiB
  • Languages
    English
  • Developer
    Email
    ravenblack@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization
The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

Related

My Tasks

5.0

My Task Chrome Extension Boost your productivity with the My Task Chrome Extension! This simple and intuitive tool helps you…

Web Page Meta Data Manager

0.0

A versatile extension for web developers and content managers to manage, inspect, debug custom meta tags and hidden form fields.

Readwise Quotes on New Tab

4.3

Display quotes from Readwise on new tab in your browser.

HTML Mailer : Insert and Send HTML with Gmail

4.5

Write and insert custom HTML into Gmail emails easy and fast.

AI UGC Video Script

0.0

Adds a button when visiting YouTube to create a UGC script from a video caption.

Wrap It

5.0

This extension wraps a list of words into a quoted, comma-separated list

Boost Editor -Right Click in SM Post Text Box

3.5

Your Chrome extension to copy text from Social Media Post textbox and Boost in Boost Editor

Github Tab Indent

0.0

== Overview == When writing the description of an issue or pull request in the textarea on Github, you can press the "Tab" key to…

YouTube Subscription Manager — Smart Tags & Delta Sync

0.0

Powerful tool to organize 1000+ YouTube subscriptions with custom tags and lightning-fast delta sync.

UrlToolkit

0.0

URL의 가시성을 높이고 URL을 보다 손쉽게 제어하여 페이지 이동을 할 수 있는 툴입니다.

Content cracker

0.0

Extension for displaying content identification text and links in your pages to relevant CMS content for easily access and edit.

BareScript

0.0

Lightweight userscript manager

My Tasks

5.0

My Task Chrome Extension Boost your productivity with the My Task Chrome Extension! This simple and intuitive tool helps you…

Web Page Meta Data Manager

0.0

A versatile extension for web developers and content managers to manage, inspect, debug custom meta tags and hidden form fields.

Readwise Quotes on New Tab

4.3

Display quotes from Readwise on new tab in your browser.

HTML Mailer : Insert and Send HTML with Gmail

4.5

Write and insert custom HTML into Gmail emails easy and fast.

AI UGC Video Script

0.0

Adds a button when visiting YouTube to create a UGC script from a video caption.

Wrap It

5.0

This extension wraps a list of words into a quoted, comma-separated list

Boost Editor -Right Click in SM Post Text Box

3.5

Your Chrome extension to copy text from Social Media Post textbox and Boost in Boost Editor

Github Tab Indent

0.0

== Overview == When writing the description of an issue or pull request in the textarea on Github, you can press the "Tab" key to…

Google apps