zero-plusplus / vscode-autohotkey-debug

https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug
MIT License
50 stars 4 forks source link

Wish "useOutputDebug" to support not only \n but also \t or anything else. #277

Closed PythonYunfei closed 1 year ago

PythonYunfei commented 1 year ago

Wish useOutputDebug to support not only \n but also \t or anything else.

zero-plusplus commented 1 year ago

I am not sure what kind of problem you are experiencing.

Can you provide specific launch.json contents or source code where the issue occurs?

PythonYunfei commented 1 year ago

image I hope that I could be given an option to set it to be a "Tab" as well, instead of a line feed, both of which I cannot type out in GitHub. but when to wrap a line, will still be up to when I write it in outputdebug. As the debug console is much wider than high, line feeds are not the only things in it, perhaps "Tab" will appear much more in a significant part of situations than line feeds. It would be much more convenient if you could give a "Tab" or something else for useOutputDebug. Contents of the setting codes including the launch settings you asked about, have been sent to the near issue.

zero-plusplus commented 1 year ago

I still don't understand the request a bit. Do you mean you want the message to wrap at the time the tab appears?

In other words, do you want the output to be as follows.

3
4
5
7
9
PythonYunfei commented 1 year ago

No, on the contrary, I want the output to be like this automatically without 't which is pointed by the arrow below: image

PythonYunfei commented 1 year ago

To be honest, the plugin works pretty well yet that is the best debug plugin for AHK. I simply would like to try to pull some suggestions just to make the plugin truly become even better if could.

zero-plusplus commented 1 year ago

I understood.

The useOutputDebug was originally intended to add an attribute to insert a prefix and suffix string to the output message, but was not adopted.

It seems that adding this attribute would satisfy the request.

I am currently working on a major update and these will not be added until at least March or later.


I cannot always accommodate requests, but suggestions are always welcome.

PythonYunfei commented 1 year ago

No matter, any time, and thank you for your great work. For you to do the most important things first is a must. And I also think it is a good suggestion because 't is nothing special compared to 'n as a suffix. Waiting for your good news.

zero-plusplus commented 1 year ago

This issue is tracked here. Therefore, I close this issue.