Fix issue #2295 - Models with "@" in their name do not resolve as dependencies#3057
Fix issue #2295 - Models with "@" in their name do not resolve as dependencies#3057hediet merged 1 commit intomicrosoft:mainfrom
Conversation
component: TypeScriptWorker (tsWorker.ts) - Enable 'skipEncoding' flag on Uri.toString invokation on getScriptFileNames() method - Compare 'fileName' argument provided to _getModel() method both with Uri encoded and not
|
Thanks for the PR and your investigation! I don't fully understand the problem though, why does this fix the issue? |
Hi @hediet thanks for starting review I tackled issue #2295 integrating monaco editor in my app. As you could see from issue's comments the problem was related to @lstkz has figure out that using With this hint I've investigated on the part that resolve the import and finally I got a fix. Hope this clarify bit more |
|
That I understand, by I don't understand the underlying issue. I think the actual issue is that it is unclear how In this PR, I don't like the line |
Hi @hediet The reason is that I've added the condition with |
|
Would be awesome to get this merged... |
|
@bsorrentino Throwing my two cents in here because this seems to be blocked. I don't think the code clearly communicates why the two conditional checks are important, and your comment clarified the reasoning, but I get the sense that it would help to add that as a comment so that future readers of the code also understand why this was required. Perhaps that may give @hediet or @alexdima a bit more confidence to merge this. |
Hi @peterp the suggestion here is to renew the PR adding meaningful comments to the affected code ? |
|
cmon. why is this PR still blocked ? |
hediet
left a comment
There was a problem hiding this comment.
After some exploration, I also don't have a better idea than the change suggested in this PR.
fix issue #2295
component:
TypeScriptWorker(tsWorker.ts)Uri.toStringinvokation ongetScriptFileNames()method_getModel()method both with Uri encoded and not