sergey-visual-studio / dpack Goto Github PK
View Code? Open in Web Editor NEWVisual Studio productivity extension
License: GNU General Public License v3.0
Visual Studio productivity extension
License: GNU General Public License v3.0
DPack Rx Version 4.0.0.24, VS 2019
When opening the file browser, the "Code Browser's collection file information" dialog pops up every single time and in most projects I'm working in it takes several seconds for it to go away. This wasn't an issue in pre-Rx releases, so it seems to be unique to Rx. Any chance it could cache the file information to make it less disruptive when using the file browser?
Hello, Team!
After installing the extension, I should get the File browser window when pressing Alt+U. Instead, nothing happens. Can you please fix this?
Development environment details:
a. OS type and version: Windows 10 Pro 22H2 19045.2311
b. Visual Studio version: Version 17.4.2
c. DPack version: 4.5.1
After the switch to DPack Rx noticed a performance degradation when opening up the File Browser.
Previously (pre-Rx) this was near to instant, but now it will take 1-4sec each time.
One note is that the Solution in question is quite large with ~190 projects.
Is it that file structure caching didn't make it to Rx-version?
Please update the beta period or provide a "final" version ;-)
Thank you for all your work so far, I can't work without this extension! ;)
Following these steps, VS2017 hangs up:
At this point, VS hangs up and need to kill via task manager.
Disabling DPack, all is ok.
Hi!
In the original DPack, in the File Browser you could search the full path of files, like folder\folder\file.cs, for example. I really miss this feature because our codebase has a lot of files that have the same name, but are in different directories.
Thanks a lot!
Thanks.
Windows 10 64b
17.7.4
4.5.5
C# SDK project type
(I think the SDK project type + app.config file combination might be relevant)Win
Issue seems to be that https://github.com/sergey-visual-studio/dpack/blob/90ca6b0548e7544a14f6614cffba19fc6ffcccac/DPackRx/Services/ShellService.cs#L2403C13-L2403C13 throws an exception (0x80041FEB
)
If
dpack/DPackRx/CodeModel/FileTypeResolver.cs
Line 159 in 90ca6b0
false
for the item (i.e. not treat app.config as a code subtype), then it opens correctly subsequently with dteItem.Open(EnvDTE.Constants.vsViewKindPrimary);
.Visual Studio 2022 now supports ARM64 extensions. Would you mind updating the VSIX manifest with arm64 support?
When switching between two VS Versions (because of different project needs) the dpack keyboard bindings seem to be removed when starting one of the VS versions while the other is still running.
To replicate behavior:
Start VS2022 set keybinding via the explicit button "keyboard shortcuts" in the dpack option for this. Check that binding works
Close VS2022
Start VS2019 set keybinding via the explicit button "Assign Shortcuts" in the dpack option for this. Check that binding works
Close VS2019
Start VS2022 and check if dpack keybindings work Presumably the work
Don't close VS2022
Open VS2019 (so both VS version run in at the same time) check keybindings and see that they don't work in VS2019.
That happens vice versa so starting VS2022 while VS2019 is running VS2022 will no longer know the keybindings for dpack also.
I used the ALT+U shortcut for opening the filebrowser to check keybindings.
Expectation is surely they work permanently in both VS version without the constant need to reapply bindings.
I just found the logs for VS2019 don't know where the one for VS2022 ended up.
DPack.log
Command 'Code browser/All members' shows members of classes and structs but not records (new in C# 9).
"Alt" + "U" can not make the DPack dialog pop up in Microsoft Visual Studio Enterprise 2022 (64-bit)
Version 17.6.3
I have an xml file that I use in many of my projects that is in the "Solution Items" folder. The file shows up just fine in the File Browser but hitting enter with it selected or double clicking on the file won't open it in the editor. This was working in VS 2015 (it may have worked in VS 2017, but I skipped 2017).
I'm happy to help test any potential fixes for this.
Currently using VS 2019 with DPack 3.12.4.
When I search for a class/method and while typing if I press home button, cursor doesn't go to the beginning of the search textbox
a. OS type and version: (Win 10 20H2)
b. Visual Studio version from Help|About : VS Version 2019 16.8.5
c. DPack version from Help|About: dPack Rx 4.0.3.0
d. Project language you're working with. C#
e. Project type you're working with (Win, Web, .NET Core, etc). WPF
Plug-ins work well, But VS2017 could not find the shortcut key for DPack Rx
Hi,
Firstly I'd like to say thanks for providing such a great extension for free.
When I try to open the code browser from a solution within VS2013 Pro I get the following message:
The solution browser opens successfully but appears empty:
I have tried creating new solution and existing ones, which doesn't appear to make a difference.
I am running version 3.12.4. Please let me know if I can provide any more info.
All the best!
J
Previous version of dpack was "alt+u" to open it. I cannot for the life of me figure out how to open it, on this version. Could you add a keyboard shortcut list or something somewhere?
Hello, Team!
Where are the logs being saved when setting "Enable logging" in this extension?
Development environment details:
a. OS type and version: Windows 10 Pro 22H2 19045.2311
b. Visual Studio version: Version 17.4.2
c. DPack version: 4.5.1
Thanks to migrate Solution Backup feature ASAP
I love DPack and can't live without the bookmarks feature. I notice that DPack is not available as an extension for the VS 2022 preview and was wondering when it might?
I have a C++ Win64 project.
Some project files permanently "lose ability" to list its functions, some files not.
I don't have steps to reproduce the issue. Restarting MSVS doesn't help. Reinstalling the extension doesn't help too.
Latest Microsoft Visual Studio Community 2022 (64-bit) 17.5.5
Latest extension version 4.5.3
Unfortunately I couldn't locate a DPack log file. Where should I look for it?
I can collect additional debug information or try some actions what could help to diagnose the issue, but I need guidance.
The extension is barely useful due to this issue.
Hello, do this version have no more backup function??
Kind regards and sorry for posting this as a bug!
When I assign default keyboard shortcuts in VS2022 that removes the keyboard shortcuts on VS2019 for dPack. Then when I try to assign
default keyboard shortcuts to VS2019 shortcuts are removed from VS2022.
Windows 10 21H2m
Visual studio 17.1.3
Test project: Test.zip
NullRefException.txt
BugRepo.zip
VS2019 v16.4.5
DPack Rx v4.0.0.22
Unzip BugRepo.zip.
Open it in VisualStudio.
Unload the project named "UnusedProject".
Bring up the File Browser (Alt-U).
You should see a null ref exception with a stack trace similar to the one in the attachment, NullRefException.txt
Hi,
In Visual Studio 2022 (Version 17.2.5), then after updating to DPack 4.5.3 my shortcuts for DPack does not work anymore.
If I try to press Tools -> DPack -> Options then nothing happens.
If I try to press Tools -> Options -> DPack Rx (or any of the sub nodes) then it shows "An error occurred loading this property page".
Environment/Project:
I also tried in a new Windows Forms App project with Target Framework 6.0, this gives the same behaviour.
DPack 4.5.1 is working fine.
Would appreciate if you could look at it, thank you.
Bookmarks are not restored when the project is reopened.
This may be because two different VS instances associated with the same account have different projects loaded. Bookmarks are not restored for both projects.
The current way the bookmarks work, they are tied to a specific file: it is not possible to go to a bookmark using the keyboard shortcut when the file that contains that bookmark isn't the one focused
Open 2 files
Set a bookmark on first file
Focus the second file
Press the shortcut for navigating to the bookmark -> fail
The IDE should focus on the file containing the bookmark and navigate to it
Thank you :)
Basically I use VsVim, and I configure some shortcuts for native Visual Studio actions in its dotfile, I would like to know if I can do this with dpack actions as well, like this.
Hi,
at first, thank you very much for this extension!
I have multiple VMware virtual images with various Visual Studio versions. So far, I have been using old DPack. Recently I created new VM image with VS2019 and DPack Rx. I noticed following behavior:
VM1 - image with VS2019 and DPack Rx.
VM2 - image with VS2017 and old DPack.
This goes on as I switches between various old VS instances and new one with DPack Rx. In every VS, I'm logged-in with the same Microsoft account. I suppose it has something to do with synchronization of VS settings. My guess is that problem is that the same shortcut is bound to different commands (old and new DPack have different command names/ids as I see).
I don't want to turn synchronization off, since it's a nice feature. I can switch to DPack Rx in my VS2017 installations, but the problem will stay for my images with VS2015 and lower I guess. Is there something you can do about this?
Thanks,
Peter
Hi,
I've installed DPack extension on my VS2019. Though the extension manager shows DPack is installed, I don't see the menu of it at the 'Tools' pop-up menu, as I used to see at VS2017.
Also clicking on Alt+U does not open the 'browse files' dialog.
So it seems it is does not work well. I tried to uninstall and install, but this did not solve the problem.
Any suggestion is much appreciated.
Thanks.
Eliyahu
Hi, firstly thanks for the providing this great extension for free. Kudos!
DPack in our large C++ solutions at work fails to show anything when opening any of the Code Browser windows. The windows will open, but return no results. It is always just a blank white window:
I would expect to see a match in the scenario pictured above.
It may be worth noting that the file browser works perfectly.
Here is dpack log:
DPack.log
Project and file names were modified as the company I work for is in sensitive field.
System info:
Windows 10 Pro x64 ver 1903
Visual Studio Pro ver 16.4.5
DPack Rx ver 4.0.0.32 Beta
When I create a small dummy project, the feature works as intended:
Sadly I cannot share the problematic projects as they are not open source.
Please let me know if I can provide any more info.
Thanks.
Hi Sergey, hope you're doing well.
Windows 10
VS 2022 Pro (Version 17.3.6)
DPack 4.5.1
C#
The behavior has been present in WinForm, Console, Web, and class library projects.
This may be the same issue as issue #36, but I didn't want to hijack that one in case it is different. And I've also found that sql files do show up for me as long as they're not in a the "solution items" folder, so it may be different than #36.
Thanks Sergey. Let me know if there's anything else I can provide to help track this down.
Your PayPal isn't allowing donations. 8(
Thanks.
The command "File browser' supports razor files. Unfortunatelly, The command 'Code browser/All members' shows error message: "This non-code file type is not supported".
Razor files in Blazor projects contain '@code' section where members can be declared.
Hi!
I have no idea about VS extension development, but if you were to port it to the 2022 preview, would you have to do it again once the actual 2022 releases? If not, would you please consider porting it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.