Text File Preview tabstop
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Text File Preview tabstop
I deal with a lot of code files and they're all written with tabstop=4 instead of the traditional 8. It would be nice if I could set the tabstop to 4. Tabstop as in a tab appears as 8 characters(current preview) or 4 characters (wish). EG in vim - set tabstop=4
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Text File Preview tabstop
Configuration | Preview | Preview | Text preview | Display Tabs as spaces
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Re: Text File Preview tabstop
Thanks, but I already tried that. It doesn't work the same.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Text File Preview tabstop
Configuration | Preview | Preview | Text preview | Display Tabs as spaces should work! Where exactly does it not work?
FAQ | XY News RSS | XY X
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Re: Text File Preview tabstop
Screenshots (:
Default XYP preview: XYP w/tabs as 4 spaces: Vim with tabstop=4: Vim showing actual characters: * the $ at the end of each line indicates the end of the line (usually CR+LF), ^I = tab.
Default XYP preview: XYP w/tabs as 4 spaces: Vim with tabstop=4: Vim showing actual characters: * the $ at the end of each line indicates the end of the line (usually CR+LF), ^I = tab.
To see the attached files, you need to log into the forum.
Last edited by DennisT on 09 Jun 2022 20:15, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Text File Preview tabstop
See image
To see the attached files, you need to log into the forum.
FAQ | XY News RSS | XY X
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Re: Text File Preview tabstop
Thanks. post corrected.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Re: Text File Preview tabstop
How would I do that? I tried in your PM system but it only takes a few weird file formats, not txt.
-
Horst
- Posts: 1374
- Joined: 24 Jan 2021 12:27
- Location: Germany
Re: Text File Preview tabstop
The board accepts drag and drop of zip files for example.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Re: Text File Preview tabstop
zip of text file attached.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Text File Preview tabstop
These columns can only be displayed properly aligned if the file is interpreted as a CSV file (commas matter here!). XY can't, and in my opinion it's asking too much of a file manager.
BTW, also File Explorer (Win8.1 at least) cannot do it right.
BTW, also File Explorer (Win8.1 at least) cannot do it right.
FAQ | XY News RSS | XY X
-
Horst
- Posts: 1374
- Joined: 24 Jan 2021 12:27
- Location: Germany
Re: Text File Preview tabstop
You can use a free Tool like Universal Viewer which displays your file fine.
It also allows you to use all Total Commander Lister plugins.
http://www.uvviewsoft.com/uviewer/download.htm
It also allows you to use all Total Commander Lister plugins.
http://www.uvviewsoft.com/uviewer/download.htm
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99
-
DennisT
- Posts: 21
- Joined: 25 Nov 2019 17:43
Re: Text File Preview tabstop
I'm confused. It is a text file with a txt extension. Are you saying XYP interprets it as a CSV because it happens to have tabs and commas in it?
I'd forgotten about Win File Explorer. My workstation is a Win 10. Here's what it shows:
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Text File Preview tabstop
No, I'm saying the tabs aren't enough for what you want, actually they're irrelevant. It's the commas that define the columns. XY does not support this kind of view.
FAQ | XY News RSS | XY X
XYplorer Beta Club