π Search Terms
experimental jsdoc tag
β
Viability Checklist
β Suggestion
I would like to mark some new APIs as "experimental" with an @experimental JSDoc tag, and have people's IDE's show a visual hint (like how @deprecated styles text with strike-through)
π Motivating Example
There's no way (unless I missed it) to introduce an experimental feature and to have that reflected in IDEs like @deprecated does. Example:
/**
* @experimental Not ready for production. This feature is slated to land in the next minor. Early feedback welcome!
*/
export function doSomethingNewAndCool() {
// ...
}
and then IDEs would highlight this in a certain way in the code, for example like how @deprecated styles text with a strike through.
/**
* @deprecated Not ready for production. This feature is slated to land in the next minor and be un-deprecated. Early feedback welcome!
*/
export function doSomethingNewAndCool() {
// ...
}
π» Use Cases
See motivating example.
For now, a workaround is to use @deprecated, then clearly denote that the feature will be un-deprecated in a following release, but some people might misinterpret that or not read the whole message:
π Search Terms
experimental jsdoc tag
β Viability Checklist
β Suggestion
I would like to mark some new APIs as "experimental" with an
@experimentalJSDoc tag, and have people's IDE's show a visual hint (like how@deprecatedstyles text with strike-through)π Motivating Example
There's no way (unless I missed it) to introduce an experimental feature and to have that reflected in IDEs like
@deprecateddoes. Example:and then IDEs would highlight this in a certain way in the code, for example like how
@deprecatedstyles text with a strike through.π» Use Cases
See motivating example.
For now, a workaround is to use
@deprecated, then clearly denote that the feature will be un-deprecated in a following release, but some people might misinterpret that or not read the whole message: