Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Format add various file extensions to open with it by default #2159

Closed
4 tasks done
dcdom2 opened this issue Nov 26, 2023 · 11 comments
Closed
4 tasks done

CSV Format add various file extensions to open with it by default #2159

dcdom2 opened this issue Nov 26, 2023 · 11 comments
Assignees
Milestone

Comments

@dcdom2
Copy link

dcdom2 commented Nov 26, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a enhancement/feature request. Not a bug or question.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The wanted feature/enhancement is not present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

Description

For example, treat *.abc files as todo.txt or as *.md.

Information

App Version: 2.11.1

Source

F-Droid

Format / File type

Not specific

Additional info / Log

No response

@harshad1
Copy link
Collaborator

You can set the file type for any file (regardless of extension) and it will be remembered for that path

@dcdom2
Copy link
Author

dcdom2 commented Nov 27, 2023

What I meant was to apply for all files of that format. If you have many, it becomes difficult to do it manually for each file.

@gsantner
Copy link
Owner

gsantner commented Dec 3, 2023

What files/filenames specially are you talking about, that you want to change to what format?

Maybe it's a good idea to add that to the general mapping, for everybody. But depends on your case.

@dcdom2
Copy link
Author

dcdom2 commented Dec 3, 2023

*.tsv and *.tab (tab-separated value files) for example. I also use custom extensions on my synced folders between desktop and mobile (I use specific non-default viewers on PC and would like to let Markor parse them as intended).

@gsantner
Copy link
Owner

gsantner commented Dec 3, 2023

So tsv and tab are in CSV I guess?

@dcdom2
Copy link
Author

dcdom2 commented Dec 3, 2023

Right.

@gsantner
Copy link
Owner

gsantner commented Dec 3, 2023

But why do you not use .csv? Makes your live easier :D.

@dcdom2
Copy link
Author

dcdom2 commented Dec 4, 2023

Because csv has no spacing to allow for realistic manual editing 🤷‍♂️

@gsantner
Copy link
Owner

gsantner commented Dec 8, 2023

I guess you have your reasoning, which doesn't need to be questioned. I just can recommend not to use whitespace of any kind as separator.

tav and tab can be added to Markor CSV default mapping, I don't see a big problem by that.

@dcdom2
Copy link
Author

dcdom2 commented Dec 9, 2023

For simpler files, it is very useful.

On PC, there is a great extension for vscode which automatically formats (only visually) the tsv file, making manual editing convenient. Combine it with colors (Rainbow CSV) and it is even better.

tav

I know this is probably a typo but it is tsv

While you are at it, can you do psv (pipe-separated) too? Thanks :)

@gsantner gsantner self-assigned this Dec 27, 2023
@gsantner gsantner changed the title Assign extension to format CSV Format add various file extensions to open with it by default Dec 27, 2023
@dcdom2
Copy link
Author

dcdom2 commented Jan 11, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants