code-cleanup
Get rid of Hungarian notation in C# code in automated manner?
I have a large codebase that uses Systems Hungarian for most variable names, which basically means I have lots ofobjQueue\'s, objCommon\'s, dtDataSet\'s et cetera.[详细]
2023-02-12 11:36 分类:问答Is it possible to sort code via Resharper?
CodeRush has this nifty plugin called cr_ClassCleaner that allows me to sort the elements in the class (e.g. 开发者_StackOverflow中文版methods, private variables, etc...).[详细]
2023-02-11 02:25 分类:问答How to find all strings from a list of strings that do NOT appear in any of my source files?
I\'ve got a 开发者_StackOverflowbit of a messy DB. There are a lot of stored procedures that I strongly suspect are not used. I can easily get all their names in a text file, one name per line. Now I[详细]
2023-01-28 17:22 分类:问答Tool that lists all deprecated classes/methods that are no longer used anywhere?
I need to cleanup a some legacy code. Removing unused开发者_开发技巧 code is an important step.[详细]
2023-01-26 06:31 分类:问答What R# setting is reformatting this line?
VS2010 / R#5.1 I have this \"line\" of code: With.Mocks(_mocks).Expecting(() => { _fooServiceMock.Expect(x => x.FooMethod()).Return(fooMockData);[详细]
2023-01-17 04:04 分类:问答source code cleanup
I have working on a web app for almost 2 years now and a lot unnecessary code(c#, html, js, css ) has accumulated in it. I have been trying to clean it up for a while now but with not great success.[详细]
2023-01-14 08:00 分类:问答git - trim whitespace
I\'ve accidentally put some white开发者_JAVA百科space in my initial commit - it shows up red in git diff --color. What\'s the best way to get rid of the existing whitespace and how can I avoid this ha[详细]
2023-01-10 02:19 分类:问答What are VSSVER.SCC files, and can I delete them?
I\'ve inherited a ASP.Net 2.0 (File System) Web Project from a client, where a few different companies have worked on this project in recent years. The project has been handed from one company to the[详细]
2023-01-07 01:36 分类:问答Cleanup Perl code: my $export = $doc; $export =~ s:\.odt:\.pdf:;
Perl code fragment: my $export = $doc; $export =~ 开发者_JAVA技巧s:\\.odt:\\.pdf:; How would this be written cleaner? Not simply what are 900 other ways to write it, TMTOWTDI. [详细]
2023-01-02 11:46 分类:问答Using ReSharper 5.0 in VS 2010 web application project with Telerik controls
When using \"Cleanup Code\" function in ReSharper 5.0, code cleanup removes the aspx page line: Seems like an issue within ReSharper 5.0. Anyone else 开发者_运维知识库having the same issue.[详细]
2022-12-29 16:20 分类:问答