Skip to content

Commit

Permalink
[ROAD-950] Fix: files not detected issue (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldanchenko authored Jun 9, 2022
1 parent 0c30afa commit 2f8b268
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
17 changes: 11 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
# Snyk Changelog

## [1.1.20]

### Fixed
- Files not detected issue.

## [1.1.19]

### Fixed
- Errors when projects are nested inside solution folders
- Errors when projects are nested inside solution folders.

## [1.1.18]

### Changed
- Removed manually included DLLs from VSIX package
- Removed manually included DLLs from VSIX package.

## [1.1.17]

### Fixed
- Selection of tree view items only working when clicking on the icon
- Background color of unfocused selected items might blend with font color on some themes
- Selection of tree view items only working when clicking on the icon.
- Background color of unfocused selected items might blend with font color on some themes.

## [1.1.16]

Expand All @@ -24,7 +29,7 @@
### Fixed
- The color of the text in the tree view does not match the color from VS theme.
- A problem with partially lost Snyk Code results if a single file contains multiple identical suggestions.
- Error when clicking on issues with unknown severity in the tool window
- Error when clicking on issues with unknown severity in the tool window.

## [1.1.15]

Expand All @@ -33,7 +38,7 @@
- Restore all tree items after clear search or filter.

### Changed
- Expand all scan results after completing a scan
- Expand all scan results after completing a scan.

## [1.1.14]

Expand Down
12 changes: 10 additions & 2 deletions Snyk.VisualStudio.Extension.Shared/Service/SnykSolutionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,20 @@ private IList<string> GetSolutionProjects(Toolkit.SolutionItem solutionItem)
{
foreach (var children in solutionItem.Children)
{
if (children.Type == Toolkit.SolutionItemType.Project
|| children.Type == Toolkit.SolutionItemType.VirtualProject
if (children.Type == Toolkit.SolutionItemType.VirtualProject
|| children.Type == Toolkit.SolutionItemType.MiscProject)
{
projectFolders.Add(this.GetExistingDirectoryPath(children.FullPath));
}
else if (children.Type == Toolkit.SolutionItemType.Project)
{
var project = children as Toolkit.Project;

if (project.IsLoaded)
{
projectFolders.Add(this.GetExistingDirectoryPath(project.FullPath));
}
}
}
}
}
Expand Down

0 comments on commit 2f8b268

Please sign in to comment.