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?
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.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events