It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why is red dot in bitbucket PR code displayed in front of open parentheses when there is no extra character?

Gary Weaver Jun 09, 2016

Just noticed that Stash/Bitbucket sometimes puts a red dot at the beginning of a line/file that starting with parens, e.g.

Screen Shot 2016-06-09 at 9.55.54 AM.png

What is the purpose of that? It is valid JavaScript, and doesn't need any sort of warning, it would seem.

1 answer

2 votes
Adam Ahmed Atlassian Team Jun 09, 2016

A red dot is used for Unicode values that can't  be rendered. Usually you see this at the start of a file because the file has a BOM - Byte Order Mark character. If you hover the dot you'll  see it's  likely \ufeff


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,047 views 1 20
Read article

Community Events

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

Events near you