Giter Site home page Giter Site logo

microsoft / vs-ppt Goto Github PK

View Code? Open in Web Editor NEW
882.0 84.0 146.0 10.36 MB

Productivity Power Tools - a set of Visual Studio extensions improving developer productivity.

Home Page: http://aka.ms/extendvs

License: Other

C# 74.77% Smalltalk 0.73% Batchfile 0.02% Rich Text Format 24.49%

vs-ppt's Introduction

Visual Studio Productivity Power Tools

Gitter

Productivity Power Tools is a set of Visual Studio extensions improving developer productivity.

Install Productivity Power Tools

Install the latest official build of Productivity Power Tools for Visual Studio 2015 from the VS Gallery.

Source code

Get started

Contribute!

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Productivity Power Tools VS2017

For Visual Studio 2017, the individual components of Productivity Power Tools have been broken into separate extensions. You can download them here:

vs-ppt's People

Contributors

alexander-efremov avatar boredbone avatar justcla avatar kirsan31 avatar ky7m avatar magnificus36 avatar mgradwohl avatar microsoft-github-policy-service[bot] avatar msftgits avatar olegtk avatar prnadago avatar timsneath avatar ymukavozchyk 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vs-ppt's Issues

"Remove and Sort Usings on save" feature not working on some projects

Travis Illig reported:
"In a project using the new DNX build system targeting dnx46, the "Remove and Sort Usings on save" PowerCommand doesn't actually do anything on document save for any of the C# class files in the project. Same thing for "Format document on save" - saving does not result in the document being formatted.

The features do work as expected for other project types."

Localization

Hi, would you condiser add localization support for VSPPT? It seems the project source code contains all resx files for localization, and how can we provide localized resources for VSPPT? Thank you :-)

Better shortcut detection for GoTo Navigation

A few days ago I submitted another issue (#23), but now
I actually found out what I find so annoying about the current behavior.

The check whether the Control button is pressed is only done when releasing the mouse button. So when pressing the left mouse button (and holding it down), then pressing Control, and only then releasing the mouse button, GoTo still attempts to fire. This often (for me at least) fails to find suitable tokens for navigation, especially often when selecting text or using line-based Copy&Paste etc. IMO it should only fire if Control is pressed on mouse down.

Some (extension) tabs loose their pinned state on and on

I pinned some tabs like:

  • Entrian Source Search Window
  • Output (only during debug session)

Those windows always loose their pinned state (even with disabled custom document well).

Do you have a chance to fix it for the custom document well?

Cheers,

Martin

Ctrl + Click Go To Definition wrongly mapped

Greetings,
In the current release for VS2015 v14.0.23120.0 the Ctrl + Click Go To Definition option is mapped to "Peek Definition".
This is not the same as "Go To Definition" which is by default mapped to the F12 key.

Save settings to shared profile

Related to my comment about Presenter Mode shared settings, I think it would be really useful for the PPT settings to be saved in such a way that they're shared via the 2015 profile feature between different machines.

That way if I pave my workstation, or just start using another computer all my settings will be synchronized automatically and I won't have to go in to Tools | Options on each machine to set things just how l like it. (This might also go some way to resolving an existing bug where every time you upgrade to the latest PPT, it forgets all your existing settings).

Peek F1 does not support documentation from NuGet packages

Some NuGet packages, such as TunnelVisionLabs.Threading and TunnelVisionLabs.Net.UriTemplate have detailed API documentation published (here and here, respectively). Unfortunately, neither the standard F1 help nor the Peek F1 feature provide assistance for users working with these libraries.

It would be a tremendous benefit to both users and library authors if there were an easy way to expose this kind of SHFB documentation such that Peek F1 can locate the online documentation as soon as the user installs the NuGet package into their project.

VS2015 ignoring PPT settings

My installation of PPT in VS2015 has started ignoring its settings. For example, I have Custom Document Well and Syntactic Line Compression turned off, but those extensions are still running (i.e., tabs appear colored and braces appear smaller).

I have tried restarting VS, as well as uninstalling and reinstalling PPT.

"Locate in solution explorer" context menu action for opened file in editor tabs

If I can remember this feature was in VS pro command tools(VS2010). But I can't find it around anymore. It would be great to have this "feature" included for upcoming releases.

  1. Easily locate the opened files in solution explorer. This feature helps a lot in large solutions when specially doing code reviews.
  2. It can also be enhanced to Locate in Source explorer if solution/project is bound with source control.

Add CI build

Add CI build, i.e. using AppVeyor (or something else).

This will also allow pull requests to be automatically verified, etc.

Custom Document Well - "Place tabs on the left" and pinned tabs behavior

With the Custom Document Well option set to Left:
(Productivity Power Tools 2015, VS2015 Update 3)

cdwleft

pinned tabs use more space than necessary by introducing a second column:

cdwpinnedtab

Is this intended?

I prefer the previous version where the pinnded tabs were placed directly above each other.
(The following screenshot is from Productivity Power Tools 2012)

cdwpinnedtab_old

Can't install your extension in new VS"15"Preview

Hi,

Installed product versions

  • Visual Studio: [15 Preview]

Description

At build 2016 Microsoft released Visual Studio 15 Preview.
There are some extensions that work there, but some that are not even searchable in "Extensions and Updates". Yours is one of those that are not searchable and not installable.

Steps to recreate

  1. Install Visual Studio 15 Preview: https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx (Visual Studio "15" Preview with new installer)
  2. Open VS15Preview
  3. Open Extensions and Updates
  4. Click on Online in the menu
  5. Search for Productivity Power Tools
  6. Your extension doesn't pop up

Current behavior

Your extension is not searchable in new Visual Studio 15 Preview

Expected behavior

Your extension should or could be also in VS15Preview :)

Steps to fix

As I am writing this, one of other extension makers already fixed this issue for his extension here:
cpmcgrath/codealignment#43

You only need to add these:

<VisualStudio Version="15.0">
    <Edition>Pro</Edition>
    <Edition>Community</Edition>
</VisualStudio>

into your .vsixmanifest file into section <SupportedProducts> and it should work. :)

Regards.

System.InvalidOperationException occurring in StructureVizualizer

Notes from Martin Lemburg:

Sorry, but there is a seldom occuring exception in the StructureVisualizer:

System.InvalidOperationException:
Stack empty.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at Microsoft.PowerToolsEx.BlockTagger.Implementation.CodeBlock.Context(BlockColoring coloring, TextRunProperties properties)
at Microsoft.VisualStudio.PowerTools.StructureVisualizer.StructureAdornmentManager.PreprocessMouseMove(MouseEventArgs e)
at Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.<>c__DisplayClass37_0.<UIElement_MouseMove>b__0(IMouseProcessor p)
at Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.<>c__DisplayClass56_1.b__0()
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

"Remove and Sort Usings on save" removes imports made for documentation

The feature "Remove and Sort Usings on save" removes imports that are used to shorten the xml docs.

Example:

using Foo.Bar.Generic;

namespace Foo.Bar
{
  // <summary>For a generic version, see <see cref="Baz{T}" />.</summary>
  public class Baz
  {
  }
}

On save, the using directive is removed, making the xml comment invalid. Only workaround is to write the fully qualified

namespace Foo.Bar
{
  // <summary>For a generic version, see <see cref="Foo.Bar.Generic.Baz{T}" />.</summary>
  public class Baz
  {
  }
}

Disabling "Show Close Button" for tabs disables the pin button as well.

In the options menu, under Productivity Power Tools => Custom Document Well => General, there is an option to hide the close button on tabs.

Expected behavior: Close button is hidden
Actual behavior: Close button and pin button are both hidden.

I think this started at VS2015. I noticed a long time ago but I thought it was some other extension conflict and didn't report.

Edit: I didn't look hard enough, it looks like that extension isn't actually in this repository, is this still the right place to report a bug? I can't find anything else from the gallery page.

Suppress "Cannot navigate to …" error dialog for Goto Definition

Sometimes I miss-click, or click on something while still having a finger on Ctrl. This always results in the popup dialog informing me I "Cannot navigate to the symbol under the caret". I find this dialog more disrupting than helpful and it would be nice to be able to disable it.

Time stamp issue

The time stamp with miliseconds is not exact.
The following is debug output. They all have same time stamp.
...
07:50.170 >>>
07:50.170 <<< 1 ms
07:50.170 >>>
07:50.170 <<< 35 ms
07:50.170 >>>
07:50.170 <<< 7 ms
07:50.170 >>>
07:50.170 <<< 6 ms
07:50.170 >>>
07:50.170 <<< 6 ms
07:50.170 >>>
07:50.170 <<< 7 ms
07:50.170 >>>
07:50.170 <<< 6 ms
...

Why Custom Document Well is not included there?

This subset represents extensions which we believe can serve as great real world samples of extending Visual Studio.

I'm googling for a few hours and still can't find how to customize Document Well with an extension. All extensions that do that are closed source and it's hard to find help on that topic. Please consider open sourcing that function or at least a help article describing how to customize it.

Custom Document Well: Incorrect or unexpected tab coloring

Environment:
Windows 10 64bit
Visual Studio 2015 Professional
Productivity Power Tools 14.0.23120.0

To Reproduce
General -> Tab Appearance: Disable color tabs by project
General -> Tab Appearance: Enable color tabs by regular expression
Advanced -> Colors and Gradients -> Selected tab: VS Colors

  1. Create at least one tab colored by regex
  2. Select the colored tab
  3. Select anything that will make the colored tab lose focus (such as a different tab group)

Issue
After losing focus the colored tab should display some variant of the regex color (such as the one used when 'Default' is picked instead of 'VS Colors'), or there should be an option to do so. Instead, the unfocused, selected tab uses Visual Studio's coloring. This is a slight variant of the default VS tab color.

Feature request: sort selected lines

Many times while working in C++ projects I want to sort my include directives:

#include <windows.h>
#include <tchar.h>

becomes

#include <tchar.h>
#include <windows.h>

There are many other occasions when working with text files where sorting the selected lines would be very handy as well.

Give me a command that will take the selected lines in the text editor and sort them.

Brace Lines

Running Visual Studio 2015 Update 3... sometime after Update 3 the lines drawn between braces... isn't displaying anymore.

I've disabled/re-enabled addons, removed all but PPT... nothing works.
VS2015ActivityLog.zip

Visual Studio 2015 - Solution Error Visualizer - TSLint

Using Productivity Power Tools in Visual Studio 2013 a TypeScript file that violated tslint rules would be underlined in red in Solution Explorer (when the Web Essentials option to "Set Warnings as errors for TypeScript" is set to true).

Is there a way of switching this on in VS 2015?

I have installed Productivity Power Tools 2015, Web Essentials 2015 and Web Analyzer and if I open a file that has TSLint violations it shows the details in the error list, however the file is not underlined in red in Solution Explorer.

P.S. If there is a compile error the red underline is shown as expected

image

image

image

Make Go To Definition modifier key configurable

I really like the idea of the mouse clickable "Go to Definition", however I use Ctrl+Click to select a whole word so often that I always have to disable this feature. I would like to make this configurable so that I could make the modifier key into the Alt key. I would be more than happy to add this feature myself if you approve it. :)

Thanks for open sourcing this great tool!

Peek Ctrl+CLICK window does not close

Greetings. Long time user of your great tool!

VS 2015 PRO - SP3

Having an issue with the Peek option when CTRL+Clicking. The peek window appears; however when closing the window, it does not go away - it basically has a small progress bar on the top border of the peek window and color de-saturates. Only way to get rid of it is to close the document.

Attempting to CTRL+Click the same definition again, while this is happening (or the peek window is open) produces an error:

VALUE CANNOT BE NULLL. PARAMETER NAME: KEY

Then VS will occasionally throw an error asking to check the activity log (attaching)
vs activty log.pdf

Power Commands removes used usings of WF activities

We enabled the cleanup functionality "Remove and Sort Usings on save" in Power Commands.

We created WF activities and we test them in unit test classes. But the usings of the WF activities are removed at each saving the files although the activity is used.

Detect Ctrl+Click only on mouse-down (not on mouse-up)

When for exaple i do a control+c i often find myself doing this sequence:
left mouse down
control down
c down
c up
left mouse up -> here the goto definition gets triggered
control up

This happens very often...would it be possible to disable the trigger on mouse up ?

PowerTools disabled without notice

The PowerTools are suddenly disabled without any error in VS. When I reenable them, they seem to function properly. I have not found yet, why they keep becoming disabled. Please let me know if I need to provide further details.

Align Assignments shortcut messes with square brackets on some keyboard layouts

Hi,

This is an old one, but I just ran into it again by installing the PPT plugin in VS2015.
What happens is that the shortcut for Align Assignments is set to Ctrl-Alt-^.
On a Belgian keyboard however, this is what you have to press to get an opening square bracket.
Let me tell you. It's rather annoying if that doesn't end up working anymore when you're typing code. :)

I killed the shortcut and disabled the feature, but it might be better if the mapping could be set to something else when not on a US keyboard.

PowerShell Tools Compatibility

PowerShell projects (via PowerShell Tools) fail to load when PPT Solution Error Visualizer is enabled. I assume other non-standard project types would be affected but I don't use other project types via 3rd-party extensions.

Remove useless references

It would be better if we can not only remove useless namespaces in our codes, but useless references as well in our project.

PPT Extension keeps getting disabled

As reported by Jero9999 on PPT2015 Q&A page on Visual Studio Gallery:
I am having trouble because the Productivity Power Tools 2015 extension keeps getting disabled each time I start VS.
I think this started happening after having installed the most recent update to VS itself. I don't recall an update for PPT extension itself.
VS update would be an incremental update to VS update 3. Came down in the latter half of July I think. (sorry I can't be more accurate than that)

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.