문제

I have just installed VS 2013 RC2 and TypeScript refactoring stopped working. It disappeared from context menu, and pressing Ctrl+R, Ctrl+R gives the following error message:

The key combination (Ctrl+R, Ctrl+R) is bound to command (.Refactor.Rename) which is not currently available.

I have tried restarting VS, didn't help. Any ideas, workarounds?

Edit: I have submitted a bug to Microsoft. Please upvote it if you have the same issue: https://connect.microsoft.com/VisualStudio/feedback/details/860463/typescript-refactoring-stopped-working-in-vs-2013-rc2

도움이 되었습니까?

해결책

Microsoft posted the following answer to my question on MS Connect. Seems that while refactor/rename was available in VS Express Edition with TypeScript 0.9, in TypeScript 1.0 it's only available from VS Pro upwards.

Posted by Microsoft on 19/05/2014 at 09:25

Thank you for reporting this issue.

Refactor/rename and NavigateTo are features that are found in the Pro+ versions of TypeScript in Visual Studio 2013. The Pro+ tools are aimed at helping users work with larger codebases, so there is a focus on building up tools to help support those codebases in those versions of Visual Studio. We're working to continue to refine to make the experience best across both Express and Pro+, with the right features to help users who want to learn TypeScript and those who want to move to using TypeScript in larger projects.

다른 팁

For me it happened because of resharper conflict. I uninstalled resharper and restarted visual studio

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top