ReSharper In An Unreal Engine Project Giving Wrong Errors - c++

I know about this question. However, I tried every single answer and none of them worked.
I just created a new Unreal Engine Project, and enabled ReSharper. When I created a new Actor class, it's showing errors with red squiggly lines, even though I can run it just fine. Why is this happening? I disabled code analysis squiggles, like the documentation said.

I finally found the answer. You have to go to the Unreal Editor, and click File | Refresh Visual Studio Project. Then when you open Visual Studio it won't show the errors.

Related

Visual Studio Intellisense only operates on the current Startup Project

Visual Studio Intellisense is bugging out and only works on my current startup project.
I'm in the process of building a multi-project solution and as of earlier today Visual Studio decided that Intellisense would stop colour coding and providing information about code that I hover over with my mouse.
this is happening in all files within the solution apart from the single one in my current Startup Project.
I'm unsure whether the fact that that file is inside the startup project is important or not or what at all caused the bug to begin the first place.
I've been searching around for a while and tried just about every 'solution' that has come up.
I've changed the relevant settings off and on again.
I've deleted the dynamic .suo file in the hidden .vs folder.
I've reopened the files, visual studio, updated, made sure intellisense wasn't doing something in the background.
Apparently this bug can be caused by a corrupt .ncb file that lives in the solution directories, but I've failed to locate a file with that extension anywhere.
I'm also not using any extensions or such that mess with Intellisense's operation.
Are there any other possible things to try (hopefully not reinstalling) or just continue writing code in black and white?
Intellisense working:
Intellisense not working:
Maybe you can check your intellisense setting in Tools > Options > Text Editor > C/C++:
This is a document about intellisense in C++. Hope it can help you.
If it doesn't work you can try to Reset all setting in Tools > Import and export settings. Or try to repair visual studio in visual studio installer.
If the above methods don't work, maybe you can only try to reinstalle visual studio.

Visual Studio 2017 shows IntelliSense errors on unreal engine 4 projects

I working on a unreal engine 4.20 project, I compile my project successfully, but show many IntelliSense errors.
I searched in the google and stackoverflow. I deleted .vs folder .suo file and unload/load the project. also I installed Windows Universal CRT SDK and Windows 8.1 SDK/Windows 10 SDK but still have problem.
Even I create new first person unreal engine project, It show me huge IntelliSense errors while i can compile project without any errors.
What is problem? how can fix that?
Errors sample is here:
In epic's docs it's mentioned that intellisense could detect false errors because the intellisense system is too slow to scan all the files of the project and the engine. The solution suggested in the docs is to hide the intellisense errors and to only inspect the errors which are displayed by the compiler output. You can do this by setting the dropdown to Build.
For more information visit https://docs.unrealengine.com/4.26/en-US/ProductionPipelines/DevelopmentSetup/VisualStudioSetup/

Missing Microsoft.VisualStudio.Component.VC.Tools.x86.x64

I installed Visual Studio 2017 recently. Today, when I tried to create a new C++ Win32 Console Application project, it shows me the New Project wizard again and again. It also displays the following error.
Project 'ConsoleApplication8' could not be loaded because it's missing install components. To fix this launch Visual Studio setup with the following selections:
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
I don't know whether this is a pre-existing problem when I installed Visual Studio , because this is the first time that I attempted to create a C++ console app.
I wanted to reinstall Visual Studio, but unfortunately my DVD is broken. So I need to find another solution.
I've finally resolve problem. thanks Ken White to ensure me.
I ran Setup then click modify and select following mentioned Items. Then I just wait a few minutes.

Start Recording for Microsoft Coded UI Test 2017 is not selectable

I am just begining to learn about Coded UI test. Since it is still 2017, I figure Visual Studio 2017 is the best version I can try. Having a Visual Studio Enterprise license I decided to try it out. Turns out I have it installed even. Great. There are lots of tutorials that all seem to start the same way:
Start a new coded UI test builder project in Visual Studio.
generate coded ui test using test builder.
When the test builder pops up, most of the buttons on the tool including the record button are not selectable. There must be a configuration issue or a problem with my proceedure. What could be going wrong?
It is possible that there are other answers to this question, but one resolution to the issue seems to be that I origionally launched the project by selecting Coded UI test project from the installed node of the tree view for launching a project... When I launched a new project from the C# language sub node, then it worked. This seems like a bug to me. Now when I try to repeat launching a new project from the installed node nothing happens.
So now that I select the selectable recording button it tells me to restart the computer. Thats fine... OK: it appears to be working.

My ReSharper Gutter Icons for Unit Tests aren't showing

I've installed ReSharper 4.1 and Gallio 3.0.5, but I don't get the gutter icons for unit tests. The tests seem to run fine in the Test Explorer, but I don't have icons next to the tests in code. What could be causing this? I previously had the MbUnit 2.4 ReSharper plugin installed, but it should be uninstalled now.
I did this to get them to show up again. Maybe it was an overkill.
Uninstall ReSharper
Uninstall Gallio
Delete %appdata%\JetBrains folder
Install ReSharper
Start Visual Studio
Close Visual Studio
Install Gallio
Start Visual Studio
I think the key was deleting the %appdata%\JetBrains folder, because there could have been some old plugin files in there.
Another really late answer here, but if you don't have Resharper Code Analysis enabled then the gutter icons won't show up. Had to help a teammate figure this out yesterday.
Maybe a bit long ago, but if someone stumbles on this question...
I had the same problem with Resharper 2016.2
Resharper -> Options -> Code Inspection -> Settings
In my case the project containing the unit test was listed in the "Files and folders" list under "Elements to skipp". After I had removed the project, the icon appeared again.
using Visual Studio 2017, fixed mine using the Code Analysis icon in the upper right corner of the code window missing the gutter test icons.
The analysis was suspended because of the large test file. Had to hit resume twice, then icons finally reappeared.
I've had this issue a number of times when doing clean installs. Sometimes the gallio-resharper plugin installs perfectly, sometimes it does not. I tried the steps above to no avail.
I found this link: http://confluence.jetbrains.net/display/ReSharper/Deploying+plugin
And did the following
Created a Plugins folder in "C:\Program Files (x86)\JetBrains\ReSharper\v5.1\Bin\"
Copied the resharper plugin files from GallioBundle-3.3.458.0.zip\bin\ReSharper into this folder
Suspended and resumed resharper in Visual Studio 10 by using the button in Tools|Options|Resharper
After this, the plugin got enabled.
I am running W7x64 professional.
Hope this can be of help to other people as well. :-)
Suspend and Resume Resharper may work. It was working for me.
Try the following steps, they worked for me,
Open the Resharper installer
check if any item is asking for repare, if yes then click on install.
Now open visual studio and go to resharper option
if the first option is "why dot cover is diabled", click on it.
and enable the dot cover by either taking the free trial or logging in with your resharper id.
It will take few seconds to refresh
You will get back those icons for running or debugging unit test.