I am getting better at spotting simple ideation e.g. "wow that is a long drop; I wonder?" rather than the more serious urges. The minor stuff is something I have lived with for 40 odd years and is not something I am overly worried about. (But is is nice to be here and know I am not the only person that has these intrusive thoughts

)
I try and journal the serious urges, write down what triggered the suicidal thought and what is also going on in my life at the same time. Just committing it down in ink on paper takes the edge off for me, also looking back on those thoughts and the background life noise can be insightful. e.g. someone may have made a mean comment and that triggered an internal reaction but there may well have been other things going on that fuels my self destructive though processes.
Climbing also helps me, today there is a 6/10 background anxiety level but I am intending to hit the climbing gym tonight. When I am there, I will be 100% focussed on climbing and I will not think about anything else, plus I will see some regular faces and be able to chat about our shared passion.