473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Problems with Refactoring in C# 2005

If a variable name is changed and then the intellisense tool tip from
"Options to update references to the renamed object" -> "Rename "x" to "y"
any XML based comments made for the variable will not be changed, for example
(using C# 2005 beta 2):

<param name="x">nothing</param>
public double foo(double x)
{ return 2*x }

renamed would result in:
<param name="x">nothing</param>
public double foo(double y)
{ return 2*y }

Please excuse any errors in explanation or coding as I am a beginning
programmer.

Thank you for reading this and if there is a better place to post these
types of comments, please direct me
Nov 17 '05 #1
2 1137
Ben,

To report bugs for VS.NET 2005, you can go to:

http://lab.msdn.microsoft.com/produc...k/default.aspx

This is tied into the bug system at MS, so it will get reviewed.

As for your particular issue, there is a checkbox on the dialog box that
comes up that says "Search in comments". Make sure this is checked, and the
XML documentation will be updated as well. As a matter of fact, someone
posted this as a bug on the site referenced above:

http://lab.msdn.microsoft.com/produc...2-7749c4a79517

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ben Enfield" <Be********@discussions.microsoft.com> wrote in message
news:28**********************************@microsof t.com...
If a variable name is changed and then the intellisense tool tip from
"Options to update references to the renamed object" -> "Rename "x" to "y"
any XML based comments made for the variable will not be changed, for
example
(using C# 2005 beta 2):

<param name="x">nothing</param>
public double foo(double x)
{ return 2*x }

renamed would result in:
<param name="x">nothing</param>
public double foo(double y)
{ return 2*y }

Please excuse any errors in explanation or coding as I am a beginning
programmer.

Thank you for reading this and if there is a better place to post these
types of comments, please direct me

Nov 17 '05 #2
Nicholas,

Thank you for your redirection, and I appreciate you for not getting
frusterated at the incorrect location of my bug report.

Ben

"Nicholas Paldino [.NET/C# MVP]" wrote:
Ben,

To report bugs for VS.NET 2005, you can go to:

http://lab.msdn.microsoft.com/produc...k/default.aspx

This is tied into the bug system at MS, so it will get reviewed.

As for your particular issue, there is a checkbox on the dialog box that
comes up that says "Search in comments". Make sure this is checked, and the
XML documentation will be updated as well. As a matter of fact, someone
posted this as a bug on the site referenced above:

http://lab.msdn.microsoft.com/produc...2-7749c4a79517

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ben Enfield" <Be********@discussions.microsoft.com> wrote in message
news:28**********************************@microsof t.com...
If a variable name is changed and then the intellisense tool tip from
"Options to update references to the renamed object" -> "Rename "x" to "y"
any XML based comments made for the variable will not be changed, for
example
(using C# 2005 beta 2):

<param name="x">nothing</param>
public double foo(double x)
{ return 2*x }

renamed would result in:
<param name="x">nothing</param>
public double foo(double y)
{ return 2*y }

Please excuse any errors in explanation or coding as I am a beginning
programmer.

Thank you for reading this and if there is a better place to post these
types of comments, please direct me


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Guenther Schmidt | last post by:
Hi, does anyone know a good PHP IDE with refactoring capabilities? Refactoring meaning things like moving methods around from a subclass into the superclass, renaming methods and local...
15
by: Frans Englich | last post by:
As continuation to a previous thread, "PyChecker messages", I have a question regarding code refactoring which the following snippet leads to: > > runner.py:200: Function (detectMimeType) has too...
9
by: Peter Dembinski | last post by:
I am trying to write Master Thesis on refactoring Python code. Where should I look for information? -- http://www.dembiński.prv.pl
10
by: Chinook | last post by:
OO refactoring trial ==================== Following is a simple trial structure of a refactoring (top-down to OO) learning exercise I'm doing. Whether you call it a Factory pattern, COR pattern,...
4
by: Jack Wright | last post by:
Dear All, I have found some sites on "refactoring" but I would like to know if MS will be integrating some kind of "refactoring" functionality in VS for .Net 2.0? Or do I still have to depend on...
2
by: Sachin Garg | last post by:
Hi, I was trying to find (like many others here) a tool for refactoring C++ code as I have lately been noticing that I spend most of my coding time doing refactoring and some refactoring which...
6
by: Dean Ware | last post by:
Hi, I am part way through developing a C++ application. I am developing it on my own and using VC++ 6.0. I am now at the stage where I wish to start tidying up my code. I have lots of...
6
by: Leandro Berti via DotNetMonster.com | last post by:
Hi All, I wrote a code to do serial communication with an equipament. When i use the code outside of threaded class it seens work properly, but when i put inside a class and execute a thread in...
15
by: Simon Cooke | last post by:
Does anyone know of any tools for refactoring header files? We're using a third party codebase at work, and pretty much every file includes a 50Mb precompiled header file. I'm looking for a tool...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.