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
DLS: Be better at matching an open file URI to a compiler instance
The DLS runs as many compiler instances as there are subprojects in the
build . When a file is opened we need to decide which compiler instance
should handle it, this is done by matching the file URI against the
source directories configured for each subproject. This commit improves
this matching in two way:
- Use URI#getPath instead of URI#getRawPath to decode percent-encoded
characters in the URI
- Use File#getCanonicalPath instead of File#getAbsolutePath
The first fix is necessary to get the DLS running in Windows, because
URIs start with file:///C%3A/.../ and we need getPath to decode "C%3A" to "C:".
0 commit comments