Detect whether file uses tabs/spaces when it loads, using the user preference as a default [$75]
Bug #1224197 reported by
Claire Charron
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scratch |
Fix Released
|
Wishlist
|
The Lemon Man |
Bug Description
Take a look at what Geany does for an example.
Basically, detect the type of indenting for each file and use that whenever the user presses the tab key. For new files, default to what the user has set.
Related branches
lp://staging/~lemonboy/scratch/detectindent
- Lewis Goddard (community): Approve
- elementary Apps team: Pending requested
-
Diff: 142 lines (+119/-0)4 files modifiedplugins/CMakeLists.txt (+1/-0)
plugins/detect-indent/CMakeLists.txt (+30/-0)
plugins/detect-indent/detect-indent.plugin (+9/-0)
plugins/detect-indent/detect-indent.vala (+79/-0)
Changed in scratch: | |
assignee: | nobody → The Lemon Man (lemonboy) |
importance: | Undecided → Wishlist |
milestone: | none → freya-0.3.1 |
status: | Confirmed → Fix Committed |
Changed in scratch: | |
milestone: | freya-0.3.1 → 2.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Yup, auto-detecting coding style will be great. I'm sure I've requested that already, but I can't find the bug report.