You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
I have been using sourcetree for some time now but just recently I have been getting in a really strange situation.
Whenever I open sourcetree and I want to see the changes on my css file it just crashes.
It starts to show the white box where the code would normally apear in and than it just crashes.
I had this issue in 2.3.5 and i updated today to 2.4.7 but I still have the same issue.
The only way I can fix this is by uninstalling and than reinstalling again.
That did it last time anyways.
Do you guys have any idea what is going on and/or how I can fix it without constantly reinstalling sourcetree ?
Apologies for the delay -- we've been really busy lately.
It appears the author of the project isn't maintaining it anymore so for now you'll just have to disable CSS. There's a new beta releasing today that doesn't have the fix in it, but I do have one ready that will be in the next beta or final release.
To provide an update on this: we've identified an issue with the syntax highlighting library we're currently using and have submitted a PR to address it. Once that gets approved we'll update and release a hotfix.
We are also experiencing this issue in release 18.104.22.1689. The SCSS/CSS files with this issue had an @import directive. When the directive is replaced by copying the common styles into both files, the problem goes away. Here is an example of the common content:
/* common elements */
-- color2: #666666;
src: url('../fonts/GlacialIndifference-Regular.woff2') format('woff2'),
Any suggestions (other than doing what we have done which is inefficient coding and more difficult to maintain)?
Ah, okay. That's probably caused by ST struggling to render the diff.
Could you email me the file so I can profile it (mcorsaro at the company name this website is run by.com)? It would be very useful in solving this -- thanks!
Looks like the issue is caused by syntax highlighting. As a work around go to Settings > Diff and turn off syntax highlighting. I'll investigate further to see what the issue is.