Skip to content

Actual stdout (console.log) layout enhancement: to display content in multi-line mode. #388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
karlli1976 opened this issue Aug 13, 2019 · 8 comments · Fixed by #398
Closed
Labels
bug Something isn't working
Milestone

Comments

@karlli1976
Copy link

🚀 Feature Proposal

Actual stdout (console.log) layout enhancement: to display content in multi-line mode.

Motivation

console.log output all in one line, not friendly to program debug.

e.g., in vs description win:

stdout: 'l1={"val":1,"next":{"val":8,"next":null}}\nl2={"val":0,"next":null}\nadv=0\n-----\n

while in leetcode page:

l1={"val":1,"next":{"val":8,"next":null}}
l2={"val":0,"next":null}
adv=0
-----

Contribution

  1. stdout support multi-line mode;
  2. convert \n into a new line.
@jdneo
Copy link
Member

jdneo commented Aug 17, 2019

Can you provide the number of the problem?

@jdneo jdneo added the need more info Further information is requested label Aug 17, 2019
@howhowcan
Copy link

@jdneo If you mean you want to know which leetcode problems have this issue, actually every problems have if you output something containing more than one line.

@jdneo
Copy link
Member

jdneo commented Aug 22, 2019

@howhowcan Just give me one problem number is fine. I need one to repro and understand the issue.

BTW, PR is also welcome!

@howhowcan
Copy link

@jdneo Problem 1, for example :
未命名

(Of course the problem number is arbitrary)

@jdneo
Copy link
Member

jdneo commented Aug 22, 2019

It seems that this issue only occurs in test, right?

@howhowcan
Copy link

It seems like there is the same issue for 'testcase' in submit.
未命名

@no-response
Copy link

no-response bot commented Aug 31, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Aug 31, 2019
@jdneo jdneo reopened this Sep 10, 2019
@no-response
Copy link

no-response bot commented Sep 10, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Sep 10, 2019
@jdneo jdneo reopened this Sep 10, 2019
@jdneo jdneo added bug Something isn't working and removed need more info Further information is requested labels Sep 10, 2019
@jdneo jdneo added this to the 0.15.5 milestone Sep 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants