cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

Show, and preferably syntax highlight, all text files on browser

pekkaklarck
Explorer | Level 3

Dropbox showing and also syntax highlighting (when applicable) various plain text files (*.txt, *.py, ...) directly on browser is a really nice feature. When I organize training courses and share materials via Dropbox, it's handy that participants can view files without downloading them. Unfortunately this applies only for files that Dropbox somehow recognizes and custom *.robot files we use with Robot Framework are not shown at all meaning that participants always need to download them. It would be great if the situation could be enhanced as follows:

1. Show all text files, regardless the extension, online. This requires detecting which unrecognized files are text, but that shouldn't be too big a problem. Just looking does the file contain the null byte (or possibly two consequtive null bytes) ought to be enough.

2. Use a tool like Pygments to highlight text files. These tools support various languages out-of-the box and find the correct plugin based on the extension. Most of these also ought to support Robot Framework syntax that I'm particularly interested in.

3. If adding generic support for all text files is not possible, I would be extremely grateful if you could add *.robot files into the list of supported text files. Just showing these files as text would be nice but having then syntax highlighted would be awesome.

2 Comments
Dropboxer
Dropboxer

Hey there @pekkaklarck - nice catch!

I'll make sure to pass all of your comments along to the dev team for future consideration -thank you for this feedback and providing a viable paradigm to work on.

If there's anything else I can help with in the meantime, please let me know and we'll take it from there.

Thank you and have a lovely day!

Dropboxer
Dropboxer

This idea is going to need a bit more support.

We've updated the status to encourage more users to back you up!

Status changed to: Needs more votes
Vote for this idea

Like this idea? Vote for it and we will give it the attention it deserves!

1 votes received

Top voted ideas from the Community