Visual Studio
Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: http://connect.microsoft.com/visualstudio.
ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.
We look forward to hearing from you!
Thanks – Deon Herbert
Visual Studio Team
-
2 votes
-
Implement IsCancel and IsDefault properties on Windows.UI.Xaml.Controls.Button
In WPF, buttons on a form or popup can be specified as IsCancel to close the control with the Esc key or IsDefault to close the window with the Enter key. This ability has been around in Windows UI frameworks for some time, but it is not present in Metro style apps. I would like to see this common pattern implemented so that developers won't feel the need to roll their own version of it.
54 votes -
null-non-coalescing operator
Introduce a new operator which allows a method to return null if the object is null, or some value where it's not. This is a common use case.
e.g. currently you often see code such as below:
string GetZipCode(Person person)
{
return person == null ? null : person.homeAddress == null ? null :
person.homeAddress.postcode;
}A better approach would be
string GetZipCode(Person person)
{
return person?.homeAddress?.postcode;
}I've found other users looking for the same; this is also where I got the Groovy syntax from:
http://stackoverflow.com/questions/2929836/is-there-an-opposite-to-the-null-coalescing-operator-in-any-language27 votes -
Implement 'var' type inference for lambda expressions in C# similar to equivalent functionality in VB.Net
VB.Net allows local variables to be initialized with a lambda expressions using type inference, as long as the parameter types are specified. For example:
Dim f = function(x as Integer) x = 1
In this case 'f' is inferred to have an anonymous function type described as "<Function(Integer) As Boolean>" that can be implicitly cast to any matching delegate type, such as Predicate(Of Integer) or Func(Of Integer, Boolean).
Currently C# does not support this functionality. That is to say, the line:
var f = (int x) => x == 1;
results in a compile error (Cannot assign lambda expression to…
8 votes -
Methods returning arrays should return an empty array instead of null
Introduce a new standard whereby any methods returning an array result return an empty array rather than null if no items exist.
An example where this does not happen is the System.IO.DirectoryInfo.GetDirectories() method.
I've included below code for an extension method which works around this issue to illustrate the behaviour I'd expect.
public static class DirectoryInfoExtensions
{
public static DirectoryInfo[] GetDirectoriesX(this DirectoryInfo item)
{
return item.GetDirectories() ?? new DirectoryInfo[0];
}
}1 vote -
People Picker does not work with local NT accounts
When installing SharePoint 2010 and configuring it to use local NT accounts, the People Picker does not provide any search and resolve capabilities for local NT accounts. Instead, the People Picker should work the same for local NT accounts as it does for Active Directory accounts.
1 vote -
Control version for classes instead of sourcefiles
I'd rather put my classes under version control than sourcefiles. Sourcefiles that contain one or more classes that should be taken under source control should get parsed and only the classes itself should be versioned, The sourcefiles that are just containers for the classes should be thrown away. If one wants to continue developing a project, give him the class he/she wants to edit into VS, a "source file" is not needed for editing. The same is valid for new classes. Let the class be created in VS, added to the source control system e. g. TFS and give it…
1 vote -
.Net Framework :: FileSystemInfo :: HasAccess Method
Add a method called HasAccess to the FileSystemInfo class. This method would tell you whether a user has permisssions to a file or directory without needing to try and catch exceptions. By default this would check that the current user has PathDiscovery permissions, but these parameters could also be specified.
An example use case: Explorer windows in applications.
By allowing coders access to this information, they can specify a different icon for non-accessible files/folders, users are then less likely to get surprises at runtime. I admit permissions may change at runtime so exception handling is still required, but showing the…1 vote -
TFS work item can output word format document
TFS work item can output word format document,because developer require this document by customer confirm
1 vote -
Allow a Controller Level LoadTestPlugin for Global Parameters
Take this scenario;
You are running a large test which needs to spread over X amount of Agents.
You may need to switch between web servers in the future as other versions of the web applications may be hosted elsewhereWouldn't it be nice if a form could be initiated at the controller level to select which server to use (it could extend to all sorts of global parameter settings). Then this builds an app.settings file (or adds to it) which can be deployed with the rest of the items for the agents to use
Currently I have only managed…
4 votes -
Be able to easily add custom fields in any item screen for data entry - bugs, etc...
Need ability to add custom fields, custom tabs, with text fields, drop down selections, radio buttons, etc... like in Sharepoint
3 votes -
make tabs highlight / bold based on information already entered there
When viewing an existing item, have the tabs be colored/bold if there has been information entered during creation of the item
1 vote -
add zoom to embedded html pages in the IDE
The start page, embedded internet explorer pages, and even the results page from unit tests are all HTML pages.
Unlike any other source file, HTML pages ignore zoom changes using CTRL-Mousewheel. Please make the embedded HTML renderer act as the internet explorer 9.
1 vote -
Have the ability to make [currentuser] as a valid value in TFS work items
Cater for situations where users can only assign either themselves or members of a predefined group to work items.
<ALLOWEDVALUES not="[project]\ResourceManagers" expanditems="true">
<LISTITEM value="[project]\DefaultAssignee" />
<LISTITEM value="[currentuser]" />
</ALLOWEDVALUES>1 vote -
Allow office365 authentication instead of passport/windows live ID.
It would be nice if the service could use the office 365 authentication. We are running our company via microsoft services and ideally I'd like to manage a single set of identities.
While it's possible to create passports out of the office365 identities - it seems like a silly extra step. If we are managing our business using a suite of tools from Microsoft's wheelhouse - those tools should work together.
30 votes -
TFSWeb Access can be configured to open new tabs rather than new windows
Allow TFSWeb Access to be configured to open new tabs rather than new windows
1 vote -
Make Source Control Explorer work like windows explorer
It is really annoying, and kind of silly that I can't drag and drop files in source control explorer if I want to move them. I have to move them by typing in a dialog box, and better yet, we have to move them one at a time, which is an obvious waste. Since Source Control Explorer is trying to emulate windows explorer, it should have basic filesystem operations in place.
2 votes -
Improve reference dialog regarding Project and Assembly reference
When adding a new file/assembly reference, VS should detect that this file is output from another project part of my solution and suggest a project reference instead. This will reduce potential problems with multiple platform and configuration builds.
38 votes -
Include an option to display RowNumber in datagrid
At the moment, a seemingly simple thing that Clients ask for is not a straight forward to implement in LightSwitch. There still is no clear cut way to implement this that works with paging and sorting.
21 votes -
TFS should have some alerts setup by default
I believe out the box some TFS alerts should be setup. For example anything which can be assigned to a person should get an alert by default.
6 votes
- Don't see your idea?