Giter Site home page Giter Site logo

dpack's People

Contributors

sergey-visual-studio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dpack's Issues

"collection file information"

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?

image

Alt+U does not work when using with VS2022

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

File Browser (Alt+U) always takes few seconds to start

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?

Beta period has expired

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! ;)

VS2017 hangs up with DPack enabled

Following these steps, VS2017 hangs up:

  • Open a C++ project
  • Put the cursor on the first character of an #include statement without selecting the row
  • Press CTRL+C to copy whole line
  • Press CTRL+V to paste the new line

At this point, VS hangs up and need to kill via task manager.
Disabling DPack, all is ok.

Add back full path to file browser

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!

Can't get it to run, there is no instructions. Two api's are depreciated. No instructions hie to fix? No instructions at all on YouTube?

  1. Clearly describe the issue you're having.
  2. Provide steps to reproduce the behavior.
  3. Indicate the expected behavior.
  4. Include a test project, if possible.
  5. Include screenshots, if applicable.
  6. Include DPack's log using Tools|Options -> DPack.
  7. Add any other details you think might be helpful.
  8. Provide your development environment details:
    a. OS type and version
    b. Visual Studio version from Help|About
    c. DPack version from Help|About
    d. Project language you're working with.
    e. Project type you're working with (Win, Web, .NET Core, etc).

Thanks.

App.config files don't open

  1. File Browser -> selecting app.config and pressing enter doesn't open the file
  2. Open a project with app.config, Alt+U to open File Browser. Select app.config. Press enter.
  3. Provide your development environment details:
    a. OS type and version Windows 10 64b
    b. Visual Studio version from Help|About: 17.7.4
    c. DPack version from Help|About: 4.5.5
    d. Project language you're working with. C# SDK project type (I think the SDK project type + app.config file combination might be relevant)
    e. Project type you're working with (Win, Web, .NET Core, etc). 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

public bool IsCodeSubType(FileSubType itemSubType, bool miscFilesAsCode = true)
returns 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);.

Using VS2019 & VS2022 in parallel will result in deregistration of keyboard binding for the currently not used VS version

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

Some files won't open from File Browser

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.

Home button does not work in search textbox

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

Support Code browsing for Shared project

Hello,
I get this message when I try to browse a file in a shared project: Code Browser request cannot be processed

I'm using Visual Studio 2019 with a Winforms project (.NET 4.7.2) but the library contains a Shared project used by our other plateforms.

Regards
DPackShared

Solutions not detected using VS2013 Pro

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:

1

The solution browser opens successfully but appears empty:

2

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

How do you open the File Browser?

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?

Where are the logs being saved when setting "Enable logging"?

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

Visual Studio 2022?

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?

Function list is empty in Code Browser - Methods

I have a C++ Win64 project.
Some project files permanently "lose ability" to list its functions, some files not.

Screenshot 2023-05-09 081818

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.

No more Backup-function???

Hello, do this version have no more backup function??

Kind regards and sorry for posting this as a bug!

Beta period is expired.

DPack Rx 2022, v4.5.0.5
Version is latest.

Thanks for the good extension. We use it every day.

Please fix the time check (or remove it, as Visual Studio is updating when there is a new version).
This check is fairly useless imho.

image

Thanks, regards,
Florian.

File Browser results in double

When using DPack Rx 2022 File Browser in VS 2022, language C#, the results are in double.
image.

I've searched in Windows Explorer : no double.

v4.5.3 does not work with Visual Studio 2022

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:

  • OS: Windows 10 Business 64-bit OS build 19045.2728.
  • Output Type: Windows Application
  • Target Framework .NET Framework 4.8.
  • Language: C#

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.

Cannot find sql files


Hello, how can I find .sql files? In previous version it works perfectly. Now when i try find, result is null. Thank you.

Bookmarks are bound to a specific file

  1. Clearly describe the issue you're having.

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

  1. Provide steps to reproduce the behavior.

Open 2 files
Set a bookmark on first file
Focus the second file
Press the shortcut for navigating to the bookmark -> fail

  1. Indicate the expected behavior.

The IDE should focus on the file containing the bookmark and navigate to it

Thank you :)

Keyboard shortcuts assignment is dissapearing

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.

  1. I start VS2019 on VM1. Everything works fine.
  2. I close VS2019 on VM1.
  3. I start VS2017 on VM2. I'm unable to use keyboard shortcuts for DPack. When I assign them via Tools > Options > DPack > "assign keyboard shortcuts" button, it works fine again.
  4. I close VS2017 on VM2.
  5. I start VS2019 on VM1. Again, I'm unable to use keyboard shortcuts for DPack Rx. When I assign them via Tools > Options > DPack Rx > "assign keyboard shortcuts" button, it works fine again.

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

DPack menu does not appear at visual studio 2019 after installation

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

Code Browser displays nothing in large scale C++ solution.

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:

image

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:

image

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.

File browser not showing files in "solution items" folder

Hi Sergey, hope you're doing well.

  1. The file browser is not showing files in "solution items" folder. I've found this with other solution type folders as well, i.e. the nuget folder.
  2. Add a file to the solution items folder, open file browser, search for the file. I've made sure "show all files" is enabled.
  3. I would expect the file to be found. This has worked in previous versions.

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.

Is there a way to customize the shortcut?

  1. Clearly describe the issue you're having.
  2. Provide steps to reproduce the behavior.
  3. Indicate the expected behavior.
  4. Include a test project, if possible.
  5. Include screenshots, if applicable.
  6. Include DPack's log using Tools|Options -> DPack.
  7. Add any other details you think might be helpful.
  8. Provide your development environment details:
    a. OS type and version
    b. Visual Studio version from Help|About
    c. DPack version from Help|About
    d. Project language you're working with.
    e. Project type you're working with (Win, Web, .NET Core, etc).

Thanks.

Code browser/All members - support for razor files

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.

Port to Visual Studio 2022 preview

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.