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
When hovering over functions, the LSP incorrectly includes decorative comment header lines (//////) in the documentation. These should be filtered out.
Example:
/////////////////////////////////////////////////////////////////////////// Transforming contained values//////////////////////////////////////////////////////////////////////////// Maps an `Option<T>` to `Option<U>` by applying a function to a contained value (if `Some`)/// or returns `Option::None` (if `None`).////// # Examples////// ```/// let maybe_some_string: Option<ByteArray> = Option::Some("Hello, World!");/// // `Option::map` takes self *by value*, consuming `maybe_some_string`/// let maybe_some_len = maybe_some_string.map(|s: ByteArray| s.len());/// assert!(maybe_some_len == Option::Some(13));////// let x: Option<ByteArray> = Option::None;/// assert!(x.map(|s: ByteArray| s.len()) == Option::None);/// ```fnmap<U, F, +Destruct<F>, +core::ops::FnOnce<F, (T,)>[Output:U]>(
self:Option<T>, f:F,
) ->Option<U>;
Show up as:
Steps
No response
Possible Solution(s)
Modify the LSP documentation parser to only capture the top comment doc block
Problem
When hovering over functions, the LSP incorrectly includes decorative comment header lines (
//////
) in the documentation. These should be filtered out.Example:
Show up as:

Steps
No response
Possible Solution(s)
Modify the LSP documentation parser to only capture the top comment doc block
Notes
No response
Scarb Version
The text was updated successfully, but these errors were encountered: