Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Faster error highlights for large projects like Unreal Engine? #9405

Closed
ItsCubeTime opened this issue Jun 4, 2022 · 1 comment

Comments

@ItsCubeTime
Copy link

ItsCubeTime commented Jun 4, 2022

Feature Request

Hi, for a while Unreal Engine have started to offer support for VS Code (they offer a built in extension dedicated towards making the engine more friendly for use with VS Code as ones primary code editor), overall I think writing the code in VS Code gives a nicer experience than VS, with the one exception that it takes a long time for this C++ extension to highlight errors and such even on more powerful machines.

I have an i9-12900K, 32gb of DDR4 (Running Windows 11). For the time being it takes about 10 seconds to pick up for a single line code change with Visual Studio Code, Microsofts C++ extension with default configuration (v.1.9.8)
https://user-images.githubusercontent.com/20190653/172000938-0facdfcd-db7b-40dd-989b-19aefa15069d.mp4

The following settings allowed me some speed improvement, now takes about 4-6 seconds to parse (something Ive noticed is that some times it takes longer than other times? Or at least it feels that way):

    "C_Cpp.codeAnalysis.maxConcurrentThreads": 24,
    "C_Cpp.references.maxConcurrentThreads": 20,
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false
      },
    "editor.quickSuggestionsDelay": 1,
@sean-mcmanus
Copy link
Contributor

This issue should be fixed by #3628 .

It is currently expected that VS will give a better/faster experience for Unreal Engine than VS Code due to that issue.

The C_Cpp.codeAnalysis setting should only effect the Run Code Analysis commands when run over multiple files, and the C_Cpp.references setting should only affect Find All References or Rename, and not IntelliSense update in general.

@sean-mcmanus sean-mcmanus closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants