1. Create new empty WebForm with a default form runat="server" id="form1". 2. form1 is seen by ReSharper IntelliSense as it should in code behind file. 3. Add some control (e. g. asp:textbox runat="server" id="btnSubmit"). 4. btnSubmit is not seen (closing/opening doesn't help). The VS IntelliSense after some time (couple of seconds) "catches" newly created control, but R# doesn't.
1. Create new empty WebForm with a default form runat="server" id="form1". 2. form1 is seen by ReSharper IntelliSense as it should in code behind file. 3. Add some control (e. g. asp:textbox runat="server" id="btnSubmit"). 4. btnSubmit is not seen (closing/opening doesn't help). The VS IntelliSense after some time (couple of seconds) "catches" newly created control, but R# doesn't.
Thanks for Your feedback. Some more questions:
Have You created control in designer or typed in? What VS version do You use?
Immediately after the form is created, R# does not work over file due to some missing events from VS.It is indicated by absence of gutter at the right edge of the editor frame. In the case if You type, R# does not get any notification, BUT if You CLOSE the file and REOPEN it, R# will get the necessary notification and start working over the file. In the case typing will be processed properly.
Moreover, if You type "<asp:textbox runat=server id=my" and hit ctrl+space, You'll get it autocompleted to myTextBox.
Yeah, seems to be that way, but there's one remark:
after being reopened the code behind still doesn't "catch up" created controls. Switching between code behind/html makes no sense (the gutter's already in place in html view), but... typing a letter somewhere in html view makes code behind "catch" controls.
So may be it's possible to update code behind not on typing something but on opening the file?
Yeah, seems to be that way, but there's one remark:
>
after being reopened the code behind still doesn't "catch up" created controls. Switching between code behind/html makes no sense (the gutter's already in place in html view), but... typing a letter somewhere in html view makes code behind "catch" controls.
>
So may be it's possible to update code behind not on typing something but on opening the file?
There was a bug in incremental reparse. I'm not sure, whether its fix is included into build 210 or not.
Same here
Best Regards,
---
Laurent Kempé - laurent.kempe@techheadbrothers.com
Tech Head Brothers - http://www.TechHeadBrothers.com
Blog - http://weblogs.asp.net/lkempe
Shimon,
What version of VS do You use?
What is 'Build Action' type of your .aspx.cuss files?
What happens if You close and reopen the file?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:dls3mf$u1e$1@is.intellij.net...
>
VS2005 - Release.
Compile
No Changes.
>
some investigations:
1. Create new empty WebForm with a default form runat="server" id="form1".
2. form1 is seen by ReSharper IntelliSense as it should in code behind file.
3. Add some control (e. g. asp:textbox runat="server" id="btnSubmit").
4. btnSubmit is not seen (closing/opening doesn't help). The VS IntelliSense after some time (couple of seconds) "catches" newly created control, but R# doesn't.
Anton,
>
Thanks for Your feedback. Some more questions:
Have You created control in designer or typed in?
What VS version do You use?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
typed in
VS 2005 final team suite + R# build 210
Anton,
Immediately after the form is created, R# does not work over file due to
some missing events from VS.It is indicated by absence of gutter at the
right edge of the editor frame. In the case if You type, R# does not get any
notification, BUT if You CLOSE the file and REOPEN it, R# will get the
necessary notification and start working over the file.
In the case typing will be processed properly.
Moreover, if You type "<asp:textbox runat=server id=my" and hit ctrl+space,
You'll get it autocompleted to myTextBox.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yeah, seems to be that way, but there's one remark:
after being reopened the code behind still doesn't "catch up" created controls. Switching between code behind/html makes no sense (the gutter's already in place in html view), but... typing a letter somewhere in html view makes code behind "catch" controls.
So may be it's possible to update code behind not on typing something but on opening the file?
Anton,
>
>
There was a bug in incremental reparse. I'm not sure, whether its fix is
included into build 210 or not.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"