-
Notifications
You must be signed in to change notification settings - Fork 16
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
The recordset's repr() changes and is misleading #1
Comments
a ngọc làm plugin cho vscode rồi à |
Where is it? |
@yajo: tuanvuvd said that the author finally created the plugin for vscode. It's like a rhetorical question |
@cuongnmtm Yes we understand it works for VSCode, it was more why the repr() output disappears in VSCode. In the first screenshot you clearly see the repr() representation (without this plugin), in the screenshot in the README.md for this plugin you clearly see the repr() representation with the name, in the screenshot above, in VSCode there is no repr(). i.e. |
@gdgellatly I tried to translate for Yajo BTW, I like the way @trinhanhngoc adjusted repr() to show the record name. It's especially useful in case there are relationship fields inside |
@yajo @gdgellatly My pull request was merged. Could you please check the result? I think this issue is ok to close |
Look at how
self
looks in VSCode without the plugin:With it:
As said in Tecnativa/doodba#333 (comment), the fact that
self
becomes[1, 2, 3]
instead ofstock.warehouse(1, 2, 3)
is misleading, as it makes the variable look like it's alist
instead of a recordset.I wonder if that can be left as it was, without impacting the other niceties of this plugin.
The text was updated successfully, but these errors were encountered: