Hi,
When you open a code file, if you add the "#<Line Number>" at the end of the url, the file is displayed on the screen and the given line highlighted. Is there a way to do that for MS Word files and other types?
Thank you!
Hello Mario and welcome to the Community!
Word files are stored in a way that is similar to EXE and DLL files. Meaning that this type of file is a binary file. These types of files are not able to be previewed within the Bitbucket UI. If your file was a text(txt) document, then you would be able to see a preview allowing you to insert a #NUMBER within the URL.
Something to be aware of with Binary files is the recommendation when storing multiple binary files:
Have a lot of binaries such as images or sounds?
Keep in mind Bitbucket Cloud is a code hosting service not a file sharing service. If a lot of your files are extremely large or if your files are binaries or executables, you should understand Git or Mercurial will not work well with them. You'll find that even locally your repository is barely usable.
For binary or executable storage, we recommend you look into file hosting services such as DropBox, rsync, rsnapshot, rdiff-backup, and so forth. Still not sure what to do? Review this post on stack overflow for more ideas.
Source document: What kind of limits do you have on repository/file size?
In short, Microsoft Word (doc/docx) files are binary files and not able to be previewed within Bitbucket.
I hope this helps to clarify file previewing within Bitbucket.
Regards,
Stephen Sifers
Thanks for the answer. I'm looking to version a word document, would bitbucket work in this manner, even if it's not meant to do this? (does bitbucket still version the binary files?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.