vapor/vapor

Code does not prompt in Xcode 14.3.1

Muning69 opened this issue · 9 comments

Code does not prompt in Xcode 14.3.1

For example, if an error input throw Abort is thrown, Abort will not prompt. There are still many codes that are not prompted.

mkll commented

@Muning69 You mean code autocompletion in Xcode?

@mkll
Code does not prompt.
For example, if you type throw Abo, It should prompt Abort(). But in Xcode 14.3.1, there is no prompt for the built-in type of Vapor.

vzsg commented
image

Seems to be working fine here.

@vzsg
your Xcode is 14.3.1 ?
if Xcode is 14.3 No problem.
if Xcode is 14.3.1 Existing problems.
I have tried cleaning the Xcode cache file, but it still cannot be resolved.

mkll commented

@Muning69 Why are we discussing Xcode issues in the Vapor repository?

@mkll
I'm not sure if this is an Xcode issue or a Vapor issue.

mkll commented

@Muning69 This issue has been happening since Xcode 13 or even earlier. The weaker your computer and the larger your project, the more likely you are to encounter it.

You say that it is enough to replace Xcode 14.3 with 14.3.1, as the problem arises. The Vapor version remains the same. Why do you think that the cause is Vapor?

P.S. Xcode indexes the source code of the project and after that gets the ability to code completion. In general, neither you, nor I, nor the authors of Vapor can influence this in any way.

@mkll I'm just not sure where the reason lies, I just hope to bring it up and see if it can be resolved. I am still studying Vapor, thank you for your reply.