You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decided to take a look at the framework and experienced some issues with VisualStudio (both MSVC\Clang) and Visual Code IDE.
After the first adapter intellisense has issues in guessing the return type which makes developing inconvenient or mostly impossible.
The code compiles just fine but no type guessing, so not possible to look for methods etc.
As I understand this is purely intellisense issue but does anyone know of a way to fix this?
The text was updated successfully, but these errors were encountered:
I've just been playing with Flux in VS Code (I normally use CLion), and unfortunately you're absolutely right. From what I can tell, VS's Intellisense doesn't like any use of the CRTP "derived" class name in constraints on base class member functions.
For example, the declaration of filter in inline_sequence_base is:
It seems like it's the use of the name Derived in the constraint here that is tripping things up. Other methods which don't have constraints in this style (e.g. stride() or take()) seem to work okay.
This looks like a bug in VS's Intellisense rather than anything we're doing wrong in Flux, but it's quite an annoying one! Hopefully it will be sorted at some point but in the mean time I'll leave this open in case anyone else knows of a workaround.
For anyone else having a problem with this, the clangd extension for VSCode is an alternative language server implementation providing type information, code completion etc that seems much better (and quite a bit faster) than the default provider that comes with the C/C++ extension. In particular, it seems like it works well with Flux so I suggest giving it a try if you can.
Decided to take a look at the framework and experienced some issues with VisualStudio (both MSVC\Clang) and Visual Code IDE.
After the first adapter intellisense has issues in guessing the return type which makes developing inconvenient or mostly impossible.
The code compiles just fine but no type guessing, so not possible to look for methods etc.
As I understand this is purely intellisense issue but does anyone know of a way to fix this?
The text was updated successfully, but these errors were encountered: