-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add proto and path checks #118
Conversation
Saransh Saini seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeiumVS/Commands.cs
Outdated
@@ -308,6 +308,7 @@ protected override void BeforeQueryStatus(EventArgs e) | |||
|
|||
protected override async Task ExecuteAsync(OleMenuCmdEventArgs e) | |||
{ | |||
await CodeiumVSPackage.Instance.LogAsync("IN WINDOW DILAOG"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might as well spell this right if you're gonna leave it in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -318,7 +318,6 @@ protected override async Task ExecuteAsync(OleMenuCmdEventArgs e) | |||
// highlight the selected codeblock | |||
TextHighlighter? highlighter = TextHighlighter.GetInstance(docView.TextView); | |||
highlighter?.AddHighlight(start_position, end_position - start_position); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually we should add a formatter to prevent these whitespace changes from making it in
if (!string.IsNullOrEmpty(project.FullName)) | ||
{ | ||
string projectDir = Path.GetDirectoryName(project.FullName); | ||
await _package.LogAsync($"Project Dir: {projectDir}"); | ||
AddTrackedWorkspaceResponse response = await AddTrackedWorkspaceAsync(projectDir); | ||
if (response != null) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we log the project.FullName as well? Seeing as that's actually what's being used now?
if (!string.IsNullOrEmpty(project.FullName)) | |
{ | |
string projectDir = Path.GetDirectoryName(project.FullName); | |
await _package.LogAsync($"Project Dir: {projectDir}"); | |
AddTrackedWorkspaceResponse response = await AddTrackedWorkspaceAsync(projectDir); | |
if (response != null) | |
{ | |
await _package.LogAsync($"Project FullName: {project.FullName}"); |
AddTrackedWorkspace RPC was failing because of a bad path being passed in, just need to add a check for that.
Noticed some proto were missing, added those in too.
Previous proto additions were incorrect, deleted some of them.