Skip to content

Commit fadf1cd

Browse files
committed
formatting
1 parent ae7952f commit fadf1cd

File tree

9 files changed

+29
-21
lines changed

9 files changed

+29
-21
lines changed

CodeiumVS/CodeiumVS.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,4 @@
239239
<Target Name="AfterBuild">
240240
</Target>
241241
-->
242-
</Project>
242+
</Project>

CodeiumVS/CodeiumVSPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ await LogAsync(
7878
$"CodeiumVSPackage.InitializeAsync: Failed to register commands; Exception {ex}");
7979
await VS.MessageBox.ShowErrorAsync("Windsurf: Failed to register commands.",
8080
"Windsurf might not work correctly. Please check " +
81-
"the output window for more details.");
81+
"the output window for more details.");
8282
}
8383

8484
try

CodeiumVS/InlineDiff/InlineDiffAdornment.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public async Task CreateDiffAsync(int position, int length, string replacement)
135135
Assumes.True(MefProvider.Instance.TextDocumentFactoryService.TryGetTextDocument(
136136
_hostView.TextDataModel.DocumentBuffer, out var textDocument),
137137
"InlineDiffAdornment.CreateDiff: Could not get text document for the " +
138-
"current host view");
138+
"current host view");
139139

140140
// create a temporary file to store the diff
141141
string rightFileName = Path.GetTempFileName() + Path.GetExtension(textDocument.FilePath);
@@ -337,7 +337,7 @@ private void CreateRightProjectionBuffer(string tempFileName, int position, int
337337

338338
Assumes.True(ErrorHandler.Succeeded(openingResult),
339339
"InlineDiffAdornment.CreateRightProjectionBuffer: Could not open the " +
340-
"document for temporary file");
340+
"document for temporary file");
341341

342342
VsShellUtilities.GetTextView(_rightWindowFrame).GetBuffer(out var sourceTextLines);
343343
Assumes.True(
@@ -354,7 +354,7 @@ private void CreateRightProjectionBuffer(string tempFileName, int position, int
354354
Assumes.True(MefProvider.Instance.TextDocumentFactoryService.TryGetTextDocument(
355355
_rightSourceBuffer, out _rightTextDocument),
356356
"InlineDiffAdornment.CreateRightProjectionBuffer: Could not get text " +
357-
"document for the temp file");
357+
"document for the temp file");
358358

359359
// apply the diff
360360
using ITextEdit textEdit = _rightSourceBuffer.CreateEdit();

CodeiumVS/LanguageServer/LanguageServer.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public async Task SignInAsync()
166166
// show an error message box
167167
var msgboxResult = await VS.MessageBox.ShowAsync(
168168
"Windsurf: Failed to get the Authentication Token. Please check the output " +
169-
"window for more details.",
169+
"window for more details.",
170170
"Do you want to retry?",
171171
OLEMSGICON.OLEMSGICON_WARNING,
172172
OLEMSGBUTTON.OLEMSGBUTTON_RETRYCANCEL,
@@ -222,8 +222,8 @@ private async Task GetLanguageServerInfoAsync()
222222
{
223223
string portalUrl = _package.SettingsPage.PortalUrl.TrimEnd('/');
224224
extensionBaseUrl = portalUrl;
225-
string version = await new HttpClient().GetStringAsync(portalUrl + ("/api/" +
226-
"version"));
225+
string version =
226+
await new HttpClient().GetStringAsync(portalUrl + ("/api/" + "version"));
227227
if (version.Equals("test", StringComparison.OrdinalIgnoreCase) ||
228228
Regex.IsMatch(version, @"^\d+\.\d+\.\d+$"))
229229
{
@@ -306,7 +306,7 @@ await _package.LogAsync(
306306
];
307307

308308
errorBar.Show("[Windsurf] Critical Error: Failed to download the language server. Do " +
309-
"you want to retry?",
309+
"you want to retry?",
310310
KnownMonikers.StatusError,
311311
true,
312312
null,
@@ -490,7 +490,7 @@ await _package.LogAsync("LanguageServer.VerifyLanguageServerSignatureAsync: Fail
490490

491491
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
492492
errorBar.Show("[Windsurf] Failed to verify the language server digital signature. The " +
493-
"executable might be corrupted.",
493+
"executable might be corrupted.",
494494
KnownMonikers.IntellisenseWarning,
495495
true,
496496
null,
@@ -528,7 +528,7 @@ await _package.LogAsync(
528528

529529
new NotificationInfoBar().Show(
530530
"[Windsurf] Critical error: Failed to create language server directories. Please " +
531-
"check the output window for more details.",
531+
"check the output window for more details.",
532532
KnownMonikers.StatusError,
533533
true,
534534
null,
@@ -596,7 +596,7 @@ await _package.LogAsync(
596596

597597
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
598598
errorBar.Show("[Windsurf] Critical Error: Failed to start the language server. Do " +
599-
"you want to retry?",
599+
"you want to retry?",
600600
KnownMonikers.StatusError,
601601
true,
602602
null,
@@ -618,7 +618,7 @@ await _package.LogAsync(
618618
// warn the user about the issue
619619
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
620620
new NotificationInfoBar().Show("[Windsurf] Failed to read output from the language " +
621-
"server, Windsurf might not work properly.",
621+
"server, Windsurf might not work properly.",
622622
KnownMonikers.IntellisenseWarning,
623623
true,
624624
null,
@@ -653,7 +653,7 @@ await _package.LogAsync(
653653
{
654654
new NotificationInfoBar().Show(
655655
"[Windsurf] Critical Error: Failed to get the language server port. Please " +
656-
"check the output window for more details.",
656+
"check the output window for more details.",
657657
KnownMonikers.StatusError,
658658
true,
659659
null,

CodeiumVS/SuggestionUI/TextViewListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ void ShowIntellicodeMsg()
478478
VsShellUtilities.ShowMessageBox(
479479
this.package,
480480
"Please disable IntelliCode to use Codeium. You can access Intellicode settings " +
481-
"via Tools --> Options --> Intellicode.",
481+
"via Tools --> Options --> Intellicode.",
482482
"Disable IntelliCode",
483483
OLEMSGICON.OLEMSGICON_INFO,
484484
OLEMSGBUTTON.OLEMSGBUTTON_OK,

CodeiumVS/Windows/RefactorCodeDialogWindow.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private void NewContext(Languages.LangInfo languageInfo)
7373
new RefactorData("Add type annotations to the code",
7474
KnownMonikers.NewType,
7575
"Add type annotations to this code block, including the function " +
76-
"arguments and return type." +
76+
"arguments and return type." +
7777
" Modify the docstring to reflect the types.",
7878
[
7979
Packets.Language.LANGUAGE_CSHARP,
@@ -84,7 +84,7 @@ private void NewContext(Languages.LangInfo languageInfo)
8484
new RefactorData("Clean up this code",
8585
KnownMonikers.CleanData,
8686
"Clean up this code by standardizing variable names, removing " +
87-
"debugging statements, " +
87+
"debugging statements, " +
8888
"improving readability, and more. Explain what you did to clean " +
8989
"it up in a short and concise way."),
9090

@@ -93,8 +93,7 @@ private void NewContext(Languages.LangInfo languageInfo)
9393
KnownMonikers.Spy,
9494
"Check for bugs such as null pointer references, unhandled exceptions, and more." +
9595
" If you don't see anything obvious, reply that things look good and that " +
96-
"the user" +
97-
" can reply with a stack trace to get more information."),
96+
"the user" + " can reply with a stack trace to get more information."),
9897

9998
new RefactorData("Implement the code for the TODO comment",
10099
KnownMonikers.ImplementInterface),

CodeiumVS/codelensoop/SharedCodeLens.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Task<FunctionInfo> LoadInstructions(Guid dataPointId, Guid projGuid, string file
4343
int textStart, int textLen, CancellationToken ct);
4444
}
4545

46-
}
46+
}

CodeiumVS/codelensoop/VisualStudioConnectionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ await rpc.InvokeAsync(nameof(IRemoteVisualStudio.RegisterCodeLensDataPoint), dat
4040

4141
public void Refresh() => dataPoint.Refresh();
4242
}
43-
}
43+
}

codeium.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)