Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

[Bitbucket Server] Is there a way to display MS Word files and specific line on screen?

mavargasavionyx February 27, 2019

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!

1 answer

1 vote
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2019

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

jasonbrady October 8, 2019

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?)

Like Kristin Hampsten likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events