File tree Expand file tree Collapse file tree
Tool/Sources/WorkspaceSuggestionService Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public extension Workspace {
6767 usesTabsForIndentation: editor. usesTabsForIndentation,
6868 relevantCodeSnippets: [ ]
6969 ) ,
70- workspaceInfo: . init( workspaceURL: projectRootURL , projectURL: projectRootURL)
70+ workspaceInfo: . init( workspaceURL: workspaceURL , projectURL: projectRootURL)
7171 )
7272
7373 filespace. setSuggestions ( completions)
@@ -108,7 +108,7 @@ public extension Workspace {
108108 await suggestionService? . notifyRejected (
109109 filespaces [ fileURL] ? . suggestions ?? [ ] ,
110110 workspaceInfo: . init(
111- workspaceURL: projectRootURL ,
111+ workspaceURL: workspaceURL ,
112112 projectURL: projectRootURL
113113 )
114114 )
@@ -139,7 +139,7 @@ public extension Workspace {
139139 await suggestionService? . notifyAccepted (
140140 suggestion,
141141 workspaceInfo: . init(
142- workspaceURL: projectRootURL ,
142+ workspaceURL: workspaceURL ,
143143 projectURL: projectRootURL
144144 )
145145 )
You can’t perform that action at this time.
0 commit comments