mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-29 16:20:29 -04:00
Merge from vscode 0a7364f00514c46c9caceece15e1f82f82e3712f
This commit is contained in:
@@ -160,7 +160,9 @@ export class FileBasedRecommendations extends ExtensionRecommendations {
|
||||
if (match(pattern, uri.toString())) {
|
||||
for (const extensionId of extensionIds) {
|
||||
// Add to recommendation to prompt if it is an important tip
|
||||
if (this.importantExtensionTips[extensionId]) {
|
||||
// Only prompt if the pattern matches the extensionImportantTips pattern
|
||||
// Otherwise, assume pattern is from extensionTips, which means it should be a file based "passive" recommendation
|
||||
if (this.importantExtensionTips[extensionId]?.pattern === pattern) {
|
||||
recommendationsToPrompt.push(extensionId);
|
||||
}
|
||||
// Update file based recommendations
|
||||
|
||||
Reference in New Issue
Block a user