-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Initial implementation for supporting vcpkg #1886
Conversation
}; | ||
} | ||
} | ||
catch(error) {} |
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.
catch should set this.vcpkgPathReady = true and call this.handleConfigurationChange() so that we don't get stuck forever waiting for data that's never coming. #Closed
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.
Ah yeah. But a finally would be better for this, no? We need to call these two operations no matter what. #Closed
} | ||
if (!settings.defaultDefines) { | ||
configuration.defines = (process.platform === 'win32') ? ["_DEBUG", "UNICODE", "_UNICODE"] : []; | ||
} | ||
if (!settings.defaultBrowsePath) { | ||
// We don't add system includes to the browse.path anymore. The language server has this information. |
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.
can you add this comment back to the block where you update the browse.path? #Closed
No description provided.