Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

How so suppress line numbers in copy/paste of code

Hi, Recently it happens that when I copy and paste a code block from Jira to another app, the line numbers are retained. My fellow developers are not experiencing the same issue. 

Example of a paste:

with l as

2(

3select l.LOGINCONNECTIONID as Session_ID, l.USER_NAME, to_char(login_time,'YYYY-MM-DD') as login_date,

4    to_char(login_time,'hh24') as start_hour, to_char(logout_time,'hh24') as end_hour

5    from LOADER.re_login_log l

6)

Has anyone encountered and fixed this issue?

Thanks

- k

2 answers

0 votes
Dave Liao Community Leader Jun 19, 2021

@Kevin Kardasz - hi Kevin! Can you send a screenshot of where you're copying the code from?

Hey Kevin - could you possibly be running into this - Copy-pasting the text from the "code snippet" block copies the line numbers ?

In that ticket, the following is mentioned;

The issue happens when using the (Linux-only) select-text-then-middle-click method for copypasting.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

174 views 2 13
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