On Friday, 12 August 2022 at 02:13:48 UTC, bachmeier wrote:
Informative error message
I'm making something like an IDE.
The text search function in it is able to search across all user
modules.
I thought about filtering the search results by context.
The following contexts are planned already:
- inside code
- inside comment
- inside string literal
Now I can add:
- inside import declarations
- search inside std
That would help a lot with this type of error message.
I think extending some general std routines is really helpful.
This way I can write code in DLang, copy/paste it into GLSL and
with minimal changes it can work there as well, and vice verse.
The only downside is that when I want to use 3rd party packages:
I have to check and modify them to not harm my overload sets with
their imports.