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
Hi, I was looking at the developer documentation and found some deprecated APIs. For example, see the Workspace.activeLeaf property.
It has a warning like this:
Warning: This API is now obsolete.
That makes sense, so my next step was to find out what to use instead. But reading the documentation, it says this:
The recommended alternatives are: - If you need information about the current view, use . - If you need to open a new file or navigate a view, use .
It looks like there were maybe some inline codes or links that were ommited. Paragraph looks like had some information but maybe they were removed by the generator? I can't find the recommended alternatives in this page.
I believe this page is not the only one with this issue. I also came across splitActiveLeaf with missing alternative information.
The text was updated successfully, but these errors were encountered:
* Indicates the currently focused leaf, if one exists.
*
* Please avoid using `activeLeaf` directly, especially without checking whether
* `activeLeaf` is null.
*
* The recommended alternatives are:
* - If you need information about the current view, use {@link getActiveViewOfType}.
* - If you need to open a new file or navigate a view, use {@link getLeaf}.
*
* @public
* @deprecated - The use of this field is discouraged.
It looks like some of the @link tags are being removed.
canova
changed the title
Some information seems to be removed by the API documenter
Some @link tags seem to be removed by the API documenter
Oct 16, 2023
canova
changed the title
Some @link tags seem to be removed by the API documenter
Some @link tags seem to be removed by the API documenter
Oct 16, 2023
Some instances are fixed now.
For the others I'll have to use some trickery, as support for @label is not implemented yet in api-extractor. (which we need because we have multiple functions with the same name, but different parameters.)
Hi, I was looking at the developer documentation and found some deprecated APIs. For example, see the
Workspace.activeLeaf
property.It has a warning like this:
That makes sense, so my next step was to find out what to use instead. But reading the documentation, it says this:
It looks like there were maybe some inline codes or links that were ommited. Paragraph looks like had some information but maybe they were removed by the generator? I can't find the recommended alternatives in this page.
I believe this page is not the only one with this issue. I also came across
splitActiveLeaf
with missing alternative information.The text was updated successfully, but these errors were encountered: