Update the hover 'containingLibraryName' to not include the 'file:///' prefix.
This is a follow up on a comment in the previous change https://dart-review.googlesource.com/c/sdk/+/103481/. Change-Id: I0f377d6c7d68d55464a4e111a6a65715a82e0591 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103546 Reviewed-by: Jaime Wren <jwren@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Jaime Wren <jwren@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
4979a51a9c
commit
03e415a4e8
@@ -55,8 +55,9 @@ public class HoverInformation {
|
||||
private final String containingLibraryPath;
|
||||
|
||||
/**
|
||||
* The URI of the containing library, examples here include "dart:core", "package:.." and even
|
||||
* "file:.." URIs. The data is omitted if the element is declared inside an HTML file.
|
||||
* The URI of the containing library, examples here include "dart:core", "package:.." and file uris
|
||||
* represented by the path on disk, "/..". The data is omitted if the element is declared inside an
|
||||
* HTML file.
|
||||
*/
|
||||
private final String containingLibraryName;
|
||||
|
||||
@@ -185,8 +186,9 @@ public class HoverInformation {
|
||||
}
|
||||
|
||||
/**
|
||||
* The URI of the containing library, examples here include "dart:core", "package:.." and even
|
||||
* "file:.." URIs. The data is omitted if the element is declared inside an HTML file.
|
||||
* The URI of the containing library, examples here include "dart:core", "package:.." and file uris
|
||||
* represented by the path on disk, "/..". The data is omitted if the element is declared inside an
|
||||
* HTML file.
|
||||
*/
|
||||
public String getContainingLibraryName() {
|
||||
return containingLibraryName;
|
||||
|
||||
Reference in New Issue
Block a user