APerricone / harbourCodeExtension

Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages
32 stars 20 forks source link

Request to order variable in debugger alphabetically. #89

Open EricLendvai opened 1 year ago

EricLendvai commented 1 year ago

After doing some research it seems that the ordering of variable in the debugger needs to be done by the extension.

Could you add such option to your extension? Sometimes I have a lot of variable and object properties, that having them alphabetically ordered would be helpful.

https://github.com/microsoft/vscode/issues/112660 weinand commented Dec 16, 2020 Yes, sorting variables needs to be done by the debug extensions.

Thanks, Eric

APerricone commented 1 year ago

It is interesting, Harbour debugger gives the variables in creation order, so first the parameters and later the locals in the order they are defined. I will check this, I want keep the parameters first and in order and for workarea columns I will keep the order of the table, for the others I will do something. About the classes, I have a similar problem, I have little classes that derives from other classes and the sum of data is big, some time ago I thought to split the data for base class in a sub branch, but it is very complex. I will work on it.