Visual Studio Commandline Extension [closed] - visual-studio

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 months ago.
Improve this question
Visual Studio's default commandline argument input is pretty horrible if you pass parameters that need to change frequently. (In the startup project properties, under Configuration Properties->Debugging, I am talking about the Command Arguments field).
There absolutely has to be some extension to VS that overrides this behavior, right? Ideally I am looking for a drop-down that keeps a list of the last 10 different commandlines used so it is easy to switch between a few set ups. It would also be nice if this field could be stickied to the toolbar at the top of the program to make it easier to get to and see which arguments are being used at a glance.
Is anyone aware of any improvements like these that exist somewhere? I am using VS 2010. Thanks much!

There's this extension which I've just found while looking for much the same thing: CLIArgsMadeEasy
It's not ideal, as the input box is rather small, but it's definitely better than the usual irritating process.

I believe that you could use the different Solution Configurations for that. I mean the following approach:
Select 'Debug' configuration and set the 'Command Line' parameters in the project properties.
Then switch to 'Release' configuration and set another 'Command Line' parameters, etc.
You can create also additional configurations - go to menu Build -> Configuration Manager and create as much of them as you need.
Hope that helps!

in 2022,we have SmartCommandlineArgs

Related

Annotate code in VS 2010 without changing that code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have just started a new job, and am trying to familiarise myself with a large C# solution, of 330 odd projects. Ideally I would like to attach comments and questions to pieces of code without actually editing the code itself.
Is there a tool I can use to annotate C# source code without actually editing the code itself. Ideally I would like a 'bubble' type comment mechanism, similar to how MS Word shows comments in a a document.
you can add bookmarks to lines of files of a solution. In vs2010 there is a view that shows all bookmarks and you can give tem names and sort them in bookmarkfolders.
On studio 2010, with your desired Project open, hit "Ctrl+W, T" (or View->Task List). This window can both be used to view in-code comments (which is not what you want) using the //TODO: comment prefix, or to view your own independente "User Tasks" (view the dropdown options), and it is saved per project. With this list indicating your descriptions and bookmarks id... you can have a very efective freeway to what you want without ever changing source. Hope it helps.
It may well be overkill for your needs, but Atlassian's FishEye can be used to exactly what you're after - in the form of a source code review.
You could create more than one review, as your understanding of the code improves.
See https://www.atlassian.com/software/fisheye/overview. Note that it sits on top of a source control system (it supports Subversion, CVS, Perforce, Git, and Mercurial). Even if your code is not managed in one of these, it would be trivial to set one up for this purpose.
It also as the advantage of integrating your comments with those of other in your team ... and, of course, being usable for real reviews!

Automatic refactoring tools? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a tool that will scan your code and suggest which refactoring to perform, based on duplicate code segments that it finds?
Let's say I'm specifically interested in C#/Java, but I'm open for tools in other languages as well.
We use Teamcity with duplicate finder
I haven't used it, but Clone Doctor might work for you.
For Java you have static code review tools to search for violations of a set of chosen rules, with some of the rules covering code duplication. Checkstyle has rules to find duplicate code and duplicate string literals. Another option is the PMD's Copy/Paste Detector.
These tools don't do refactoring themselves, but can help you find code that might need changes.
For Haskell, there's hlint, which proposes concrete refactorings (i.e. the resulting code), which is possible because of referential transparency.
For your need, Designite could be a useful tool. This is a software design quality assessment tool. It takes C# code, analyzes it and detects design smells in the code. At the same time, it also provides a few but important OO metrics.

Looking for a class cleaner/formatter plug in for visual studio [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Looking for a class cleanup/formatting plug-in for visual studio. Using ReSharper, but looking for something that will allow me to position members. i.e. private members at the top of the class, constructors next etc.
Anyone know of something that offers this?
Cheers
download dxcore and classCleaner and you can format your code anyway you like. if you do decide to customise classcleaner you are likely to get hooked.....
From the looks of it, the StyleCop plugin for ReSharper will do this if you run Code Cleanup. In particular, it has fixes for StyleCop Rule SA1201 specifying ordering.
ReSharper will allow you to control where members are placed in the file during code cleanup.
Take a look at:
ReSharper | Options | Languages | C# | Type Members Layout
http://www.jetbrains.com/resharper/features/screenshots/40/automatic_member_layout_full.png
Deselect Use Default Patterns to enable the textbox beneath. This allows you to specify, in great detail, what should go where.
The downside is that it takes a while to get your head around the notation used in the specification.
I believe this option is only available for C# code.

Tool to generate GUI for command line program [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a program that semi-automatically builds a GUI for a Windows command line program.
That is, I want to give it an arbitrary command line program and somehow describe its usage ("It takes a list of filenames, and the --foo and --bar options followed by a string") and it will create a new GUI wrapper program that allows selection of files with a "Browse" dialog box and has text boxes for foo and bar.
I remember having tried a program like this before, but I don't remember what is was called and google fails to remind me.
Are you talking about Gumbie?
Gumbie highlights:
In theory at least, Gumbie allows you to build a GUI without ever using a GUI. It's the GUI hater's GUI builder...
Gumbie provides reasonable defaults for the handling of a number of events, such as windowClosing.
Gumbie comes with some features (e.g., layers) that facilitate the creation of GUIs for text-stream based command line software.
The main module of Gumbie offers support for building java applications that can also be run as java applets within netscape or MS IE.
Here's an example.

Utility to search through VS projects looking for string [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Can anone recommend a tool for searching my visual studio projects folders to find a specific string value?
I have many solutions / projects stored in either the d:\VS2005 or the d:\VS2008 folder depending on the VS version used to create the project. I'm looking for a string and do not have the foggiest idea which project or solution it is in. Any suggestions?
CTRL+SHIFT+F and change Look-in to be c:\path\to\your\code.
Edit: Or, from the command line in the root of where you want to search:
d:\> findstr /spin /c:"STRING-YOU-ARE-LOOKING-FOR" *.*
Or *.cc or *.h or whatever you want to look through.
Entrian Source Search is a Visual Studio add-in that does exactly this. (Full disclosure: I'm the author.)
I use WinGrep.
Since "Visual Studio 2010" version Edit.FindinFiles:
Displays the In Files tab of the Find and Replace dialog box.
This is the most handy search as it can search through project, solution and similar combination with reference or without.
Keyboard shortcut is : CTRL+SHIFT+F
More on MS designers, shares and editors

Resources