Typescript files not being analysed

Completed

In the latest version of Visual Studio 2019, 16.3.2 at the time of writing, my TypeScript files are not being analysed / have no intellisense by ReSharper.

The only exception I can find to this is the hotkey control + '.' brings up the light bulb with the option to move a method to a new file. If I click the move to new file, the file is correctly analysed and intellisense work correctly.

What can I do to fix this so that all .ts files are analysed instead of just the ones created  through extracting a method to a new file.

9 comments
Comment actions Permalink

Hello,

 

thank you for the feedback.

Could you please specify your ReSharper version?

Is the issue reproduced in some specific solution only or in a newly created also?

Thank you.

0
Comment actions Permalink

Hi,

Thanks for the very quick response. The issue is prevalent in brand new solutions. On my machine this can be quickly reproduced by creating a "Blazor App" project, I use the Server App template and adding a new typescript file. I created a folder called TypeScript and then a file called Test.ts inside. I do this by doing a right click > new item > TypeScript File. I also imported the typescript build NuGet so VS can build the files; Install-Package Microsoft.TypeScript.MSBuild -Version 3.6.3

I think it is the latest version of ReSharper installed. I've attached an image with the version information below.

Do you have any ideas on what could be causing it?

I appreciate the help

0
Comment actions Permalink

Thank you for the reply.

 

Unfortunately, I cannot reproduce the problem.

Could you please provide sample solution demonstrating the problem? You can share it using 'Submit a request' form at the top of the page.

Also please copy VS info from Help | About Microsoft Visual Studio.

Thank you.

0
Comment actions Permalink

Thanks for the reply. I have created what you asked at the link https://resharper-support.jetbrains.com/hc/en-us/requests/2298992 

I appreciate the help.

Best regards

0
Comment actions Permalink

Thanks to Dan we've reproduced the problem - https://youtrack.jetbrains.com/issue/RSRP-476601.

If anyone experiences the same problem with installed Microsoft.TypeScript.MSBuild package please follow the issue updates. As a workaround please disable ReSharper | Options | Environment | General | Read solution model directly.

Thank you.

 

0
Comment actions Permalink

Me and my team experience the same problem after updating to VS 2019.

All typescript files are included

What is the actual solutions to this issue?

 

  <ItemGroup>
<TypeScriptCompile Include="file.ts" />
</ItemGroup>


Version Info:

JetBrains ReSharper Ultimate 2019.3.4 Build 193.0.20200226.112949 built on 2020-02-26
dotTrace 2019.3.20200227.100036
TeamCity Add-in 2019.3.20200227.95406
ReSharper 2019.3.20200227.95333
dotMemory 2019.3.20200227.100031

0
Comment actions Permalink

Hello, K Zander,

 

Could you please specify the exact ReSharper version you are using?

Thanks in advance.

0
Comment actions Permalink
Version Info:

JetBrains ReSharper Ultimate 2019.3.4 Build 193.0.20200226.112949 built on 2020-02-26
dotTrace 2019.3.20200227.100036
TeamCity Add-in 2019.3.20200227.95406
ReSharper 2019.3.20200227.95333
dotMemory 2019.3.20200227.100031
0
Comment actions Permalink

Hello K Zander,

 

Is there any chance you could provide us some sample solution demonstrating the problem? You can share it privately via "Submit a request" form.

Thank you.

0

Please sign in to leave a comment.