Check SLOC and flag methods over 300 lines long [closed] - c#

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
Is there a way I can configure Visual Studio to automatically scan my source code for methods that are over (eg) 300 lines long so that they can be flagged for review (with an aim to refactoring to smaller methods)
I expect any such technique may be language independant, but ideally I'd like to run this over C# code.

Why dont you use some code counter tools which you can search in google for.
http://www.google.com/search?hl=en&source=hp&q=code+counter+tools&aq=f&aqi=&aql=&oq=&gs_rfai=
Is there anything specific you are looking for. Why stopping with 300. Are you developing some contest where you would like to restrict people from writing more than 300 lines of code. Anyway be more clear so that we can help you.
I use this one and i find it very useful.
http://www.codeproject.com/KB/applications/codecounter.aspx

Related

Prettier extension, but for C# [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 9 months ago.
Improve this question
I've got used to VSC clean up my code, while working with React. Now that I'm using C#, I'm not able to find anything like prettier for this language. I'm looking for some way of setting up my VSCode to do this for me, stuff like: removing white spaces, adding semicolons after each end of the code snippet, broke the lines if the code line was too long (like a long array or parameters). Is there any way for that or was it just one of bonuses of writing in javascript?
Resharper, Code Maid Probably others as well

C# bot, that can instantly buy released item [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 2 years ago.
Improve this question
is it even possible to make a bot in C# (windows forms), that would work like when Supreme release new items, the bot would instantly buy them? If anyone has any ideas please share them, thanks!
The answer is - yes, it surely is possible.
First of all you have to think about logging in on the site
Afterwards you have to have a link on where these drops appear and pass it to the code
Finally you need to just implement a automatic checkout system.
It will require a bit of work and time to do it.
There are already some projects made for this kind of websites.
You can check this link: https://github.com/jg-fisher/supreme-bot
It has an automatic checkout (providing personal details in the checkout form).
Also some bigger project of chrome extension - https://github.com/Paulowarren31/Supreme-Bot
I advise you to get suggestions from there and build your own program.

How to convert .Net comments in RST format into HTML? [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
In Linux there're many tools to read and convert the comments in code into a HTML/PDF document. I am now working on a .Net project, and I am wondering if we have similar tools to convert the comments in .Net code into a HTML/PDF document?
I tried Google, but did not give me any useful result :( Maybe I am not search with the right keywords.
You might want to look at Sandcastle: http://broadcast.oreilly.com/2010/09/build-html-documentation-for-y.html
Sandcastle is a tool that generates HTML / Visual Studio help bundles based on your code comments and actual code itself.
It's relatively easy to use once you get it set up.
But beware! Big projects can cause OutOfMemoryExceptions.

Get a graphical representation of a C# code logic - method calls hierarchy [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
My actual work consists in some refactoring/code cleanup of parts of a big C# project.
To allow a better understanding of the code logic, and so wich part of the code could be refactorized, I imagine a good way could be to see "graphically" wich methods call wich methods.
If this a good approach ?
And if yes, Is there such a tool ?
The top of the top would be a free tool but if it don't exists, i could make an effort ^^
I came across DebuggerCanvas and something like this but automatic (like using DebuggerCanvas and go into ALL the methods would be the idea)
Thank's by advance.
The Code Map functionality added to VS 2012 in Update 1 may be beneficial for this. It does provide a "canvas" type of functionality which shows how methods are called by other methods.

Suggestions for a good Content Formatting Library [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 7 years ago.
Improve this question
I am trying to implement a content formatting feature in my website - that is, I want to let my users type for example [b]bold[/b] or (like SO) * * bold * * and end up with bold. I also want support for headers, links, images etc.
The more I'm working on this, the more I feel like I'm reinventing the wheel. If possible, I would like to find an OpenSource library that I could use, or at least "borrow" from. So my question is:
What content formatting library do you recommend? Why?
Stack Overflow uses Markdown, for which there are many open source formatting libraries available.

Categories