Rename Namespace and ASP.Net
I really like the Rename Namespace feature and it works great. However, in ASP.Net projects it doesn't rename the Inherits attribute in the ASPX page. So this means after I rename a namespace I have to manually change all the inherits in my project.
Please sign in to leave a comment.
Currently ReSharper does not recoghnize ASP.NET pages. This means that it
does not find references from ASP.NET pages to code elements, does not
update them when renaming symbols etc. We plan to support ASP.NET pages but
did not decide about exact time frames of such support.
BTW how many people here would like ASP.NET pages being support by
ReSharper?
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Bryant Likes" <no_mail@jetbrains.com> wrote in message
news:2713535.1083364788299.JavaMail.itn@is.intellij.net...
ASP.Net projects it doesn't rename the Inherits attribute in the ASPX page.
So this means after I rename a namespace I have to manually change all the
inherits in my project.
Valentin Kipiatkov (JetBrains) wrote:
> BTW how many people here would like ASP.NET pages being support by
> ReSharper?
I would very much like to see this. My position requires web application
work, and it would be much more enjoyable with that clean, JetBrain feeling.
Thank you,
-dt
Actually I figured out later that ReSharper did change some of the references in the ASP.Net pages. I would have to do further testing, but it almost seems like it did this in all pages except the ones that were open. So perhaps you almost have another feature done here, just figure out how to make sure you do it on every page.
references in the ASP.Net pages.
I cannot believe that. We don't have any code that changes references in
ASP.NET pages! Can you reproduce that?
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Bryant Likes" <no_mail@jetbrains.com> wrote in message
news:24939722.1083632138739.JavaMail.itn@is.intellij.net...
references in the ASP.Net pages. I would have to do further testing, but it
almost seems like it did this in all pages except the ones that were open.
So perhaps you almost have another feature done here, just figure out how to
make sure you do it on every page.
Hello Valentin,
I would like to see full ASP.NET support, thank you!
-Michael
>> I really like the Rename Namespace feature and it works great.
>> However, in
>>
That were ASP.NET pages themselves, not code-behind files?
--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Bryant Likes" <no_mail@jetbrains.com> wrote in message
news:24939722.1083632138739.JavaMail.itn@is.intellij.net...
references in the ASP.Net pages. I would have to do further testing, but it
almost seems like it did this in all pages except the ones that were open.
So perhaps you almost have another feature done here, just figure out how to
make sure you do it on every page.
It may be possible this could be happening in pages which do not have code-behind ? Just a guess .
I would really love to have the rename feature work in ASP.NET . Currenly renaming public variables in the code behind file does not change the embedded values in the aspx file .
( like
<a href="<%=MenuEditServerMaintTabular%>">Edit Server Maintenance - Tabular</a>)
When you use a refactoring tool, you have to trust that it doesn't break you code. Not supporting ASP.NET could break you code.
If you don't support ASP.NET, you should at least display a big flashing red warning to the developer. "You have chosen the Rename refactoring. This project contains ASP.NET code, the rename refactoring does not support changing ASP.NET code. Please manually make sure that everything works correctly. Thank you and have a nice day". ;)
Sincerely
Jens Peter Grosen.
From my experience users usually try how the tool works before they start to
trust it. Most of the users will tend to check if the tool actually rename
things in ASP pages until they'll rely on that.
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jens Peter Grosen" <no_mail@jetbrains.com> wrote in message
news:28339435.1085466808750.JavaMail.itn@is.intellij.net...
you code. Not supporting ASP.NET could break you code.
>
red warning to the developer. "You have chosen the Rename refactoring. This
project contains ASP.NET code, the rename refactoring does not support
changing ASP.NET code. Please manually make sure that everything works
correctly. Thank you and have a nice day". ;)
>
>