File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
PowerShellEditorServices.Host Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class Program
16
16
[ STAThread ]
17
17
static void Main ( string [ ] args )
18
18
{
19
+ #if DEBUG
19
20
// In the future, a more robust argument parser will be added here
20
21
bool waitForDebugger =
21
22
args . Any (
@@ -36,6 +37,7 @@ static void Main(string[] args)
36
37
waitCountdown -- ;
37
38
}
38
39
}
40
+ #endif
39
41
40
42
// TODO: Select host, console host, and transport based on command line arguments
41
43
Original file line number Diff line number Diff line change @@ -207,11 +207,13 @@ public FindReferencesResult FindReferencesOfSymbol(
207
207
}
208
208
209
209
/// <summary>
210
- /// Finds the definition of a symbol in the script
210
+ /// Finds the definition of a symbol in the script file or any of the
211
+ /// files that it references.
211
212
/// </summary>
212
- /// <param name="foundSymbol">The symbol to find a definition for</param>
213
- /// <param name="referencedFiles">An array of scriptFiles too search for the definition in</param>
214
- /// <returns>GetDefinitionResult</returns>
213
+ /// <param name="sourceFile">The initial script file to be searched for the symbol's definition.</param>
214
+ /// <param name="foundSymbol">The symbol for which a definition will be found.</param>
215
+ /// <param name="workspace">The Workspace to which the ScriptFile belongs.</param>
216
+ /// <returns>The resulting GetDefinitionResult for the symbol's definition.</returns>
215
217
public GetDefinitionResult GetDefinitionOfSymbol (
216
218
ScriptFile sourceFile ,
217
219
SymbolReference foundSymbol ,
Original file line number Diff line number Diff line change 11
11
12
12
namespace Microsoft . PowerShell . EditorServices . Session
13
13
{
14
+ /// <summary>
15
+ /// Manages a "workspace" of script files that are open for a particular
16
+ /// editing session. Also helps to navigate references between ScriptFiles.
17
+ /// </summary>
14
18
public class Workspace
15
19
{
16
20
#region Private Fields
You can’t perform that action at this time.
0 commit comments