sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

either disable the fallback editor or make it so there is an account-level setting to specify that certain file types always open with the text editor (say). #5149

Open williamstein opened 3 years ago

DrXyzzy commented 3 years ago

It is a nuisance to have to keep telling CoCalc to use the default editor (whenever I refresh the browser, e.g.) with my small csv file or a .journal file.

macOS addresses the problem with the following dialog, letting you set the default app for opening a specific file or any file with the same extension. So this is a precedent for one UI solution.

open-file-with
haraldschilly commented 3 years ago

weird, csv files should open out of the box.

what are .journal files? are they also text?

DrXyzzy commented 3 years ago

You are right, .csv files open without intervention, sorry.

.j and .journal are extensions commonly used for hledger journal files. They are also text.