Nathan Ridge

Results 1254 comments of Nathan Ridge

The purpose of code completion is to help insert a piece of code you're intending to write. If you want to know what the members of `layer3` are, but do...

On a technical level, a challenge with providing completion items for members of the opaque struct, even if we wanted to, is that this information (the members of the opaque...

I changed the issue title, since I'm pretty sure we would not want to do this using code completion (we only want code completion to insert valid code, or code...

The error "`iostream` file not found" suggests that clangd is not able to find the location of the C++ standard library headers on the filesystem. This is a common problem,...

It's related to #1159, though the fix discussed in #1159 would be specific to code completion, and other editor features would need their own fixes. To illustrate the case of...

> > int main() { > > int arg; > > MACRO1(arg); // semantic token is variable.globalScope > > MACRO2(arg); // semantic token is variable.classScope > > MACRO3(arg); // semantic...

This is a limitation that was known when the "single instantiation" feature was added in [D119537](https://reviews.llvm.org/D119537) (and the inlay hints part in a follow-up in [D120258](https://reviews.llvm.org/D120258)). Sam wrote a prototype...