Editing code that has been submitted

Back to General discussions forum

tsustylez     2020-01-30 21:56:34

Is there any way I can go back and edit the code I've submitted? I work in Vim and could not get it to copy and paste from there to here. Trying to clean up the copy and paste is super annoying!

I switched to gVim and the copy and paste is working like it should, so I would like to go back and rewrite those scripts so that they look cleaner.

Rodion Go     2020-01-31 06:56:22

Hi Friend!

Surely there is a way :)

When you reopen the problem, just about code area you may see words (if you already submitted anything for this task):

You already have sources (click to load, or right-click and copy url): Python

the names of languages (in which you have submitted) are links... if you click them, the code is loaded into solution area...

I work in Vim and could not get it to copy and paste from there to here

I'm not 100% sure, but I vaguely remember there are ways to exchange between vim and common clipboard, so googling may help. Snippets which fit the screen are easily copied with the mouse usually. xsel utility allows copying whole file into clipboard. So there are ways :)

tsustylez     2020-02-02 17:17:23

Thank you for the response! I'll make sure to go back and clean up that code soon then.

As for vim, I'll take a look at it for sure. That's the most frustrating part about it! But, since I'm not currently on a Linux box I'll just use gVim for the time being. Again, thank you so much for the response!

Please login and solve 5 problems to be able to post at forum