microsoft / vs-ppt Goto Github PK
View Code? Open in Web Editor NEWProductivity Power Tools - a set of Visual Studio extensions improving developer productivity.
Home Page: http://aka.ms/extendvs
License: Other
Productivity Power Tools - a set of Visual Studio extensions improving developer productivity.
Home Page: http://aka.ms/extendvs
License: Other
Visual studio 2015 always encounters an err when removing a project from a solution.
Microsoft Visual Studio
Visual Studio has encountered an unexpected error.
OK
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.
It would be better if we can not only remove useless namespaces in our codes, but useless references as well in our project.
97 @"<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.0 Transitional//EN"">
should be
<!DOCTYPE html>
per https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Introduction_to_HTML5
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!
Comment from Martin Lemburg:
Since using high-contrast-mode (yellow text/black window background), the popup shown hovering over the vertical block guide lines shows invalid coloring:
See screenshot of issue: https://db.tt/OchaLlWM
The not syntax-highlighted text is black on black and so invisible.
Any fix possible?
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.
Why would you make something like this a default setting?
http://stackoverflow.com/questions/38391613/active-tab-fixed-to-the-left-in-visual-studio
http://stackoverflow.com/questions/38465816/visual-studio-active-tab-moves-left
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
Hi,
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.
Your extension is not searchable in new Visual Studio 15 Preview
Your extension should or could be also in VS15Preview :)
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.
I think the title is self explanatory
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 :-)
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.
Add CI build, i.e. using AppVeyor (or something else).
This will also allow pull requests to be automatically verified, etc.
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.
Inside the CopyAsHTML should specify the character set used, likely
<meta charset="utf-8">
as per https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Introduction_to_HTML5
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
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."
A suggestion: the 'syntactic line compression' feature should compress comment lines that consist only of opening or closing tags for xml documentation:
In the example below, it would compress the first and third lines (but not the second):
/// <summary>
/// Interaction logic for InformationBar.xaml
/// </summary>
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).
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.
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
{
}
}
Desperately need moar unit tests.
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
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.
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.
I pinned some tabs like:
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
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.
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.
Despite it being pure C# code, my source files in MVC projects do not format or remove usings on save.
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.
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.
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.
Suggestion from Percy Lin:
Is it possible to make pinned tabs remain pinned after double-click them to maximize windows?
Thanks a lot.
Visual Studio crashes a lot when debugging and just copying paste, says preparing copying, and have already disabled html copy...
please help
"Remove and sort usings on save" and "format document on save" don't work on .NET Core projects.
Are there any workarounds?
Those are the main reasons why i use PPT...
When tabs are colored based on project, it is hard even after the latest changes to quickly identify the selected tab.
Can the user be allowed to define the color of the selected tab.
Can an option be added to color BOLD and RED the Closing X on the selected tab?
Such as "Build" or "Tests".
Usecase: we're trying to find out why building a certain solution takes forever.
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.
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)
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
With the Custom Document Well option set to Left:
(Productivity Power Tools 2015, VS2015 Update 3)
pinned tabs use more space than necessary by introducing a second column:
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)
I should be able to turn a PPT feature on and off and it shouldn't need a restart from Visual Studio to take effect.
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
...
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 ?
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)
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.
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.