Intellisense for Project Elements?

6 posts, 0 answers
  1. Ryan
    Ryan avatar
    2 posts
    Member since:
    Mar 2011

    Posted 29 Mar 2011 Link to this post

    Is visual studio intellisense supported for project elements?

    Whenever I have tried to create a coded step, I dont get intellisense for any of the members of "Pages" or any of the subsequent elements that have been added to the project.

    Have I missed something?
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 29 Mar 2011 Link to this post

    Hi Ryan,
       yes, definitely. Here's a short video where I demonstrate how I use Intellisense in a Coded Step:
    http://www.screencast.com/users/TelerikTesting/folders/Jing/media/f0bb8766-682c-4bd4-8b4b-6fafa28f24af

    Does it work for you if you use the same steps? If it doesn't work for you, this is probably related to your Visual Studio configuration and not to Test Studio per se.

    Hope to hear from you soon!

    All the best,
    Stoich
    the Telerik team
  3. Ryan
    Ryan avatar
    2 posts
    Member since:
    Mar 2011

    Posted 29 Mar 2011 Link to this post

    It would appear as though Resharper v4.1 (v4.1.933.3) cause the intellisense to be lost for the project elements. Intellisense works on the rest of the test code.

    I've just updated Resharper to the latest version 5.1, and it works a little bit better but unfortunately intellisense isn't really usable on project elements still. Which is a shame because Resharper is an essential addon for us.
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 29 Mar 2011 Link to this post

    Hello Ryan,

     This is a known Resharper problem that the folks with Resharper need to work on. See this KB article for details.

    Kind regards,
    Cody
    the Telerik team
  5. Ryan
    Ryan avatar
    2 posts
    Member since:
    Mar 2011

    Posted 30 Mar 2011 Link to this post

    Great shame. Not sure how Resharper can be fixed to include Pages.g.cs code that isnt in the project.
  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 30 Mar 2011 Link to this post

    Hello Ryan,

    I have to believe that there must be a way. My evidence is that within Visual Studio I can highlight an element name e.g. Pages.myPage.myElement, right click and select Go To Definition and this works within Visual Studio. Thus my thinking is that if Visual Studio can do this, why can't ReSharper be fixed to also work with these automatically generated files?

    Best wishes,
    Cody
    the Telerik team
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!