You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our extension implements a few code lenses, and most of our code lens providers emit two code lenses per provider.
(eg a single row with "Run code | Debug code")
(also, for clarity, I'm referring to each link ("Run code" or "Debug code") as a separate code lens, not "Run code | Debug code" as a single code lens)
The CodeLens class (in TextEditor.ts) only returns the first anchor tag when getText() is called. This is because elem.$('a') is called instead of elem.$$('a'), and the page object definition for a CodeLens assumes there is only one code lens in the code lens's container.
The text was updated successfully, but these errors were encountered:
jeffb-sfdc
changed the title
CodeLens only support one CodeLense per line
CodeLens page object only supports one CodeLense per line
Mar 21, 2023
jeffb-sfdc
changed the title
CodeLens page object only supports one CodeLense per line
CodeLens page object only supports one CodeLense per row/group
Mar 21, 2023
Any contributions that resolves the bug are highly appreciated. Don't expect this to be picked up by active contributors as they have their own priorities. If you depend on this bug to be fixed, your contribution is required. Please take a look into our contribution guidelines or join our Discord development server and let us know if you have any questions. Cheers!
Our extension implements a few code lenses, and most of our code lens providers emit two code lenses per provider.
(eg a single row with
"Run code | Debug code"
)(also, for clarity, I'm referring to each link (
"Run code"
or"Debug code"
) as a separate code lens, not"Run code | Debug code"
as a single code lens)The
CodeLens
class (inTextEditor.ts
) only returns the first anchor tag whengetText()
is called. This is becauseelem.$('a')
is called instead ofelem.$$('a')
, and the page object definition for a CodeLens assumes there is only one code lens in the code lens's container.The text was updated successfully, but these errors were encountered: