Ignore whitespace by default?

In the diff views on the Stash web interface, there is an option to ignore whitespace. This is off by default and has to be switched on every time one visits the web interface.(*)

Is it possible to change the global default setting from off to on in the server's config file or somewhere else?

(*) Feature suggestion: store this in a cookie or the user profile so it persists for every user.

1 answer

1 accepted

There's no setting for changing the default or persisting it longer, unfortunately. The setting is persisted, but only for the life of a browser tab (and any tabs opened from it).

This limited persistence is by design, but I suspect we'll eventually end up extending the persistence to the whole browser indefinitely (as you are not the first to want it). You can track a related issue for side-by-side diff preference here https://jira.atlassian.com/browse/STASH-4693

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,959 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you