Page MenuHomePhabricator

Option to allow tab key to indent text [T3965]
AbandonedPublic

Authored by skyronic on Jul 20 2014, 11:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 7:23 PM
Unknown Object (File)
Thu, Oct 31, 2:51 AM
Unknown Object (File)
Oct 9 2024, 4:28 PM
Unknown Object (File)
Oct 7 2024, 9:09 AM
Unknown Object (File)
Sep 4 2024, 9:22 AM
Unknown Object (File)
Aug 27 2024, 8:20 AM
Unknown Object (File)
Aug 25 2024, 5:05 AM
Unknown Object (File)
Aug 15 2024, 10:20 PM
Tokens
"Evil Spooky Haunted Tree" token, awarded by skyronic.

Details

Summary

All programming text editors have "Tab" key to insert indentation.
Additionally, while discussing code related changes, we might need to
insert whitespace, and remarkup also uses tab for code.

This patch makes the tab key simply indent 4 spaces. However it
keeps this optional and can be enabled by a new panel in the preferences.

If this is accepted I will add additional features like:

  • Preserving indentation when "Enter" is pressed
  • "Shift+Tab" de-indenting the line
Test Plan

Tried disabling the option and confirmed that the behavior stops

Diff Detail

Repository
rP Phabricator
Branch
tab_indents
Lint
Lint Errors
Unit
Tests Passed
Build Status
Buildable 1793
Build 1794: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

skyronic retitled this revision from to Option to allow tab key to indent text [T3965].
skyronic updated this object.
skyronic edited the test plan for this revision. (Show Details)
skyronic added a reviewer: epriestley.
skyronic added subscribers: chad, timor.
epriestley edited edge metadata.

We aren't interested in bringing this upstream any time soon. See T3965. See also T8227 for discussion of the enormous barrier faced by changes which introduce options.

This revision now requires changes to proceed.May 17 2015, 2:09 PM